diff options
Diffstat (limited to 'plugins/TakeATour/admin.php')
-rw-r--r-- | plugins/TakeATour/admin.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/TakeATour/admin.php b/plugins/TakeATour/admin.php new file mode 100644 index 000000000..1f3d44d10 --- /dev/null +++ b/plugins/TakeATour/admin.php @@ -0,0 +1,27 @@ +<?php + +if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); + +global $template, $conf, $user, $page; + +load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/'); +$template->assign( + array( + 'F_ACTION' => get_root_url().'admin.php', + 'pwg_token' => get_pwg_token() + ) + ); + +$template->func_combine_css(array( + 'path' => 'plugins/TakeATour/css/admin.css', + ) +); + +if (isset($conf['TakeATour_tour_ignored']) and is_array($conf['TakeATour_tour_ignored'])) +{ + $template->assign('TAT_tour_ignored', $conf['TakeATour_tour_ignored']); +} +$template->set_filename('plugin_admin_content', dirname(__FILE__) .'/tpl/admin.tpl'); +$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); + +?>
\ No newline at end of file |