diff options
Diffstat (limited to 'phpBB/index.php')
-rw-r--r-- | phpBB/index.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/phpBB/index.php b/phpBB/index.php index 0df3c67e54..1a611f054a 100644 --- a/phpBB/index.php +++ b/phpBB/index.php @@ -251,6 +251,7 @@ if($total_categories = $db->sql_numrows($q_categories)) "FORUM_NEW_IMG" => $images['forum_new'], "FORUM_LOCKED_IMG" => $images['forum_locked'], + "L_MODERATOR" => $lang['Moderators'], "L_FORUM_LOCKED" => $lang['Forum_is_locked'], "L_MARK_FORUMS_READ" => $lang['Mark_all_forums'], @@ -379,11 +380,20 @@ if($total_categories = $db->sql_numrows($q_categories)) } } - if($moderators_links == "") + if( $moderators_links == "" ) { $moderators_links = " "; } + if( $mods > 0 ) + { + $l_moderators = ( $mods == 1 ) ? $lang['Moderator'] : $lang['Moderators']; + } + else + { + $l_moderators = " "; + } + $row_color = ( !($count % 2) ) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ( !($count % 2) ) ? $theme['td_class1'] : $theme['td_class2']; @@ -398,6 +408,8 @@ if($total_categories = $db->sql_numrows($q_categories)) "LAST_POST" => $last_post, "MODERATORS" => $moderators_links, + "L_MODERATOR" => $l_moderators, + "U_VIEWFORUM" => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id")) ); |