Line | |
---|
1 | <?php |
---|
2 | // Chech whether we are indeed included by Piwigo. |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | |
---|
5 | // Fetch the template. |
---|
6 | global $page, $template; |
---|
7 | |
---|
8 | include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); |
---|
9 | |
---|
10 | $page['tab'] = isset($_GET['tab']) ? $_GET['tab'] : 'manage'; |
---|
11 | |
---|
12 | include(Evil_Blog_PATH.$page['tab'].'.inc.php'); |
---|
13 | |
---|
14 | $template->func_combine_css(array( |
---|
15 | 'path' => Evil_Blog_PATH.'admin.css', |
---|
16 | ) |
---|
17 | ); |
---|
18 | |
---|
19 | $tabsheet = new tabsheet(); |
---|
20 | $tabsheet->add('manage', l10n('Manage'), Evil_Blog_Admin.'-manage'); |
---|
21 | $tabsheet->add('config', l10n('Configuration'), Evil_Blog_Admin.'-config'); |
---|
22 | $tabsheet->select($page['tab']); |
---|
23 | $tabsheet->assign(); |
---|
24 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.