From fd59e8889866832a291a77350ecdbfb982cd84c4 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Tue, 16 Oct 2001 14:47:27 +0000 Subject: Slight mods to the usersearch function, moved to search.php git-svn-id: file:///svn/phpbb/trunk@1224 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/privmsg.php | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'phpBB/privmsg.php') 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")) ); -- cgit v1.2.1