Last change
on this file since 18635 was
18635,
checked in by cljosse, 12 years ago
|
[extensions] edit_gmaps compatibility 2.4.4 fix bug on global batch_manager
|
File size:
1007 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); |
---|
4 | |
---|
5 | $template->set_filename('plugin_admin_content', dirname(__FILE__).'/admin.tpl'); |
---|
6 | |
---|
7 | if (!isset($_GET['tab'])) |
---|
8 | $page['tab'] = 'edit'; |
---|
9 | else |
---|
10 | $page['tab'] = $_GET['tab']; |
---|
11 | |
---|
12 | $page['tab'] = 'edit'; |
---|
13 | $my_base_url = get_admin_plugin_menu_link(__FILE__); |
---|
14 | |
---|
15 | $template->set_filenames( |
---|
16 | array('batch_manager_global' => 'batch_manager_global.tpl', |
---|
17 | 'tab_data'=> dirname(__FILE__).'/admin_'.$page['tab'].'.tpl' |
---|
18 | )); |
---|
19 | |
---|
20 | include_once( dirname(__FILE__).'/admin_'.$page['tab'].'.php'); |
---|
21 | $template->assign_var_from_handle( 'BATCH_MANAGER_GLOBAL', 'batch_manager_global'); |
---|
22 | $template->assign_var_from_handle( 'TAB_DATA', 'tab_data'); |
---|
23 | $current = $template->get_template_vars('BATCH_MANAGER_GLOBAL'); |
---|
24 | $template->concat('TAB_DATA', $current); |
---|
25 | ; |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | $template->assign_var_from_handle( 'ADMIN_CONTENT', 'plugin_admin_content'); |
---|
30 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.