diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-16 14:47:27 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-10-16 14:47:27 +0000 |
| commit | fd59e8889866832a291a77350ecdbfb982cd84c4 (patch) | |
| tree | bc0d8a34c1a92ba973192155ae7b731b05b4975d /phpBB/privmsg.php | |
| parent | 69e8054bdcab2a52349f676ae27dd0f1114e3633 (diff) | |
| download | forums-fd59e8889866832a291a77350ecdbfb982cd84c4.tar forums-fd59e8889866832a291a77350ecdbfb982cd84c4.tar.gz forums-fd59e8889866832a291a77350ecdbfb982cd84c4.tar.bz2 forums-fd59e8889866832a291a77350ecdbfb982cd84c4.tar.xz forums-fd59e8889866832a291a77350ecdbfb982cd84c4.zip | |
Slight mods to the usersearch function, moved to search.php
git-svn-id: file:///svn/phpbb/trunk@1224 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/privmsg.php')
| -rw-r--r-- | phpBB/privmsg.php | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/phpBB/privmsg.php b/phpBB/privmsg.php index 10f5fbca78..157eb3b80d 100644 --- a/phpBB/privmsg.php +++ b/phpBB/privmsg.php @@ -745,19 +745,12 @@ else if( $submit || $refresh || $mode != "" ) if( $mode == "searchuser" ) { - if( isset($HTTP_POST_VARS['search']) ) - { - $username_list = username_search("privmsg.$phpEx", $HTTP_POST_VARS['search_author'], 1); - } - else - { - username_search("privmsg.$phpEx", "", 1); - } - // - // Remove this later + // This 'will' handle a simple user search + // performed from within the private message post + // form // - exit; + } // @@ -1488,6 +1481,7 @@ else if( $submit || $refresh || $mode != "" ) "S_HIDDEN_FORM_FIELDS" => $s_hidden_fields, "S_POST_ACTION" => append_sid("privmsg.$phpEx"), + "U_SEARCH_USER" => append_sid("search.$phpEx?mode=searchuser"), "U_VIEW_FORUM" => append_sid("privmsg.$phpEx")) ); |
