Last change
on this file since 14146 was
3609,
checked in by patdenice, 15 years ago
|
Convert all php and tpl files in Unix format for my plugins.
|
File size:
717 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); |
---|
5 | load_language('plugin.lang', GVIDEO_PATH); |
---|
6 | |
---|
7 | global $template; |
---|
8 | |
---|
9 | // Gestion des onglets |
---|
10 | if (!isset($_GET['tab'])) |
---|
11 | $page['tab'] = 'add_page'; |
---|
12 | else |
---|
13 | $page['tab'] = $_GET['tab']; |
---|
14 | |
---|
15 | $my_base_url = get_admin_plugin_menu_link(__FILE__); |
---|
16 | |
---|
17 | $tabsheet = new tabsheet(); |
---|
18 | $tabsheet->add('add_page', |
---|
19 | l10n('py_addvideo'), |
---|
20 | $my_base_url.'&tab=add_page'); |
---|
21 | $tabsheet->add('config', |
---|
22 | l10n('py_conf'), |
---|
23 | $my_base_url.'&tab=config'); |
---|
24 | $tabsheet->select($page['tab']); |
---|
25 | $tabsheet->assign(); |
---|
26 | |
---|
27 | include_once ($page['tab'] . '.php'); |
---|
28 | |
---|
29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.