1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

More work on user management

This commit is contained in:
e107steved
2008-12-29 09:31:36 +00:00
parent 5d25c47657
commit a794a90c4f
4 changed files with 57 additions and 35 deletions

View File

@@ -9,8 +9,8 @@
* User settings modify
*
* $Source: /cvs_backup/e107_0.8/usersettings.php,v $
* $Revision: 1.30 $
* $Date: 2008-12-28 22:37:42 $
* $Revision: 1.31 $
* $Date: 2008-12-29 09:31:36 $
* $Author: e107steved $
*
*/
@@ -521,20 +521,20 @@ if (!$error && !$promptPassword) { unset($_POST); }
if ($error)
{
require_once (e_HANDLER.'message_handler.php');
$temp = '';
$temp = array();
if (count($extraErrors))
{
$temp .= implode('<br />', $extraErrors);
$temp[] = implode('<br />', $extraErrors);
}
if (count($allData['errors']))
{
$temp .= validatorClass::makeErrorList($allData,'USER_ERR_','%n - %x - %t: %v', '<br />', $userMethods->userVettingInfo);
$temp[] = validatorClass::makeErrorList($allData,'USER_ERR_','%n - %x - %t: %v', '<br />', $userMethods->userVettingInfo);
}
if (varsettrue($eufData['errors']))
{
$temp .= '<br />'.validatorClass::makeErrorList($eufData,'USER_ERR_','%n - %x - %t: %v', '<br />', $userMethods->userVettingInfo);
$temp[] = '<br />'.validatorClass::makeErrorList($eufData,'USER_ERR_','%n - %x - %t: %v', '<br />', $userMethods->userVettingInfo);
}
message_handler('P_ALERT', $temp);
message_handler('P_ALERT', implode('<br />', $temp));
// $adref = $_POST['adminreturn'];
}