Line | |
---|
1 | <?php |
---|
2 | /* ----------------------------------------------------------------------------- |
---|
3 | Theme : Gally/Minimalist |
---|
4 | Author : Grum |
---|
5 | email : grum@piwigo.org |
---|
6 | website : http://www.grum.fr |
---|
7 | |
---|
8 | << May the Little SpaceFrog be with you ! >> |
---|
9 | ------------------------------------------------------------------------------ |
---|
10 | |
---|
11 | The Gally/Minimalist theme have an additional option allowing to expand or |
---|
12 | not the menu |
---|
13 | |
---|
14 | --------------------------------------------------------------------------- */ |
---|
15 | |
---|
16 | include_once(PHPWG_THEMES_PATH.'gally-default/admin/GallyDefault.class.inc.php'); |
---|
17 | |
---|
18 | load_language('theme.lang', PHPWG_THEMES_PATH.'gally-minimalist/'); |
---|
19 | |
---|
20 | class GallyMinimalist extends GallyDefault |
---|
21 | { |
---|
22 | |
---|
23 | public function __construct() |
---|
24 | { |
---|
25 | parent::__construct("Gally/Minimalist", dirname(__FILE__), PHPWG_THEMES_PATH.'gally-minimalist/conf', false); |
---|
26 | |
---|
27 | $this->addAuthorizedValue('fGally_tabsheet', 'menu_1'); |
---|
28 | $this->manage(); |
---|
29 | } |
---|
30 | |
---|
31 | public function initTabSheet() |
---|
32 | { |
---|
33 | parent::initTabSheet(); |
---|
34 | /* $this->tabsheet->add( |
---|
35 | 'menu_1', |
---|
36 | l10n('gally_menu_1'), |
---|
37 | $this->getAdminThemeLink().'&fGally_tabsheet=menu_1'); */ |
---|
38 | } |
---|
39 | } |
---|
40 | |
---|
41 | $interface = new GallyMinimalist(); |
---|
42 | |
---|
43 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.