Changeset 9675 for extensions/floOS/OS_glass/themeconf.inc.php
- Timestamp:
- Mar 14, 2011, 5:12:07 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/floOS/OS_glass/themeconf.inc.php
r9121 r9675 2 2 /* 3 3 Theme Name: OS_glass 4 Version: 1.0.04 Version: auto 5 5 Description: 6 6 Theme URI: http://piwigo.org/ext/extension_view.php?eid=498 7 7 Author: flop25 8 Author URI: http://www.planete-flop.fr /site.php?acc=file8 Author URI: http://www.planete-flop.fr 9 9 */ 10 10 … … 21 21 'tab_closed' => array('mbLinks','mbTags','mbSpecials','mbIdentification'), # tabs which are closed when the page is loaded 22 22 ); 23 @include('themeconf_local.inc.php'); 23 @include(PHPWG_ROOT_PATH. 'local/config/OS_glass.inc.php'); 24 if (isset($conf['local_dir_site'])) 25 { 26 @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/OS_glass.inc.php'); 27 } 24 28 25 add_event_handler('init', 'dynamic_tab', 20); 26 27 function dynamic_tab() { 28 global $template, $conf; 29 $template->assign( 30 array( 31 'tab_system' => get_themeconf('tab_system'), 32 'tab_closed' => get_themeconf('tab_closed'), 33 )); 34 } 29 add_event_handler('init', 'dynamic_tab', 20); 30 function dynamic_tab() { 31 global $template, $conf; 32 $template->assign( 33 array( 34 'tab_system' => get_themeconf('tab_system'), 35 'tab_closed' => get_themeconf('tab_closed'), 36 )); 37 } 35 38 ?>
Note: See TracChangeset
for help on using the changeset viewer.