Last change
on this file since 29185 was
28100,
checked in by flop25, 11 years ago
|
add pwg_token
add text on top of the help pages and a button for no_photo_yet
etc
|
File size:
712 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
4 | |
---|
5 | global $template, $conf, $user, $page; |
---|
6 | |
---|
7 | load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/'); |
---|
8 | $template->assign( |
---|
9 | array( |
---|
10 | 'F_ACTION' => get_root_url().'admin.php', |
---|
11 | 'pwg_token' => get_pwg_token() |
---|
12 | ) |
---|
13 | ); |
---|
14 | |
---|
15 | $template->func_combine_css(array( |
---|
16 | 'path' => 'plugins/TakeATour/css/admin.css', |
---|
17 | ) |
---|
18 | ); |
---|
19 | |
---|
20 | if (isset($conf['TakeATour_tour_ignored']) and is_array($conf['TakeATour_tour_ignored'])) |
---|
21 | { |
---|
22 | $template->assign('TAT_tour_ignored', $conf['TakeATour_tour_ignored']); |
---|
23 | } |
---|
24 | $template->set_filename('plugin_admin_content', dirname(__FILE__) .'/tpl/admin.tpl'); |
---|
25 | $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); |
---|
26 | |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.