aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-03-09 14:19:54 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-03-09 14:19:54 +0000
commitdeca0a35a8453c741912a281ccfff76fd52d8842 (patch)
treec7b260d43af151a524b8750055920cc3e71b373c /phpBB
parent68dd148f6cc43add65baa1c05d75e2823810e262 (diff)
downloadforums-deca0a35a8453c741912a281ccfff76fd52d8842.tar
forums-deca0a35a8453c741912a281ccfff76fd52d8842.tar.gz
forums-deca0a35a8453c741912a281ccfff76fd52d8842.tar.bz2
forums-deca0a35a8453c741912a281ccfff76fd52d8842.tar.xz
forums-deca0a35a8453c741912a281ccfff76fd52d8842.zip
Update to url parameter names - _topic only_
git-svn-id: file:///svn/phpbb/trunk@88 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/templates/Default/viewforum_body.tpl2
-rw-r--r--phpBB/viewforum.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/templates/Default/viewforum_body.tpl b/phpBB/templates/Default/viewforum_body.tpl
index d09e73daa0..44fbf7f484 100644
--- a/phpBB/templates/Default/viewforum_body.tpl
+++ b/phpBB/templates/Default/viewforum_body.tpl
@@ -14,7 +14,7 @@
<!-- BEGIN topicrow -->
<tr bgcolor="#DDDDDD" class="tablebody">
<td width="5%" align="center" valign="middle">{FOLDER}</td>
- <td><a href="viewtopic.{PHPEX}?forum_id={FORUM_ID}&topic_id={TOPIC_ID}&{REPLIES}">{TOPIC_TITLE}</a></td>
+ <td><a href="viewtopic.{PHPEX}?{POST_TOPIC_URL}={TOPIC_ID}&{REPLIES}">{TOPIC_TITLE}</a></td>
<td width="5%" align="center" valign="middle">{REPLIES}</td>
<td width="5%" align="center" valign="middle">{VIEWS}</td>
<td width="15%" align="center" valign="middle">{LAST_POST}</td>
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 07e801fe32..ba63bcab54 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -104,7 +104,8 @@ if($total_topics)
$last_post_time = date($date_format, $topic_rowset[$x]["post_time"]);
$last_post_user = $topic_rowset[$x]["username"];
$folder_img = "<img src=\"images/folder.gif\">";
- $template->set_var(array("FORUM_ID" => $forum_id,
+ $template->set_var(array("FORUM_ID" => $forum_id,
+ "POST_TOPIC_URL" => POST_TOPIC_URL,
"TOPIC_ID" => $topic_id,
"FOLDER" => $folder_img,
"REPLIES" => $replies,