diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-16 18:58:05 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-12-16 18:58:05 +0000 |
commit | b14ca3c338584d9383bce0782cf758b240ea14a5 (patch) | |
tree | aeb572d363be83385e07ac9f2f8dc731de99095e /phpBB/index.php | |
parent | 687b659888897d045fa82ecf4fb61a716c989b46 (diff) | |
download | forums-b14ca3c338584d9383bce0782cf758b240ea14a5.tar forums-b14ca3c338584d9383bce0782cf758b240ea14a5.tar.gz forums-b14ca3c338584d9383bce0782cf758b240ea14a5.tar.bz2 forums-b14ca3c338584d9383bce0782cf758b240ea14a5.tar.xz forums-b14ca3c338584d9383bce0782cf758b240ea14a5.zip |
Changed way moderator lang is output on viewforum and index
git-svn-id: file:///svn/phpbb/trunk@1611 89ea8834-ac86-4346-8a33-228a782c2dd0
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")) ); |