mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 07:08:09 +01:00
Merge remote-tracking branch 'maelsoucaze/develop' into develop
* maelsoucaze/develop: [ticket/12272] Fix hardcoded colons in subforums. [ticket/12272] Fix hardcoded colons in subforums.
This commit is contained in:
commit
2d987d36c1
@ -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
|
||||
|
@ -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 -->
|
||||
|
@ -52,7 +52,7 @@
|
||||
<!-- ENDIF -->
|
||||
<!-- IF .forumrow.subforum and forumrow.S_LIST_SUBFORUMS -->
|
||||
<!-- EVENT forumlist_body_subforums_before -->
|
||||
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong>
|
||||
<p class="forumdesc"><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 -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user