diff options
Diffstat (limited to 'plugins/TakeATour/main.inc.php')
-rw-r--r-- | plugins/TakeATour/main.inc.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php index c0d2a00fd..216aea9a7 100644 --- a/plugins/TakeATour/main.inc.php +++ b/plugins/TakeATour/main.inc.php @@ -45,6 +45,9 @@ function TAT_tour_setup() global $template, $TAT_restart, $conf;
$tour_to_launch=pwg_get_session_var('tour_to_launch');
load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/', array('force_fallback'=>'en_UK'));
+
+ list(, $tour_name) = explode('/', $tour_to_launch);
+ load_language('tour_'.$tour_name.'.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->assign('ADMIN_THEME', $conf['admin_theme']);
|