aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-12-15 01:55:43 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-12-15 01:55:43 +0000
commit1f6b7aa5674622854212514383c0627fe23e0456 (patch)
tree33ea6e2245b7638b73e24f8b1b3532d058230b80 /phpBB/viewtopic.php
parent652a03df3f5d461b4bcbc4a61b2faff355ddc09e (diff)
downloadforums-1f6b7aa5674622854212514383c0627fe23e0456.tar
forums-1f6b7aa5674622854212514383c0627fe23e0456.tar.gz
forums-1f6b7aa5674622854212514383c0627fe23e0456.tar.bz2
forums-1f6b7aa5674622854212514383c0627fe23e0456.tar.xz
forums-1f6b7aa5674622854212514383c0627fe23e0456.zip
Fixed some language strings, added some handy things to viewtopic
git-svn-id: file:///svn/phpbb/trunk@1578 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 34975446b4..994aefdfd6 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -573,6 +573,8 @@ $template->assign_vars(array(
"L_POST_NEW_TOPIC" => $post_alt,
"L_POST_REPLY_TOPIC" => $reply_alt,
+ "L_BACK_TO_TOP" => $lang['Back_to_top'],
+
"IMG_POST" => $post_img,
"IMG_REPLY" => $reply_img,
@@ -777,6 +779,8 @@ for($i = 0; $i < $total_posts; $i++)
{
$mini_post_img = '<img src="' . $images['icon_minipost'] . '" alt="' . $lang['Post'] . '" title="' . $lang['Post'] . '" border="0" />';
}
+
+ $mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . "=" . $postrow[$i]['post_id']) ."#".$postrow[$i]['post_id'];
//
// Generate ranks
@@ -1068,6 +1072,8 @@ for($i = 0; $i < $total_posts; $i++)
"IP_IMG" => $ip_img,
"DELETE_IMG" => $delpost_img,
+ "U_MINI_POST" => $mini_post_url,
+
"U_POST_ID" => $postrow[$i]['post_id'])
);
}