source: extensions/Comments_on_Albums/admin.php @ 11217

Last change on this file since 11217 was 10984, checked in by mistic100, 13 years ago

code cleanup

File size: 1009 bytes
Line 
1<?php
2if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4load_language('plugin.lang', COA_PATH);
5$conf['comments_on_albums'] = unserialize($conf['comments_on_albums']);
6
7// +-----------------------------------------------------------------------+
8//        Tabsheet
9// +-----------------------------------------------------------------------+
10include_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_PATH' => COA_PATH,
23  'COA_ADMIN' => COA_ADMIN,
24));
25
26include(COA_PATH.'admin/' . $page['tab'] . '.php');
27?>
Note: See TracBrowser for help on using the repository browser.