source: extensions/floOS/OS_glass_dark_2/themeconf.inc.php

Last change on this file was 30085, checked in by flop25, 10 years ago

2.7 compat: colorscheme and 2.7 only OS_default

File size: 1.2 KB
Line 
1<?php
2/*
3Theme Name: OS_glass_dark_2
4Version: auto
5Description:
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=516
7Author: flop25
8Author URI: http://www.planete-flop.fr
9*/
10
11$themeconf = array(
12  'name'         => 'OS_glass_dark_2',
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  'colorscheme' => 'clear',
23);
24@include(PHPWG_ROOT_PATH. 'local/config/OS_glass_dark_2.inc.php');
25if (isset($conf['local_dir_site']))
26{
27  @include(PHPWG_ROOT_PATH.PWG_LOCAL_DIR. 'config/OS_glass_dark_2.inc.php');
28}
29
30add_event_handler('init', 'dynamic_tab', 20);
31function  dynamic_tab() {
32        global $template, $conf;
33        $template->assign(
34                array(
35                        'tab_system' => get_themeconf('tab_system'),
36                        'tab_closed' => get_themeconf('tab_closed'),
37                        ));
38}
39?>
Note: See TracBrowser for help on using the repository browser.