[9674] | 1 | <?php |
---|
| 2 | /* |
---|
[9675] | 3 | Theme Name: OS_glass_dark |
---|
[9674] | 4 | Version: auto |
---|
| 5 | Description: |
---|
[9675] | 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=515 |
---|
[9674] | 7 | Author: flop25 |
---|
| 8 | Author URI: http://www.planete-flop.fr |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | $themeconf = array( |
---|
[9675] | 12 | 'name' => 'OS_glass_dark', |
---|
[9674] | 13 | 'parent' => 'OS_default', |
---|
| 14 | 'icon_dir' => 'themes/OS_default/icon', |
---|
| 15 | 'mime_icon_dir' => 'themes/OS_default/icon/mimetypes/', |
---|
| 16 | 'local_head' => 'local_head.tpl', |
---|
| 17 | 'activable' => true, |
---|
| 18 | 'add_menu_on_public_pages' => true, # activation |
---|
| 19 | 'Exclude' => array('theNBMPage','thePicturePage','thePopuphelpPage',), # Excluded pages |
---|
| 20 | 'tab_system' => true, # activation |
---|
| 21 | 'tab_closed' => array('mbLinks','mbTags','mbSpecials','mbIdentification'), # tabs which are closed when the page is loaded |
---|
| 22 | ); |
---|
[9675] | 23 | @include(PHPWG_ROOT_PATH. 'local/config/OS_glass_dark.inc.php'); |
---|
[9674] | 24 | if (isset($conf['local_dir_site'])) |
---|
| 25 | { |
---|
[9675] | 26 | @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/OS_glass_dark.inc.php'); |
---|
[9674] | 27 | } |
---|
| 28 | |
---|
| 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 | } |
---|
| 38 | ?> |
---|