diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-12 13:34:27 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-12 13:34:27 +0000 |
commit | 06bb1ff5329b2334896c366f92ecdaa95d891146 (patch) | |
tree | b4f45d5ff4917b94a3549d77473ace39bc200b53 /phpBB/viewforum.php | |
parent | f8ad3c0c2cf65f73a0416700e5832cc4c8885021 (diff) | |
download | forums-06bb1ff5329b2334896c366f92ecdaa95d891146.tar forums-06bb1ff5329b2334896c366f92ecdaa95d891146.tar.gz forums-06bb1ff5329b2334896c366f92ecdaa95d891146.tar.bz2 forums-06bb1ff5329b2334896c366f92ecdaa95d891146.tar.xz forums-06bb1ff5329b2334896c366f92ecdaa95d891146.zip |
Some language var switch overs
git-svn-id: file:///svn/phpbb/trunk@478 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r-- | phpBB/viewforum.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index a211a81e33..8b96e49f9c 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -109,7 +109,7 @@ if(!$is_auth['auth_read'] || !$is_auth['auth_view']) // include('includes/page_header.'.$phpEx); - $msg = "I am sorry but only " . $is_auth['auth_read_type'] . " can read this forum."; + $msg = $lang['Sorry_auth'] . $is_auth['auth_read_type'] . $lang['can_read'] . $lang['this_forum']; $template->set_filenames(array( "reg_header" => "error_body.tpl" @@ -136,7 +136,7 @@ for($x = 0; $x < $db->sql_numrows($result); $x++) if($x > 0) $forum_moderators .= ", "; - $forum_moderators .= "<a href=\"".append_sid("profile.$phpEx?mode=viewprofile&".POST_USERS_URL."=".$forum_row[$x]['user_id'])."\">".$forum_row[$x]['username']."</a>"; + $forum_moderators .= "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $forum_row[$x]['user_id']) . "\">" . $forum_row[$x]['username'] . "</a>"; } @@ -147,8 +147,8 @@ for($x = 0; $x < $db->sql_numrows($result); $x++) // with dates newer than it (to properly handle // pagination) and alter the main query // -$previous_days = array(0, 1, 7, 14, 30, 60, 180, 364); -$previous_days_text = array("$l_All_Topics", "1 $l_Day", "7 $l_Days", "2 $l_Weeks", "1 $l_Month", "2 $l_Months", "6 $l_Months", "1 $l_Year"); +$previous_days = array(0, 1, 7, 14, 30, 90, 180, 364); +$previous_days_text = array($lang['All_Topics'], "1 " . $lang['Day'], "7 " . $lang['Days'], "2 " . $lang['Weeks'], "1 " . $lang['Month'], "3 ". $lang['Months'], "6 " . $lang['Months'], "1 " . $lang['Year']); if(!empty($HTTP_POST_VARS['postdays']) || !empty($HTTP_GET_VARS['postdays'])) { @@ -314,7 +314,7 @@ if($total_topics) $replies = $topic_rowset[$x]['topic_replies']; if($replies > $board_config['posts_per_page']) { - $goto_page = " (<img src=\"".$images['posticon']."\">$l_gotopage: "; + $goto_page = " (<img src=\"".$images['posticon']."\">" . $lang['Goto_page'] .": "; $times = 1; for($i = 0; $i < ($replies + 1); $i += $board_config['posts_per_page']) { |