Changeset 7316 for extensions/Autosize/autosize.inc.php
- Timestamp:
- Oct 21, 2010, 4:15:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r7262 r7316 114 114 * conflit ============================================= 115 115 */ 116 static public function cl_autosize_script() 117 { 118 global $template,$user,$conf ; 119 120 121 $my_path = dirname(__FILE__).'/'; 116 static public function cl_autosize_script($pictures) 117 { $my_path = dirname(__FILE__).'/'; 118 global $template,$user,$conf ; 122 119 $template->set_filenames( 123 120 array('autosize_cl_init'=> $my_path.'template/cl_conflit.tpl') … … 131 128 ); 132 129 133 return $template->parse( 'autosize_cl_init', false); 134 130 $template->parse( 'autosize_cl_init', false); 131 132 return $pictures; 135 133 136 134 }// function cl_autosize_script … … 232 230 233 231 if ( isset($_POST['submit'] ) && $_POST['submit'] == l10n('cl_autosize_save') ) { 234 235 $autosize_parametres->check_auto_w = isset($_POST['check_auto_w']) ? $_POST['check_auto_w'] : "off" ; 232 $autosize_parametres->check_desc_v = isset($_POST['check_desc_v']) ? $_POST['check_icon_v'] : "off" ; 233 $autosize_parametres->check_icon_v = isset($_POST['check_icon_v']) ? $_POST['check_icon_v'] : "off" ; 234 $autosize_parametres->check_auto_w = isset($_POST['check_auto_w']) ? $_POST['check_auto_w'] : "off" ; 236 235 }else{ 237 $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 $autosize_parametres->check_desc_v = isset($_POST['check_desc_v']) ? $_POST['check_desc_v'] : ( ( isset($autosize_parametres->check_desc_v) ) ? $autosize_parametres->check_desc_v : 'off') ; 237 $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') ; 238 $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') ; 238 239 } 239 if ( isset($_POST['submit'] ) && $_POST['submit'] == l10n('cl_autosize_save') ) { 240 $autosize_parametres->check_icon_v = isset($_POST['check_icon_v']) ? $_POST['check_icon_v'] : "off" ; 241 }else{ 242 $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') ; ; 243 } 240 241 244 242 return $autosize_parametres; 245 243 }
Note: See TracChangeset
for help on using the changeset viewer.