Changeset 6374
- Timestamp:
- May 26, 2010, 4:01:19 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/blancmontxl/themeconf.inc.php
r6367 r6374 2 2 /* 3 3 Theme Name: BlancMont XL 4 Version: 2.1. c4 Version: 2.1.d 5 5 Description: Night theme 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=232 … … 9 9 */ 10 10 11 global $config; 12 $conf ig= unserialize($conf['BlancmontXL']);11 12 $conf['BlancmontXL'] = unserialize($conf['BlancmontXL']); 13 13 14 14 $themeconf = array( 15 15 'parent' => 'default', 16 16 'local_head' => 'local_head.tpl', 17 'icon_dir' => 'themes/blancmontxl/icon/'. $conf ig['icon_dir']17 'icon_dir' => 'themes/blancmontxl/icon/'. $conf['BlancmontXL']['icon_dir'] 18 18 ); 19 19 … … 22 22 function set_bmxl_header() 23 23 { 24 global $page, $config, $template;24 global $page,$template,$conf; 25 25 26 26 if (isset($page['body_id']) and $page['body_id'] == 'theCategoryPage') 27 27 { 28 $header = isset($page['category']) ? $conf ig['categories'] : $config['home'];28 $header = isset($page['category']) ? $conf['BlancmontXL']['categories'] : $conf['BlancmontXL']['home']; 29 29 } 30 30 elseif (isset($page['body_id']) and $page['body_id'] == 'thePicturePage') 31 31 { 32 $header = $conf ig['picture'];32 $header = $conf['BlancmontXL']['picture']; 33 33 } 34 34 else 35 35 { 36 $header = $conf ig['other'];36 $header = $conf['BlancmontXL']['other']; 37 37 } 38 38 $template->assign('display_bmxl_banner', $header);
Note: See TracChangeset
for help on using the changeset viewer.