Last change
on this file since 29190 was
28100,
checked in by flop25, 10 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
|
Rev | Line | |
---|
[27898] | 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', |
---|
[28100] | 11 | 'pwg_token' => get_pwg_token() |
---|
[27898] | 12 | ) |
---|
| 13 | ); |
---|
[27998] | 14 | |
---|
[27898] | 15 | $template->func_combine_css(array( |
---|
[27998] | 16 | 'path' => 'plugins/TakeATour/css/admin.css', |
---|
[27898] | 17 | ) |
---|
[27998] | 18 | ); |
---|
[27898] | 19 | |
---|
[28060] | 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 | } |
---|
[27898] | 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.