aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-02-28 14:35:35 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-02-28 14:35:35 +0000
commitd4817bebbfe0dd45da80206fc8030debe66808b4 (patch)
treeaf6e1ca18076853e69fef24809f3bbf26213fd4e
parent4cba250b14dd458df4c1db3399dabf81787871dc (diff)
downloadforums-d4817bebbfe0dd45da80206fc8030debe66808b4.tar
forums-d4817bebbfe0dd45da80206fc8030debe66808b4.tar.gz
forums-d4817bebbfe0dd45da80206fc8030debe66808b4.tar.bz2
forums-d4817bebbfe0dd45da80206fc8030debe66808b4.tar.xz
forums-d4817bebbfe0dd45da80206fc8030debe66808b4.zip
Action for searchbox ... obviously doesn't work at present since search is yet to be overhauled ....
git-svn-id: file:///svn/phpbb/trunk@3578 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/viewforum.php1
-rw-r--r--phpBB/viewtopic.php3
2 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php
index 6361e86c9b..04b8ad1597 100644
--- a/phpBB/viewforum.php
+++ b/phpBB/viewforum.php
@@ -239,6 +239,7 @@ if ($forum_data['forum_postable'])
'S_TOPIC_ICONS' => ($forum_data['enable_icons']) ? true : false,
'S_WATCH_FORUM' => $s_watching_forum,
'S_FORUM_ACTION' => 'viewforum.' . $phpEx . $SID . '&amp;f=' . $forum_id . "&amp;start=$start",
+ 'S_SEARCHBOX_ACTION'=> "search.$phpEx$SID&amp;f=$forum_id",
'U_POST_NEW_TOPIC' => 'posting.' . $phpEx . $SID . '&amp;mode=post&amp;f=' . $forum_id,
'U_MARK_READ' => 'viewforum.' . $phpEx . $SID . '&amp;f=' . $forum_id . '&amp;mark=topics')
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 7e3539d469..5258952d7e 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -346,7 +346,8 @@ $template->assign_vars(array(
'S_TOPIC_ACTION' => "viewtopic.$phpEx$SID&amp;t=" . $topic_id . "&amp;start=$start",
'S_TOPIC_MOD' => ($topic_mod != '') ? '<select name="mode">' . $topic_mod . '</select>' : '',
'S_MOD_ACTION' => "mcp.$phpEx?sid=" . $user->session_id . "&amp;t=$topic_id&amp;quickmod=1",
- 'S_WATCH_TOPIC' => $s_watching_topic,
+ 'S_WATCH_TOPIC' => $s_watching_topic,
+ 'S_SEARCHBOX_ACTION' => "search.$phpEx$SID&amp;f=$forum_id",
'U_TOPIC' => $server_path . 'viewtopic.' . $phpEx . '?t=' . $topic_id,
'U_FORUM' => $server_path,