mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
TakeATour replace c13y_upgrade ; c13y_upgrade not activated after upgrade
adding TakeATour files less margin-top in no_photo_yet.tpl git-svn-id: http://piwigo.org/svn/trunk@28169 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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');
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user