Changeset 7229
- Timestamp:
- Oct 16, 2010, 5:36:55 PM (14 years ago)
- Location:
- extensions/Autosize
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/admin/template/admin.tpl
r7124 r7229 106 106 107 107 </fieldset> 108 108 109 </table> 109 110 … … 145 146 146 147 </fieldset> 147 </table> 148 </table> 149 <table> 150 <tr><td style="visibility:visible">{'cl_autosize_icon_view'|@translate} 151 <input type="checkbox" name="check_icon_v" value="on" {$check_icon_v} /> 152 </td><td></td><td></td></tr> 153 </table> 154 148 155 <table> 149 156 <td><input name="submit" type="submit" value="{'cl_autosize_save'|@translate}" /></td> -
extensions/Autosize/autosize.inc.php
r7220 r7229 41 41 $autosize_parametres = cl_autosize_Get_Options(); 42 42 include (AUTOSIZE_PATH."include/affiche.php"); 43 43 if($autosize_parametres->check_icon_v == 'on'){ 44 44 $template->assign('cl_autosize_button', 45 45 array( … … 54 54 $template->set_filenames(array('cl_bp' => $my_path. 'template/picture.tpl')); 55 55 $template->concat('PLUGIN_PICTURE_ACTIONS', $template->parse('cl_bp', true)); 56 56 } 57 57 $template->set_filenames( 58 58 array('autosize_content'=> $my_path.'template/autosize.tpl') … … 235 235 $autosize_parametres->check_auto_w = isset($_POST['check_auto_w']) ? $_POST['check_auto_w'] : ( ( isset($autosize_parametres->check_auto_w) ) ? $autosize_parametres->check_auto_w : 'off') ; ; 236 236 } 237 237 if ( isset($_POST['submit'] ) && $_POST['submit'] == l10n('cl_autosize_save') ) { 238 $autosize_parametres->check_icon_v = isset($_POST['check_icon_v']) ? $_POST['check_icon_v'] : "off" ; 239 }else{ 240 $autosize_parametres->check_icon_v = isset($_POST['check_icon_v']) ? $_POST['check_icon_v'] : ( ( isset($autosize_parametres->check_icon_v) ) ? $autosize_parametres->check_icon_v : 'off') ; ; 241 } 238 242 return $autosize_parametres; 239 243 } -
extensions/Autosize/include/affiche.php
r7193 r7229 25 25 'ECHELLE_MAX' => $autosize_parametres->echelle_max, 26 26 'check_auto_w' => ($autosize_parametres->check_auto_w == 'on') ? 'checked="checked"' : '' , 27 'webmaster_width' => $autosize_parametres->webmaster_width, 27 'check_icon_v' => ($autosize_parametres->check_icon_v == 'on') ? 'checked="checked"' : '' , 28 'webmaster_width' => $autosize_parametres->webmaster_width, 28 29 'webmaster_height' => $autosize_parametres->webmaster_height, 29 30 'admin_width' => $autosize_parametres->admin_width, -
extensions/Autosize/js/conflit.js
r7193 r7229 160 160 //================================================== 161 161 tpe = typeof (element); 162 162 if (Prototype_Version != '0') { 163 if (tpe == "string") { 164 //=== rvmaps === // 165 if (element.match(/[a-z]_[a-z]/)) { 166 167 return jQuery().$Protype(element); 168 } 169 id = "window_" + new Date().getTime(); 170 var reg1 = new RegExp("^window_", "g"); 171 if (element.match(reg1, "g")) { 172 173 if (element.match(/_[a-z]/)) { 174 return jQuery().$Protype(element); 175 } 176 return null; 177 } 178 } 179 } 163 180 //========== test jQuery ? ============== 164 181 … … 245 262 if (MooTools_version == "Luciano") return ret_Luciano; 246 263 //=== theme gally ? ==== 264 247 265 return new_element; 248 266 } -
extensions/Autosize/language/en_UK/lang.php
r7124 r7229 1 1 <?php 2 2 global $lang; 3 $lang['cl_autosize_icon_view'] = "Show an icon in the toolbar"; 3 4 $lang['cl_autosize_info_2'] = "No resizing Display."; 4 5 $lang['cl_autosize_info'] = 'Allows automatic resizing of the display with respect to explorer window.'; -
extensions/Autosize/language/fr_FR/lang.php
r7124 r7229 1 1 <?php 2 2 global $lang; 3 $lang['cl_autosize_icon_view'] = "Affiche une icône dans la barre d'outils"; 3 4 $lang['cl_autosize_info'] = "Permet d'ajuster automatiquement l'affichage en fonction de la fenêtre de l'explorateur."; 4 5 $lang['cl_autosize_info_2'] = "Affichage fixe."; -
extensions/Autosize/main.inc.php
r7220 r7229 2 2 /* 3 3 Plugin Name: AutoSize 4 Version: 1. 1.04 Version: 1.2.1 5 5 Description: Ajuste l'affichage des photos en fonction de la hauteur de la fenetre de navigation 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=448
Note: See TracChangeset
for help on using the changeset viewer.