aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/main.inc.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-07-08 16:41:46 +0000
committerflop25 <flop25@piwigo.org>2014-07-08 16:41:46 +0000
commit1efc0eb46047957e69a6c686286c4ee032f86431 (patch)
treee8b6fd3c1926d0e2304530d7da0206e9c2363a0e /plugins/TakeATour/main.inc.php
parent82ffe38c37ee65bd2053146aa9037ac779283e33 (diff)
Take A Tour:
css for roma en_UK force_fallback'ed privacy wip git-svn-id: http://piwigo.org/svn/trunk@29007 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/TakeATour/main.inc.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php
index 1d7153ef1..f5f2d91d7 100644
--- a/plugins/TakeATour/main.inc.php
+++ b/plugins/TakeATour/main.inc.php
@@ -41,12 +41,16 @@ else*/if ( pwg_get_session_var('tour_to_launch') )
function TAT_tour_setup()
{
- global $template, $TAT_restart;
+ global $template, $TAT_restart, $conf;
$tour_to_launch=pwg_get_session_var('tour_to_launch');
- load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/');
- load_language('lang', PHPWG_ROOT_PATH.PWG_LOCAL_DIR, array('no_fallback'=>true, 'local'=>true) );
+ load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/', array('force_fallback'=>'en_UK'));
$template->set_filename('TAT_js_css', PHPWG_PLUGINS_PATH.'TakeATour/tpl/js_css.tpl');
- $template->parse('TAT_js_css');//http://piwigo.org/forum/viewtopic.php?id=23248
+ $template->assign(
+ array(
+ 'ADMIN_THEME' => $conf['admin_theme'],
+ )
+ );
+ $template->parse('TAT_js_css');
if (isset($TAT_restart) and $TAT_restart)
{
$TAT_restart=false;