From e1278320a29d1772ccf59d49cae6dbd15227f717 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Soucaze?= Date: Sat, 15 Mar 2014 14:25:11 +0100 Subject: [PATCH] [ticket/12272] Fix hardcoded colons in subforums. In subforums list, under the parent forum description, there are two harcoded colons instead of {L_COLON}. PHPBB3-12272 --- phpBB/includes/functions_display.php | 2 +- phpBB/styles/prosilver/template/forumlist_body.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 05313e849d..cd2c9e5ae6 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -441,7 +441,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod } } - $l_subforums = (sizeof($subforums[$forum_id]) == 1) ? $user->lang['SUBFORUM'] . ': ' : $user->lang['SUBFORUMS'] . ': '; + $l_subforums = (sizeof($subforums[$forum_id]) == 1) ? $user->lang['SUBFORUM'] : $user->lang['SUBFORUMS']; $folder_image = ($forum_unread) ? 'forum_unread_subforum' : 'forum_read_subforum'; } else diff --git a/phpBB/styles/prosilver/template/forumlist_body.html b/phpBB/styles/prosilver/template/forumlist_body.html index 46695b4841..3b02431183 100644 --- a/phpBB/styles/prosilver/template/forumlist_body.html +++ b/phpBB/styles/prosilver/template/forumlist_body.html @@ -40,7 +40,7 @@ -
{forumrow.L_SUBFORUM_STR} +
{forumrow.L_SUBFORUM_STR}{L_COLON} {forumrow.subforum.SUBFORUM_NAME}{L_COMMA_SEPARATOR}