source: extensions/gally/gally-black-graphite/admin/admin.inc.php @ 31723

Last change on this file since 31723 was 8534, checked in by grum, 14 years ago

New theme for gally's themes

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<?php
2/* -----------------------------------------------------------------------------
3  Theme      : Gally/Black-graphite
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/Black-graphite theme have an additional option allowing to expand or
12  not the menu
13
14  --------------------------------------------------------------------------- */
15
16include_once(PHPWG_THEMES_PATH.'gally-default/admin/GallyDefault.class.inc.php');
17
18load_language('theme.lang', PHPWG_THEMES_PATH.'gally-black-graphite/');
19
20class GallyBlackGraphite extends GallyDefault
21{
22
23  public function __construct()
24  {
25    parent::__construct("Gally/Black-graphite", dirname(__FILE__), PHPWG_THEMES_PATH.'gally-black-graphite/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().'&amp;fGally_tabsheet=menu_1');
38  }
39}
40
41$interface = new GallyBlackGraphite();
42
43?>
Note: See TracBrowser for help on using the repository browser.