source: extensions/Comments_on_Albums/admin.php @ 9656

Last change on this file since 9656 was 9641, checked in by mistic100, 13 years ago

[plugins] Comments on Albums

  • stable version
File size: 1.0 KB
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_VERSION' => COA_NAME . ' ' . COA_VERSION,
23        'COA_PATH' => COA_PATH,
24        'COA_ADMIN' => COA_ADMIN,
25));
26
27include(COA_PATH.'admin/' . $page['tab'] . '.php');
28?>
Note: See TracBrowser for help on using the repository browser.