source: extensions/TakeATour/admin.php @ 28060

Last change on this file since 28060 was 28060, checked in by flop25, 10 years ago

modular tour
tours can be disabled with conf

File size: 677 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5global $template, $conf, $user, $page;
6
7load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/');
8$template->assign(
9  array(
10    'F_ACTION' => get_root_url().'admin.php',
11    )
12  );
13
14$template->func_combine_css(array(
15        'path' => 'plugins/TakeATour/css/admin.css',
16        )
17);
18
19if (isset($conf['TakeATour_tour_ignored']) and is_array($conf['TakeATour_tour_ignored']))
20{
21  $template->assign('TAT_tour_ignored', $conf['TakeATour_tour_ignored']);
22}
23$template->set_filename('plugin_admin_content', dirname(__FILE__) .'/tpl/admin.tpl');
24$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content');
25
26?>
Note: See TracBrowser for help on using the repository browser.