diff --git a/e107_handlers/user_select_class.php b/e107_handlers/user_select_class.php index 265a32ae9..b04c66031 100644 --- a/e107_handlers/user_select_class.php +++ b/e107_handlers/user_select_class.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/user_select_class.php,v $ -| $Revision: 1.2 $ -| $Date: 2006-12-07 15:41:50 $ -| $Author: sweetas $ +| $Revision: 1.3 $ +| $Date: 2007-05-28 11:13:20 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -153,6 +153,15 @@ class user_select { } $job = "parent.opener.document.getElementById('{$elementID}').value = d;"; } + + // send the charset to the browser - overrides spurious server settings with the lan pack settings. + header("Content-type: text/html; charset=".CHARSET, true); + echo (defined("STANDARDS_MODE") ? "" : "\n")."\n"; + echo " + + ".SITENAME."\n"; + + echo " + + "; $text = "
@@ -174,7 +185,7 @@ class user_select {
"; - + if ($_POST['dosrch']) { $userlist = $this -> findusers($_POST['srch']); if($userlist == FALSE) @@ -199,16 +210,16 @@ class user_select { - + "; } - $ns -> tablerender(US_LAN_4, $text); + echo "\n\n"; } - + function findusers($s) { global $sql, $tp; if ($sql->db_Select("user", "*", "user_name LIKE '%".$tp -> toDB($s)."%' ")) {