aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-03 23:52:33 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-03 23:52:33 +0000
commitca716517676cff9e66ebd301bf771891d0cb0962 (patch)
tree17560847b65989326f26d395f4b4aa363f4e4053 /phpBB/search.php
parent66295f4bdae6eb6c0dd2f6d165d0faf3f9d7f10d (diff)
downloadforums-ca716517676cff9e66ebd301bf771891d0cb0962.tar
forums-ca716517676cff9e66ebd301bf771891d0cb0962.tar.gz
forums-ca716517676cff9e66ebd301bf771891d0cb0962.tar.bz2
forums-ca716517676cff9e66ebd301bf771891d0cb0962.tar.xz
forums-ca716517676cff9e66ebd301bf771891d0cb0962.zip
Various updates
git-svn-id: file:///svn/phpbb/trunk@2816 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index 9f4fd4e457..ea5be19714 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -1304,6 +1304,7 @@ function username_search()
global $db, $board_config, $template, $acl, $lang, $theme;
global $starttime;
+ $form = ( !empty($HTTP_GET_VARS['form']) ) ? $HTTP_GET_VARS['form'] : 0;
$field = ( isset($HTTP_GET_VARS['field']) ) ? $HTTP_GET_VARS['field'] : 'username';
$start = ( isset($HTTP_GET_VARS['start']) ) ? intval($HTTP_GET_VARS['start']) : 0;
@@ -1392,7 +1393,7 @@ function username_search()
$total_users = ( $row = $db->sql_fetchrow($result) ) ? $row['total_users'] : 0;
- $pagination = generate_pagination("search.$phpEx$SID&amp;mode=searchuser&amp;field=$field&amp;username=" . urlencode($username) . "&amp;email=" . urlencode($email) . "&amp;icq=$icq&amp;aim=" . urlencode($aim) . "&amp;yahoo=" . urlencode($yahoo) . "&amp;msn=" . urlencode($msn) . "&amp;joined=" . urlencode(implode('-', $joined)) . "&amp;active=" . urlencode(implode('-', $active)) . "&amp;count=$count&amp;sort_order=$sort_order&amp;sort_by=$sort_by&amp;joined_select=$joined_select&amp;active_select=$active_select&amp;count_select=$count_select", $total_users, $board_config['topics_per_page'], $start);
+ $pagination = generate_pagination("search.$phpEx$SID&amp;mode=searchuser&amp;form=$form&amp;field=$field&amp;username=" . urlencode($username) . "&amp;email=" . urlencode($email) . "&amp;icq=$icq&amp;aim=" . urlencode($aim) . "&amp;yahoo=" . urlencode($yahoo) . "&amp;msn=" . urlencode($msn) . "&amp;joined=" . urlencode(implode('-', $joined)) . "&amp;active=" . urlencode(implode('-', $active)) . "&amp;count=$count&amp;sort_order=$sort_order&amp;sort_by=$sort_by&amp;joined_select=$joined_select&amp;active_select=$active_select&amp;count_select=$count_select", $total_users, $board_config['topics_per_page'], $start);
//
//
@@ -1437,6 +1438,7 @@ function username_search()
'L_MARK_ALL' => $lang['Mark_all'],
'L_UNMARK_ALL' => $lang['Unmark_all'],
+ 'S_FORM_NAME' => $form,
'S_FIELD_NAME' => $field,
'S_COUNT_OPTIONS' => $s_find_count,
'S_JOINED_TIME_OPTIONS' => $s_find_join_time,