source: extensions/gally/gally-lapis-lazuli/admin/admin.inc.php @ 10591

Last change on this file since 10591 was 6109, checked in by grum, 14 years ago

Gally's themes compatibles with piwigo 2.1

File size: 1.2 KB
Line 
1<?php
2/* -----------------------------------------------------------------------------
3  Theme      : Gally/Lapis-lazuli
4  Author     : Grum
5    email    : grum@piwigo.org
6    website  : http://photos.grum.fr
7
8    << May the Little SpaceFrog be with you ! >>
9  ------------------------------------------------------------------------------
10
11  The Gally/Lapis-lazuli 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-lapis-lazuli/');
19
20class GallyLapisLazuli extends GallyDefault
21{
22
23  public function __construct()
24  {
25    parent::__construct("Gally/Lapis-lazuli", dirname(__FILE__), PHPWG_THEMES_PATH.'gally-lapis-lazuli/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 GallyLapisLazuli();
42
43?>
Note: See TracBrowser for help on using the repository browser.