source: extensions/BatchDownloader/admin.php @ 16379

Last change on this file since 16379 was 16379, checked in by mistic100, 12 years ago

first commit, not complete
TODO : use multisize, download history, localization, compatibility with User Selection (and create User Selection !!)

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