source: extensions/floOS/OS_glass/themeconf.inc.php @ 9119

Revision 9119, 1.0 KB checked in by flop25, 9 years ago (diff)

config var extend : for dynamic_tab
adding the ability to create a local file : themeconf_local.inc.php
adding tiptip for icons
language code in smarty tag changed -> I hate that change !!

Line 
1<?php
2/*
3Theme Name: OS_glass
4Version: 1.0.0
5Description:
6Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=383
7Author: flop25
8Author URI: http://www.planete-flop.fr/site.php?acc=file
9*/
10
11$themeconf = array(
12  'name'         => 'OS_glass',
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);
23@include('themeconf_local.inc.php');
24
25        add_event_handler('init', 'dynamic_tab', 20);
26
27        function  dynamic_tab() {
28global $template, $conf;
29$template->assign(
30  array(
31    'tab_system' => get_themeconf('tab_system'),
32    'tab_closed' => get_themeconf('tab_closed'),
33    ));
34        }
35?>
Note: See TracBrowser for help on using the repository browser.