diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-06-03 11:00:26 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-06-03 11:00:26 +0200 |
commit | ab366a18badd99abe8d648f72cf273ff2560c416 (patch) | |
tree | a8ddd113a6acb2290aade8d39bbf1db1fd88c844 /phpBB/includes/functions.php | |
parent | 672c333aced13afdaead43e84bb686f60b371f94 (diff) | |
parent | 7a2fb9f123262b3f8ffd335f8133654e7356cb0b (diff) | |
download | forums-ab366a18badd99abe8d648f72cf273ff2560c416.tar forums-ab366a18badd99abe8d648f72cf273ff2560c416.tar.gz forums-ab366a18badd99abe8d648f72cf273ff2560c416.tar.bz2 forums-ab366a18badd99abe8d648f72cf273ff2560c416.tar.xz forums-ab366a18badd99abe8d648f72cf273ff2560c416.zip |
Merge branch 'develop-olympus' into develop
* develop-olympus:
[ticket/9950] Use actual language instead of user's language in overall header
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 4b9c643a47..de150b9fcb 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -4467,7 +4467,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'T_TEMPLATE_PATH' => "{$web_path}styles/" . $user->theme['template_path'] . '/template', 'T_SUPER_TEMPLATE_PATH' => (isset($user->theme['template_inherit_path']) && $user->theme['template_inherit_path']) ? "{$web_path}styles/" . $user->theme['template_inherit_path'] . '/template' : "{$web_path}styles/" . $user->theme['template_path'] . '/template', 'T_IMAGESET_PATH' => "{$web_path}styles/" . $user->theme['imageset_path'] . '/imageset', - 'T_IMAGESET_LANG_PATH' => "{$web_path}styles/" . $user->theme['imageset_path'] . '/imageset/' . $user->data['user_lang'], + 'T_IMAGESET_LANG_PATH' => "{$web_path}styles/" . $user->theme['imageset_path'] . '/imageset/' . $user->lang_name, 'T_IMAGES_PATH' => "{$web_path}images/", 'T_SMILIES_PATH' => "{$web_path}{$config['smilies_path']}/", 'T_AVATAR_PATH' => "{$web_path}{$config['avatar_path']}/", @@ -4475,7 +4475,7 @@ function page_header($page_title = '', $display_online_list = true, $item_id = 0 'T_ICONS_PATH' => "{$web_path}{$config['icons_path']}/", 'T_RANKS_PATH' => "{$web_path}{$config['ranks_path']}/", 'T_UPLOAD_PATH' => "{$web_path}{$config['upload_path']}/", - 'T_STYLESHEET_LINK' => (!$user->theme['theme_storedb']) ? "{$web_path}styles/" . $user->theme['theme_path'] . '/theme/stylesheet.css' : append_sid("{$phpbb_root_path}style.$phpEx", 'id=' . $user->theme['style_id'] . '&lang=' . $user->data['user_lang']), + 'T_STYLESHEET_LINK' => (!$user->theme['theme_storedb']) ? "{$web_path}styles/" . $user->theme['theme_path'] . '/theme/stylesheet.css' : append_sid("{$phpbb_root_path}style.$phpEx", 'id=' . $user->theme['style_id'] . '&lang=' . $user->lang_name), 'T_STYLESHEET_NAME' => $user->theme['theme_name'], 'T_THEME_NAME' => $user->theme['theme_path'], |