aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/swatch.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/adm/swatch.php')
-rw-r--r--phpBB/adm/swatch.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/phpBB/adm/swatch.php b/phpBB/adm/swatch.php
index 5d452218b0..3744a967a6 100644
--- a/phpBB/adm/swatch.php
+++ b/phpBB/adm/swatch.php
@@ -31,8 +31,14 @@ $template->set_filenames(array(
$template->assign_vars(array(
'OPENER' => addslashes(request_var('form', '')),
'NAME' => request_var('name', ''),
- 'T_IMAGES_PATH' => "{$phpbb_root_path}images/",)
-);
+ 'T_IMAGES_PATH' => "{$phpbb_root_path}images/",
+
+ 'S_USER_LANG' => $user->lang['USER_LANG'],
+ 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'],
+ 'S_CONTENT_ENCODING' => 'UTF-8',
+ 'S_CONTENT_DIR_LEFT' => $user->lang['LEFT'],
+ 'S_CONTENT_DIR_RIGHT' => $user->lang['RIGHT'],
+));
$template->display('body');