Changeset 10347 for extensions/Autosize/autosize.inc.php
- Timestamp:
- Apr 13, 2011, 9:45:43 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/autosize.inc.php
r10308 r10347 46 46 if ('kardon' == $user['theme'] and isset($_GET['slideshow'])) return ; 47 47 48 $ma_page=isset($page['body_id'])?$page['body_id']:"" ; 49 if ($ma_page=='thePiwiShackControllerPage') return ; 50 51 if (PHPWG_VERSION < 2.2 ) 52 $file =AUTOSIZE_PATH_ABS.'template/header_2_1.tpl' ; 53 else 54 $file =AUTOSIZE_PATH_ABS.'template/header_2_2.tpl' ; 55 56 $template->set_filenames(array('autosize_init_header'=> $file )); 57 $template->set_filenames(array('autosize_init'=>AUTOSIZE_PATH_ABS. "template/conflit.tpl" ) ); 58 $DEBUG = isset($conf['cl_debug_conflit']) ? $conf['cl_debug_conflit'] : "false" ; 59 $autosize_parametres = cl_autosize_Get_Options() ; 60 $theme=$user['theme']; 61 $template->assign( 62 array( 63 'autosize_parametres' => $autosize_parametres , 64 'cl_plugins' => $cl_plugin , 65 'cl_version' => $cl_plugin['version'] , 66 'name' => $cl_plugin['name'] , 48 $ma_page=isset($page['body_id'])?$page['body_id']:"" ; 49 if ($ma_page=='thePiwiShackControllerPage') return ; 50 51 52 if (PHPWG_VERSION < 2.2 ) 53 $file =AUTOSIZE_PATH_ABS.'template/header_2_1.tpl' ; 54 else 55 $file =AUTOSIZE_PATH_ABS.'template/header_2_2.tpl' ; 56 $template->set_filenames(array('autosize_init_header'=> $file )); 57 $template->set_filenames(array('autosize_init'=>AUTOSIZE_PATH_ABS. "template/conflit.tpl" ) ); 58 59 $DEBUG = isset($conf['cl_debug_conflit']) ? $conf['cl_debug_conflit'] : "false" ; 60 $autosize_parametres = cl_autosize_Get_Options() ; 61 $theme=$user['theme']; 62 $template->assign( 63 array( 64 'autosize_parametres' => $autosize_parametres , 65 'cl_plugins' => $cl_plugin , 66 'cl_version' => $cl_plugin['version'] , 67 'name' => $cl_plugin['name'] , 67 68 68 69 70 'AUTOSIZE_PATH' => AUTOSIZE_PATH,71 72 73 69 'theme' => $theme , 70 'DEBUG' => $DEBUG , 71 'AUTOSIZE_PATH' => str_replace("../","",AUTOSIZE_PATH) , 72 'AUTOSIZE_PATH_ABS' => AUTOSIZE_PATH_ABS, 73 ) 74 ); 74 75 $template->concat('cl_conflit_init', $template->parse('autosize_init_header', true)); 75 76 return $template->parse( 'autosize_init', false);
Note: See TracChangeset
for help on using the changeset viewer.