Last change
on this file since 28485 was
28169,
checked in by flop25, 10 years ago
|
TakeATour replace c13y_upgrade ; c13y_upgrade not activated after upgrade
adding TakeATour files
less margin-top in no_photo_yet.tpl
|
File size:
712 bytes
|
Rev | Line | |
---|
[28169] | 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', |
---|
| 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 | |
---|
| 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 | } |
---|
| 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.