getErrorList();
foreach ($_form_errors as $_err) {
if (!empty($_err['message']) && is_string($_err['message'])) {
if (error_reporting() > 0 && isset($_err['file']) && isset($_err['line'])) {
echo "\n';
}
switch ($_err['type']) {
case MSG_ERR:
echo '
' . $_err['message'] . '
';
break;
case MSG_WARNING:
echo '
' . $_err['message'] . '
';
break;
case MSG_SUCCESS:
echo '
' . $_err['message'] . '
';
break;
case MSG_NOTICE:
default:
echo '
' . $_err['message'] . '
';
break;
}
}
}
?>