source: extensions/gvideo/admin/pywaie_admin.php @ 3296

Last change on this file since 3296 was 3296, checked in by patdenice, 15 years ago

New extension added:
PY GVideo (2.0.f)

File size: 745 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
5load_language('plugin.lang', GVIDEO_PATH);
6
7global $template;
8
9// Gestion des onglets
10if (!isset($_GET['tab']))
11    $page['tab'] = 'add_page';
12else
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.'&amp;tab=add_page');
21$tabsheet->add('config',
22               l10n('py_conf'),
23               $my_base_url.'&amp;tab=config');
24$tabsheet->select($page['tab']);
25$tabsheet->assign();
26
27include_once ($page['tab'] . '.php');
28
29?>
Note: See TracBrowser for help on using the repository browser.