Line | |
---|
1 | <?php |
---|
2 | if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | load_language('plugin.lang', COA_PATH); |
---|
5 | $conf['comments_on_albums'] = unserialize($conf['comments_on_albums']); |
---|
6 | |
---|
7 | // +-----------------------------------------------------------------------+ |
---|
8 | // Tabsheet |
---|
9 | // +-----------------------------------------------------------------------+ |
---|
10 | include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); |
---|
11 | $page['tab'] = (isset($_GET['tab'])) ? $_GET['tab'] : $page['tab'] = 'config'; |
---|
12 | |
---|
13 | $tabsheet = new tabsheet(); |
---|
14 | $tabsheet->add('config', l10n('Configuration'), COA_ADMIN . '-config'); // Configuration |
---|
15 | $tabsheet->select($page['tab']); |
---|
16 | $tabsheet->assign(); |
---|
17 | |
---|
18 | // +-----------------------------------------------------------------------+ |
---|
19 | // Template |
---|
20 | // +-----------------------------------------------------------------------+ |
---|
21 | $template->assign(array( |
---|
22 | 'COA_VERSION' => COA_NAME . ' ' . COA_VERSION, |
---|
23 | 'COA_PATH' => COA_PATH, |
---|
24 | 'COA_ADMIN' => COA_ADMIN, |
---|
25 | )); |
---|
26 | |
---|
27 | include(COA_PATH.'admin/' . $page['tab'] . '.php'); |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.