1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Usersettings error message styling and general cleanup.

This commit is contained in:
Cameron
2015-01-27 11:32:09 -08:00
parent 489a9cb49c
commit e36b68933c
6 changed files with 39 additions and 22 deletions

View File

@@ -778,7 +778,7 @@ if (!$error && !$promptPassword)
if ($error)
{
require_once (e_HANDLER.'message_handler.php');
// require_once (e_HANDLER.'message_handler.php');
$temp = array();
if (count($extraErrors))
{
@@ -792,7 +792,20 @@ if ($error)
{
$temp[] = '<br />'.validatorClass::makeErrorList($eufVals,'USER_ERR_','%n - %x - %t: %v', '<br />', NULL);
}
message_handler('P_ALERT', implode('<br />', $temp));
// message_handler('P_ALERT', implode('<br />', $temp));
$errorMsg = implode('<br />', $temp);
if(deftrue('BOOTSTRAP'))
{
echo e107::getMessage()->addError($errorMsg)->render();
}
else
{
$ns->tablerender($caption, $message);
}
// $adref = $_POST['adminreturn'];
}