source: extensions/TakeATour/admin.php @ 28100

Last change on this file since 28100 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
RevLine 
[27898]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',
[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]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}
[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.