Ignore:
Timestamp:
Jul 20, 2009, 7:35:50 PM (15 years ago)
Author:
tiico
Message:

Add index.php file into directory
Add CHANGELOG and clean header files
Add 'last comments' option for name and descriptions (%ID option)
Add maintain.inc.php for migration to 0.4.x (name and description translation)
Complete Chinese translation (thanks winson)

  • Correct the latests commit (3636 & 3637 were not complete)
Location:
extensions/piclens/admin
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • extensions/piclens/admin/config.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier config.php  *********/
     4 * File :  config.php 
     5 */
     6
    117
    128if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     
    9793        ));
    9894
    99 //$template->assign('ICON_INFO' , PICLENS_ADMIN_PATH . 'info.png');
    100  
    10195 
    10296$template->assign_var_from_handle( 'ADMIN_CONTENT', 'plugin_admin_content');
  • extensions/piclens/admin/functions.inc.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier fonctions.inc.php  *********/
     4 * File :  fonctions.php 
     5 */
     6
    117
    128
  • extensions/piclens/admin/piclens_admin.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier piclens-admin.php  *********/
     4 * File :  piclens-admin.php 
     5 */
    116 
    127if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     
    4136               $my_base_url.'&tab=piclenswallconfig');
    4237$tabsheet->add('piclenswallconfig2',
    43 //               'Configugation PiclensWall',
     38//               'Configugation PiclensWall2',
    4439                                l10n('piclens_3dwallconfig2_tab'),
    4540               $my_base_url.'&tab=piclenswallconfig2');
  • extensions/piclens/admin/piclens_copy.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier piclens-copy.php  *********/
     4 * File :  piclens-copy.php 
     5 */
    116
    127if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
  • extensions/piclens/admin/piclenswallconfig.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier piclenswallconfig.php  *********/
     4 * File :  piclenswallconfig.php 
     5 */
    116
    127if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
  • extensions/piclens/admin/piclenswallconfig2.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier piclenswallconfig2.php  *********/
     4 * File :  piclenswallconfig2.php 
     5 */
    116/* Advanced configuration for embeded wall
    127
  • extensions/piclens/admin/rssfeed.php

    r3637 r3645  
    22/*
    33 * Plugin Name: CoolIris-Piclens
    4  * Version: 0.3.4
    5  * Description: Cooliris/Piclens activation
    6  * Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=234
    7  * Author: Tiico
    8  * Author URI:
    9  * */
    10 /********* Fichier rssfeed.php  *********/
     4 * File :  rssfeed.php 
     5 */
    116
    127
     
    5752  $me->my_config['piclens_rss_desc'] = $_POST['piclens_rss_desc'];
    5853  $me->my_config['piclens_exclude_double'] = isset($_POST['piclens_exclude_double']);
     54  $me->my_config['piclens_maxcomment_nb'] = $_POST['piclens_maxcomment_nb'];
    5955   
    6056
     
    139135}
    140136*/
    141 $template->assign('PICLENS_VIDEO', $me->my_config['piclens_video'] ? 'checked="checked"' : '' );
    142 $template->assign('PICLENS_CAT_VIEW', $me->my_config['piclens_cat_view'] ? 'checked="checked"' : '' );
    143 $template->assign('PICLENS_RSS_NAME', $me->my_config['piclens_rss_name']);
    144 $template->assign('PICLENS_RSS_DESC', $me->my_config['piclens_rss_desc']);
    145 $template->assign('PICLENS_EXCLUDE_DOUBLE', $me->my_config['piclens_exclude_double'] ? 'checked="checked"' : '' );
     137$template->assign(array(
     138        'PICLENS_VIDEO'         =>  $me->my_config['piclens_video'] ? 'checked="checked"' : '',
     139        'PICLENS_CAT_VIEW'      => $me->my_config['piclens_cat_view'] ? 'checked="checked"' : '',
     140        'PICLENS_RSS_NAME'      => $me->my_config['piclens_rss_name'],
     141        'PICLENS_RSS_DESC'      =>  $me->my_config['piclens_rss_desc'],
     142        'PICLENS_EXCLUDE_DOUBLE'        =>  $me->my_config['piclens_exclude_double'] ? 'checked="checked"' : '',
     143        'PICLENS_MAXCOMMENT_NB'         => $me->my_config['piclens_maxcomment_nb'],
     144        ));
    146145
    147146
  • extensions/piclens/admin/rssfeed.tpl

    r3637 r3645  
    217217                 <td> &nbsp; </td>
    218218          </tr>
     219          <tr>
     220                 <td> <b>%ID</b> : <input type="text" size="1" maxlength="1" value="{$PICLENS_MAXCOMMENT_NB}" name="piclens_maxcomment_nb" /> {'img_comment_legend'|@translate} </td>
     221                 <td> &nbsp; </td>
     222                 <td> &nbsp; </td>
     223          </tr>
    219224        </table>
    220225
Note: See TracChangeset for help on using the changeset viewer.