source: extensions/TakeATour/admin.php @ 30303

Last change on this file since 30303 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
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    'pwg_token' => get_pwg_token()
12    )
13  );
14
15$template->func_combine_css(array(
16        'path' => 'plugins/TakeATour/css/admin.css',
17        )
18);
19
20if (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.