source: extensions/Evil_Blog/admin.php @ 19048

Last change on this file since 19048 was 18997, checked in by EvilKant, 12 years ago
File size: 698 bytes
Line 
1<?php
2// Chech whether we are indeed included by Piwigo.
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5// Fetch the template.
6global $page, $template;
7
8include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
9
10$page['tab'] = isset($_GET['tab']) ? $_GET['tab'] : 'manage';
11
12include(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.