Changeset 6366 for extensions/blancmontxl/themeconf.inc.php
- Timestamp:
- May 26, 2010, 4:14:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/blancmontxl/themeconf.inc.php
r6286 r6366 9 9 */ 10 10 11 global $config; 12 $config = unserialize($conf['BlancmontXL']);//echo '<pre>'; print_r($config); echo '</pre>'; 13 11 14 $themeconf = array( 12 15 'parent' => 'default', 13 16 'local_head' => 'local_head.tpl', 17 'icon_dir' => 'themes/blancmontxl/icon/'. $config['icon_dir'] 14 18 ); 15 16 global $conf;17 $config = unserialize($conf['BlancmontXL']);18 $themeconf['icon_dir']=$config['ico'] ? 'themes/montblancxl/icon' : 'themes/blancmontxl/icon' ;19 19 20 20 add_event_handler('loc_begin_page_header', 'set_bmxl_header'); … … 22 22 function set_bmxl_header() 23 23 { 24 global $page, $conf, $template; 25 26 $config = unserialize($conf['BlancmontXL']); 24 global $page, $config, $template; 27 25 28 26 if (isset($page['body_id']) and $page['body_id'] == 'theCategoryPage')
Note: See TracChangeset
for help on using the changeset viewer.