1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Changed way moderator lang is output on viewforum and index

git-svn-id: file:///svn/phpbb/trunk@1611 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-12-16 18:58:05 +00:00
parent 687b659888
commit b14ca3c338
6 changed files with 49 additions and 49 deletions

View File

@@ -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"))
);