diff options
author | Maël Soucaze <maelsoucaze@gmail.com> | 2014-03-15 14:25:11 +0100 |
---|---|---|
committer | Maël Soucaze <maelsoucaze@gmail.com> | 2014-03-15 14:25:11 +0100 |
commit | e1278320a29d1772ccf59d49cae6dbd15227f717 (patch) | |
tree | ff09ba78a86b54708d7697aa6488218a52913602 | |
parent | eafba554fd3bf5c6898433d6cd53dc0a5c2e3637 (diff) | |
download | forums-e1278320a29d1772ccf59d49cae6dbd15227f717.tar forums-e1278320a29d1772ccf59d49cae6dbd15227f717.tar.gz forums-e1278320a29d1772ccf59d49cae6dbd15227f717.tar.bz2 forums-e1278320a29d1772ccf59d49cae6dbd15227f717.tar.xz forums-e1278320a29d1772ccf59d49cae6dbd15227f717.zip |
[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
-rw-r--r-- | phpBB/includes/functions_display.php | 2 | ||||
-rw-r--r-- | 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 @@ <!-- ENDIF --> <!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS --> <!-- EVENT forumlist_body_subforums_before --> - <br /><strong>{forumrow.L_SUBFORUM_STR}</strong> + <br /><strong>{forumrow.L_SUBFORUM_STR}{L_COLON}</strong> <!-- BEGIN subforum --> <a href="{forumrow.subforum.U_SUBFORUM}" class="subforum<!-- IF forumrow.subforum.S_UNREAD --> unread<!-- ELSE --> read<!-- ENDIF -->" title="<!-- IF forumrow.subforum.UNREAD -->{L_UNREAD_POSTS}<!-- ELSE -->{L_NO_UNREAD_POSTS}<!-- ENDIF -->">{forumrow.subforum.SUBFORUM_NAME}</a><!-- IF not forumrow.subforum.S_LAST_ROW -->{L_COMMA_SEPARATOR}<!-- ENDIF --> <!-- END subforum --> |