Changeset 3619 for extensions/piclens/admin
- Timestamp:
- Jul 17, 2009, 7:41:22 PM (15 years ago)
- Location:
- extensions/piclens/admin
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/config.php
r3410 r3619 59 59 $me->my_config['piclens_bestrated_active'] = isset($_POST['piclens_bestrated_active']); 60 60 $me->my_config['piclens_favorites_active'] = isset($_POST['piclens_favorites_active']); 61 $me->my_config['piclens_tags_active'] = isset($_POST['piclens_tags_active']); 61 62 62 63 $me->my_config['piclens_recursive_mode'] = $_POST['recursive_mode']; … … 67 68 } 68 69 69 //$template->assign('PICLENS_ACTIVATED', $me->my_config['piclens_active'] ? 'checked="checked"' : '' );70 //$template->assign('PICLENS_RECURSIVE_ACTIVATED', $me->my_config['piclens_recursive'] ? 'checked="checked"' : '' );71 //$template->assign('PICLENS_GALLERIE_ACTIVATED', $me->my_config['piclens_gallerie_active'] ? 'checked="checked"' : '' );72 73 70 // Affichage des coix miniature possibles pour la recursivite de l'option 'Activer gallerie' 74 71 $i=1; … … 78 75 $i++; 79 76 } 80 //$template->assign('PICLENS_GALLERIE_TYPE', $me->my_config['piclens_gallerie_type']);81 82 //$template->assign('PICLENS_LITE_ACTIVATED', $me->my_config['piclens_lite_active'] ? 'checked="checked"' : '' );83 84 //$template->assign('PICLENS_SECUREIMAGE', get_db_plugins('active','secureImages'));85 //$template->assign('PICLENS_SECUREIMAGE_ACTIVATED', $me->my_config['piclens_secureimage'] ? 'checked="checked"' : '' );86 87 //$template->assign('PICLENS_EXTENDEDDESC', get_db_plugins('active','ExtendedDescription') );88 //$template->assign('PICLENS_EXTENDEDDESC_ACTIVATED', $me->my_config['piclens_extendeddesc'] ? 'checked="checked"' : '' );89 90 //$template->assign('PICLENS_RECENTPICS_ACTIVATED', $me->my_config['piclens_recentpics_active'] ? 'checked="checked"' : '' );91 //$template->assign('PICLENS_RECENTCATS_ACTIVATED', $me->my_config['piclens_recentcats_active'] ? 'checked="checked"' : '' );92 //$template->assign('PICLENS_MOSTVISITED_ACTIVATED', $me->my_config['piclens_mostvisited_active'] ? 'checked="checked"' : '' );93 //$template->assign('PICLENS_BESTRATED_ACTIVATED', $me->my_config['piclens_bestrated_active'] ? 'checked="checked"' : '' );94 //$template->assign('PICLENS_FAVORITES_ACTIVATED', $me->my_config['piclens_favorites_active'] ? 'checked="checked"' : '' );95 77 96 78 $template->assign(array( … … 109 91 'PICLENS_BESTRATED_ACTIVATED' => ($me->my_config['piclens_bestrated_active'] ? 'checked="checked"' : '' ), 110 92 'PICLENS_FAVORITES_ACTIVATED' => ($me->my_config['piclens_favorites_active'] ? 'checked="checked"' : '' ), 93 'PICLENS_TAGS_ACTIVATED' => ($me->my_config['piclens_tags_active'] ? 'checked="checked"' : '' ), 111 94 $me->my_config['piclens_recursive_mode'].'_CHECKED' => 'checked="checked"', 112 95 'ICON_INFO' => PICLENS_ADMIN_PATH . 'info.png', -
extensions/piclens/admin/config.tpl
r3410 r3619 102 102 <input type="checkbox" name="piclens_recentcats_active" {$PICLENS_RECENTCATS_ACTIVATED}/> {'piclens_recentcats_label'|@translate} 103 103 <br/> 104 <input type="checkbox" name="piclens_tags_active" {$PICLENS_TAGS_ACTIVATED}/> {'piclens_tags_label'|@translate} 105 <br/> 104 106 105 107 </TD> -
extensions/piclens/admin/piclenswallconfig.php
r3598 r3619 45 45 $me->my_config['piclens_wall_spec_bestrated'] = isset($_POST['piclens_wall_spec_bestrated']); 46 46 $me->my_config['piclens_wall_spec_favorites'] = isset($_POST['piclens_wall_spec_favorites']); 47 $me->my_config['piclens_wall_spec_tags'] = isset($_POST['piclens_wall_spec_tags']); 47 48 48 49 $me->my_config['piclens_wall_swflocal'] = isset($_POST['piclens_wall_swflocal']); … … 104 105 'PICLENS_WALL_SPEC_BESTRATED' => ($me->my_config['piclens_wall_spec_bestrated'] ? 'checked="checked"' : '' ), 105 106 'PICLENS_WALL_SPEC_FAVORITES' => ($me->my_config['piclens_wall_spec_favorites'] ? 'checked="checked"' : '' ), 107 'PICLENS_WALL_SPEC_TAGS' => ($me->my_config['piclens_wall_spec_tags'] ? 'checked="checked"' : '' ), 106 108 'PICLENS_WALL_SWFLOCAL' => ($me->my_config['piclens_wall_swflocal'] ? 'checked="checked"' : '' ) 107 109 )); -
extensions/piclens/admin/piclenswallconfig.tpl
r3598 r3619 139 139 <br/> 140 140 <input type="checkbox" name="piclens_wall_spec_recentpics" {$PICLENS_WALL_SPEC_RECENTPICS}/> {'piclens_recentpics_label'|@translate} 141 <br/> 142 <input type="checkbox" name="piclens_wall_spec_tags" {$PICLENS_WALL_SPEC_TAGS}/> {'piclens_tags_label'|@translate} 141 143 142 144 </TD> -
extensions/piclens/admin/rssfeed.php
r3614 r3619 19 19 $me = get_plugin_data($plugin_id); 20 20 21 //$order_list = array('Defaut Piwigo', 'Date de Creation', 'Date d\'ajout', 'Note Moyenne', 'Plus vues', 'Nom du fichier', 'Id', 'Aléatoire', 'Catégories');22 21 $order_list = array(l10n('piclens_label_orderPiwigo'), l10n('piclens_label_orderCreDate'), l10n('piclens_label_orderAddDate'), l10n('piclens_label_orderRank'), l10n('piclens_label_orderBest'), l10n('piclens_label_orderName'), l10n('piclens_label_orderID'), l10n('piclens_label_orderRand'), l10n('piclens_label_orderCat')); 23 //$sort_list = array('Defaut Piwigo', 'Croissant', 'Decroissant');24 22 $sort_list = array(l10n('piclens_label_sortPiwigo'), l10n('piclens_label_sortUp'), l10n('piclens_label_sortDown')); 25 23 26 //$thumb_list = array('Miniature', 'Normal');27 24 $thumb_list = array(l10n('piclens_label_TypeTN'), l10n('piclens_label_TypeNorm')); 28 //$normal_list = array('Miniature', 'Normal', 'High');29 25 $normal_list = array(l10n('piclens_label_TypeTN'), l10n('piclens_label_TypeNorm'), l10n('piclens_label_TypeHigh')); 30 //$nameformat_list = array('Nom vignette : taille', 'Nom vignette', 'Nom de l\'image'); 26 31 27 //$nameformat_list = array(l10n('piclens_label_Name1'), l10n('piclens_label_Name2'), l10n('piclens_label_Name3')); 32 //$descformat_list = array('Rien', 'Nom de l\'image', 'Description de l\'image');33 28 //$descformat_list = array(l10n('piclens_label_Desc1'), l10n('piclens_label_Desc2'), l10n('piclens_label_Desc3')); 34 29 … … 61 56 $me->my_config['piclens_rss_name'] = $_POST['piclens_rss_name']; 62 57 $me->my_config['piclens_rss_desc'] = $_POST['piclens_rss_desc']; 58 $me->my_config['piclens_exclude_double'] = isset($_POST['piclens_exclude_double']); 63 59 64 60 … … 147 143 $template->assign('PICLENS_RSS_NAME', $me->my_config['piclens_rss_name']); 148 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"' : '' ); 149 146 150 147 -
extensions/piclens/admin/rssfeed.tpl
r3614 r3619 134 134 </TD> 135 135 </TR> 136 <TR> 137 <TD > 138 - <input type="checkbox" name="piclens_exclude_double" {$PICLENS_EXCLUDE_DOUBLE}/> {'piclens_rsscfg_exclude_double'|@translate} 139 </TD > 140 <TD colspan="2"> 141 </TD> 142 </TR> 136 143 137 144 </TABLE>
Note: See TracChangeset
for help on using the changeset viewer.