aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-02-28 21:16:15 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-02-28 21:16:15 +0000
commit52cc21864c570170067e8d81d1af1f8d1a2a0291 (patch)
treeefcfe680c390b4f581a1758292a639b2f3da74f0 /phpBB/viewtopic.php
parent77dedf68a070197bdc4ace8809ab49b2df945847 (diff)
downloadforums-52cc21864c570170067e8d81d1af1f8d1a2a0291.tar
forums-52cc21864c570170067e8d81d1af1f8d1a2a0291.tar.gz
forums-52cc21864c570170067e8d81d1af1f8d1a2a0291.tar.bz2
forums-52cc21864c570170067e8d81d1af1f8d1a2a0291.tar.xz
forums-52cc21864c570170067e8d81d1af1f8d1a2a0291.zip
splitted language files
git-svn-id: file:///svn/phpbb/trunk@4844 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 89bded1cd5..8f68986325 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -84,7 +84,7 @@ if ($view && !$post_id)
if (!($row = $db->sql_fetchrow($result)))
{
// Setup user environment so we can process lang string
- $user->setup();
+ $user->setup('viewtopic');
meta_refresh(3, "viewtopic.$phpEx$SID&amp;f=$forum_id&amp;t=$topic_id");
$message = $user->lang['NO_UNREAD_POSTS'] . '<br /><br />' . sprintf($user->lang['RETURN_TOPIC'], "<a href=\"viewtopic.$phpEx$SID&amp;f=$forum_id&amp;t=$topic_id\">", '</a>');
@@ -196,7 +196,7 @@ if (($topic_type == POST_STICKY || $topic_type == POST_ANNOUNCE) && $topic_time_
}
// Setup look and feel
-$user->setup(false, $forum_style);
+$user->setup('viewtopic', $forum_style);
if (!$topic_approved && !$auth->acl_get('m_approve', $forum_id))
{