Changeset 3598 for extensions/piclens/admin
- Timestamp:
- Jul 16, 2009, 12:37:15 AM (15 years ago)
- Location:
- extensions/piclens/admin
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/piclens_admin.php
r3410 r3598 40 40 l10n('piclens_3dwallconfig_tab'), 41 41 $my_base_url.'&tab=piclenswallconfig'); 42 $tabsheet->add('piclenswallconfig2', 43 // 'Configugation PiclensWall', 44 l10n('piclens_3dwallconfig2_tab'), 45 $my_base_url.'&tab=piclenswallconfig2'); 42 46 $tabsheet->select($page['tab']); 43 47 $tabsheet->assign(); -
extensions/piclens/admin/piclenswallconfig.php
r3536 r3598 17 17 $me = get_plugin_data($plugin_id); 18 18 19 $template->set_filenames( array('plugin_admin_content' => PICLENS_ROOT.'/admin/piclenswallconfig.tpl') ); 19 $template->set_filenames( 20 array('plugin_admin_content' => PICLENS_ROOT.'/admin/piclenswallconfig.tpl' 21 ) ); 20 22 23 21 24 22 25 if (isset($_POST['submit'])) { 23 26 $me->my_config['piclens_wall'] = isset($_POST['piclens_wall']); 24 27 $me->my_config['piclens_wall_title'] = $_POST['piclens_wall_title']; 25 $me->my_config['piclens_wall_color'] = $_POST['background_color'];26 28 $me->my_config['piclens_wall_height'] = $_POST['piclens_wall_height']; 27 29 $me->my_config['piclens_wall_categories'] = isset($_POST['categories']) ? 28 30 array_map("mysql_escape_string", $_POST['categories']) : 29 31 array(); 32 30 33 $me->my_config['piclens_wall_nav'] = isset($_POST['piclens_wall_nav']); 31 34 $me->my_config['piclens_wall_cat_nav_replace'] = isset($_POST['categories_nav']) ? … … 35 38 $me->my_config['piclens_wall_ontop'] = isset($_POST['piclens_wall_ontop']); 36 39 $me->my_config['piclens_wall_oncat'] = isset($_POST['piclens_wall_oncat']); 37 $me->my_config['piclens_wall_showembed'] = isset($_POST['piclens_wall_embed']);38 $me->my_config['piclens_wall_showfullscreen'] = isset($_POST['piclens_wall_fullscreen']);39 $me->my_config['piclens_wall_showsearch'] = isset($_POST['piclens_wall_search']);40 $me->my_config['piclens_wall_showsearch'] = isset($_POST['piclens_wall_search']);41 $me->my_config['piclens_wall_transparent'] = isset($_POST['piclens_wall_transparent']);42 40 43 41 $me->my_config['piclens_wall_spec'] = isset($_POST['piclens_wall_spec']); … … 49 47 50 48 $me->my_config['piclens_wall_swflocal'] = isset($_POST['piclens_wall_swflocal']); 51 $me->my_config['piclens_wall_nb_ligne'] = $_POST['piclens_wall_nb_ligne'];52 49 53 50 if ($pwgstuff_ok && $me->my_config['piclens_wall']) … … 71 68 } 72 69 73 //$template->assign('PICLENS_COPY_CROSSDOMAIN', file_exists($filename) ? l10n('piclens_label_crossdomain1') : '<input type="checkbox" name="crossdomain_copy" /> '.l10n('piclens_label_crossdomain2'));74 75 //$template->assign('PICLENS_COPY_CROSSDOMAIN', file_exists($filename));76 77 //$template->assign('PICLENS_PWGSTUFF', $pwgstuff_ok ? 'disabled="disabled"' : '');78 //$template->assign('PICLENS_PWGSTUFF1', $pwgstuff_ok ? l10n('piclens_label_pwgstuff1'): l10n('piclens_label_pwgstuff2'));79 80 //$template->assign('PICLENS_WALL_ACTIVATED', $me->my_config['piclens_wall'] ? 'checked="checked"' : '' );81 82 //$template->assign(array($me->my_config['piclens_wall_color'].'_CHECKED' => 'checked="checked"'));83 //$template->assign(array($me->my_config['piclens_wall_specif'].'_CHECKED' => 'checked="checked"'));84 //$template->assign(array('PICLENS_WALL_HEIGHT' => $me->my_config['piclens_wall_height']));85 86 //$template->assign('CROSSDOMAIN_LNK', PICLENS_PATH.'crossdomain.xml');87 88 70 $query = ' 89 71 SELECT id,name,uppercats,global_rank … … 100 82 true); 101 83 102 //$template->assign('PICLENS_WALL_ONTOP', $me->my_config['piclens_wall_ontop'] ? 'checked="checked"' : '' );103 //$template->assign('PICLENS_WALL_ONCAT', $me->my_config['piclens_wall_oncat'] ? 'checked="checked"' : '' );104 84 105 //$template->assign('PICLENS_WALL_EMBED', $me->my_config['piclens_wall_showembed'] ? 'checked="checked"' : '' );106 //$template->assign('PICLENS_WALL_FULLSCREEN', $me->my_config['piclens_wall_showfullscreen'] ? 'checked="checked"' : '' );107 //$template->assign('PICLENS_WALL_SEARCH', $me->my_config['piclens_wall_showsearch'] ? 'checked="checked"' : '' );108 85 109 //$template->assign('PICLENS_WALL_NAV', $me->my_config['piclens_wall_nav'] ? 'checked="checked"' : '' );110 //$template->assign('PICLENS_WALL_TITLE', $me->my_config['piclens_wall_title']);111 112 //$template->assign('PICLENS_WALL_SPEC', $me->my_config['piclens_wall_spec'] ? 'checked="checked"' : '' );113 114 //$template->assign('PICLENS_WALL_SPEC', $me->my_config['piclens_wall_spec'] ? 'checked="checked"' : '' );115 //$template->assign('PICLENS_WALL_SPEC_RECENTPICS', $me->my_config['piclens_wall_spec_recentpics'] ? 'checked="checked"' : '' );116 //$template->assign('PICLENS_WALL_SPEC_RECENTCATS', $me->my_config['piclens_wall_spec_recentcats'] ? 'checked="checked"' : '' );117 //$template->assign('PICLENS_WALL_SPEC_MOSTVISITED', $me->my_config['piclens_wall_spec_mostvisited'] ? 'checked="checked"' : '' );118 //$template->assign('PICLENS_WALL_SPEC_BESTRATED', $me->my_config['piclens_wall_spec_bestrated'] ? 'checked="checked"' : '' );119 //$template->assign('PICLENS_WALL_SPEC_FAVORITES', $me->my_config['piclens_wall_spec_favorites'] ? 'checked="checked"' : '' );120 86 121 87 $template->assign(array( … … 124 90 'PICLENS_PWGSTUFF1' => ($pwgstuff_ok ? l10n('piclens_label_pwgstuff1'): l10n('piclens_label_pwgstuff2')), 125 91 'PICLENS_WALL_ACTIVATED' => ($me->my_config['piclens_wall'] ? 'checked="checked"' : '' ), 126 $me->my_config['piclens_wall_color'].'_CHECKED' => 'checked="checked"',127 92 $me->my_config['piclens_wall_specif'].'_CHECKED' => 'checked="checked"', 128 93 'PICLENS_WALL_HEIGHT' => $me->my_config['piclens_wall_height'], … … 130 95 'PICLENS_WALL_ONTOP' => ($me->my_config['piclens_wall_ontop'] ? 'checked="checked"' : '' ), 131 96 'PICLENS_WALL_ONCAT' => ($me->my_config['piclens_wall_oncat'] ? 'checked="checked"' : '' ), 132 'PICLENS_WALL_EMBED' => ($me->my_config['piclens_wall_showembed'] ? 'checked="checked"' : '' ),133 'PICLENS_WALL_FULLSCREEN' => ($me->my_config['piclens_wall_showfullscreen'] ? 'checked="checked"' : '' ),134 'PICLENS_WALL_SEARCH' => ($me->my_config['piclens_wall_showsearch'] ? 'checked="checked"' : '' ),135 'PICLENS_WALL_TRANSPARENT' => ($me->my_config['piclens_wall_transparent'] ? 'checked="checked"' : '' ),136 97 'PICLENS_WALL_NAV' => ($me->my_config['piclens_wall_nav'] ? 'checked="checked"' : '' ), 137 98 'PICLENS_WALL_TITLE' => $me->my_config['piclens_wall_title'], … … 143 104 'PICLENS_WALL_SPEC_BESTRATED' => ($me->my_config['piclens_wall_spec_bestrated'] ? 'checked="checked"' : '' ), 144 105 'PICLENS_WALL_SPEC_FAVORITES' => ($me->my_config['piclens_wall_spec_favorites'] ? 'checked="checked"' : '' ), 145 'PICLENS_WALL_SWFLOCAL' => ($me->my_config['piclens_wall_swflocal'] ? 'checked="checked"' : '' ), 146 'PICLENS_WALL_NB_LIGNE' => $me->my_config['piclens_wall_nb_ligne'] 106 'PICLENS_WALL_SWFLOCAL' => ($me->my_config['piclens_wall_swflocal'] ? 'checked="checked"' : '' ) 147 107 )); 148 149 108 150 109 $template->assign_var_from_handle( 'ADMIN_CONTENT', 'plugin_admin_content'); -
extensions/piclens/admin/piclenswallconfig.tpl
r3536 r3598 79 79 80 80 <tr> 81 <td align="right">{'piclens_wallcfg_color'|@translate} </td>82 <td><input type="radio" name="background_color" value="dark" {$dark_CHECKED}> {'piclens_wallcfg_colorB'|@translate}</td>83 </tr>84 <tr>85 <td align="right"></td>86 <td><input type="radio" name="background_color" value="white" {$white_CHECKED}> {'piclens_wallcfg_colorW'|@translate}</td>87 </tr>88 <tr>89 81 <td align="right">{'piclens_wallcfg_heigh'|@translate} </td> 90 82 <td><input type="text" size="3" maxlength="3" value="{$PICLENS_WALL_HEIGHT}" name="piclens_wall_height"> px</td> 91 </tr>92 <br>93 <tr>94 <td align="right"> {'piclens_wallcfg_option'|@translate} </td>95 <td>96 <input type="checkbox" name="piclens_wall_embed" {$PICLENS_WALL_EMBED}/> {'piclens_wallcfg_option-opt1'|@translate}97 <br>98 <input type="checkbox" name="piclens_wall_fullscreen" {$PICLENS_WALL_FULLSCREEN}/> {'piclens_wallcfg_option-opt2'|@translate}99 <br>100 <input type="checkbox" name="piclens_wall_search" {$PICLENS_WALL_SEARCH}/> {'piclens_wallcfg_option-opt3'|@translate}101 <br>102 <input type="checkbox" name="piclens_wall_transparent" {$PICLENS_WALL_TRANSPARENT}/> {'piclens_wallcfg_transparent'|@translate}103 <br/>104 {'piclens_wallcfg_nbligne'|@translate} <input type="text" size="2" maxlength="2" value="{$PICLENS_WALL_NB_LIGNE}" name="piclens_wall_nb_ligne"> 105 <br/>106 </td>107 83 </tr> 108 84 <br> … … 126 102 </td> 127 103 </tr> 104 128 105 </TABLE> 129 106 </fieldset> -
extensions/piclens/admin/rssfeed.php
r3536 r3598 20 20 21 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 $order_list = array(l10n('piclens_label_orderPiwigo'), l10n('piclens_label_orderCreDate'), l10n('piclens_label_orderAddDate'), l10n('piclens_label_order Average'), l10n('piclens_label_orderBest'), l10n('piclens_label_orderName'), l10n('piclens_label_orderID'), l10n('piclens_label_orderRand'), l10n('piclens_label_orderCat'), l10n('piclens_label_orderRank'));22 $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 23 //$sort_list = array('Defaut Piwigo', 'Croissant', 'Decroissant'); 24 24 $sort_list = array(l10n('piclens_label_sortPiwigo'), l10n('piclens_label_sortUp'), l10n('piclens_label_sortDown')); … … 29 29 $normal_list = array(l10n('piclens_label_TypeTN'), l10n('piclens_label_TypeNorm'), l10n('piclens_label_TypeHigh')); 30 30 //$nameformat_list = array('Nom vignette : taille', 'Nom vignette', 'Nom de l\'image'); 31 $nameformat_list = array(l10n('piclens_label_Name1'), l10n('piclens_label_Name2'), l10n('piclens_label_Name3') , l10n('piclens_label_Name4'));31 $nameformat_list = array(l10n('piclens_label_Name1'), l10n('piclens_label_Name2'), l10n('piclens_label_Name3')); 32 32 //$descformat_list = array('Rien', 'Nom de l\'image', 'Description de l\'image'); 33 33 $descformat_list = array(l10n('piclens_label_Desc1'), l10n('piclens_label_Desc2'), l10n('piclens_label_Desc3'));
Note: See TracChangeset
for help on using the changeset viewer.