source: extensions/gally/gally-pink-wedding/admin/admin.inc.php @ 8191

Last change on this file since 8191 was 8191, checked in by grum, 13 years ago

First commit

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1<?php
2/* -----------------------------------------------------------------------------
3  Theme      : Gally/Pink-Wedding
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/Pink-Wedding 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-pink-wedding/');
19
20class GallyPinkWedding extends GallyDefault
21{
22
23  public function __construct()
24  {
25    parent::__construct("Gally/Pink-Wedding", dirname(__FILE__), PHPWG_THEMES_PATH.'gally-pink-wedding/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 GallyPinkWedding();
42
43?>
Note: See TracBrowser for help on using the repository browser.