source: extensions/Subscribe_to_comments/admin.php @ 28160

Last change on this file since 28160 was 26140, checked in by mistic100, 11 years ago

convert to UNIX EOL

File size: 780 bytes
Line 
1<?php
2defined('SUBSCRIBE_TO_PATH') or die('Hacking attempt!');
3
4global $template, $page, $conf;
5
6
7// tabsheet
8include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
9$page['tab'] = (isset($_GET['tab'])) ? $_GET['tab'] : 'subscriptions';
10
11$tabsheet = new tabsheet();
12$tabsheet->add('subscriptions', l10n('Manage'), SUBSCRIBE_TO_ADMIN . '-subscriptions');
13$tabsheet->add('config', l10n('Configuration'), SUBSCRIBE_TO_ADMIN . '-config');
14$tabsheet->select($page['tab']);
15$tabsheet->assign();
16
17
18// include page
19include(SUBSCRIBE_TO_PATH . 'admin/' . $page['tab'] . '.php');
20
21// template
22$template->assign(array(
23  'SUBSCRIBE_TO_PATH' => SUBSCRIBE_TO_PATH,
24  'SUBSCRIBE_TO_ADMIN' => SUBSCRIBE_TO_ADMIN,
25  ));
26
27$template->assign_var_from_handle('ADMIN_CONTENT', 'stc_admin');
Note: See TracBrowser for help on using the repository browser.