Changeset 7725 for extensions/Autosize/autosize.inc.php
- Timestamp:
- Nov 9, 2010, 1:41:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r7669 r7725 141 141 ); 142 142 $template->assign( 143 array('AUTOSIZE_ROOT' => AUTOSIZE_PATH) 143 array( 144 'DEBUG' => $debug , 145 'AUTOSIZE_ROOT' => AUTOSIZE_PATH) 144 146 ); 145 147 … … 147 149 return $pictures; 148 150 } 151 //============================================================ 149 152 static public function cl_autosize_script() 150 153 { … … 153 156 $my_path = basename(dirname(__FILE__)).'/' ; 154 157 $my_path = dirname(__FILE__).'/'; 158 $debug = isset($conf['debug']) ? $conf['debug'] : false ; 155 159 $template->set_filenames( 156 160 array('autosize_init'=>$my_path. "template/conflit.tpl" … … 158 162 ); 159 163 $template->assign( 160 array('AUTOSIZE_ROOT' => AUTOSIZE_PATH) 164 array( 165 'DEBUG' => $debug , 166 'AUTOSIZE_ROOT' => AUTOSIZE_PATH) 161 167 ); 162 168 … … 260 266 $autosize_parametres->echelle_max=(isset($_POST['echelle_max']))? $_POST['echelle_max'] : ((isset($autosize_parametres->echelle_max)) ? $autosize_parametres->echelle_max : '1.2'); 261 267 $autosize_parametres->marge_basse=(isset($_POST['marge_basse']))? $_POST['marge_basse']: ((isset($autosize_parametres->marge_basse)) ? $autosize_parametres->marge_basse : '50'); 268 $autosize_parametres->fade_in=(isset($_POST['fade_in']))? $_POST['fade_in']: ((isset($autosize_parametres->fade_in)) ? $autosize_parametres->fade_in : '200'); 269 262 270 //=============================================================================== 263 271
Note: See TracChangeset
for help on using the changeset viewer.