diff options
author | INOPIAE <inopiae@cacert.org> | 2013-01-11 00:51:11 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2013-01-11 00:51:11 +0100 |
commit | 3410bfceaa67ea094ca0238a394a77d4ebf00bad (patch) | |
tree | a8b54b0a8d66b606a60c7179cfd323b2ee725e9f | |
parent | dbf07cf3dfba195693f6c86165c183e4aaf75fc3 (diff) | |
download | cacert-devel-3410bfceaa67ea094ca0238a394a77d4ebf00bad.tar.gz cacert-devel-3410bfceaa67ea094ca0238a394a77d4ebf00bad.tar.xz cacert-devel-3410bfceaa67ea094ca0238a394a77d4ebf00bad.zip |
bug 893: Fixed layout for error messages
-rw-r--r-- | includes/account.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/account.php b/includes/account.php index 72159fb..037ab91 100644 --- a/includes/account.php +++ b/includes/account.php @@ -2842,11 +2842,15 @@ { $_REQUEST['userid'] = intval($_REQUEST['userid']); if (trim($_REQUEST['arbitrationno'])==""){ + showheader(_("My CAcert.org Account!")); echo _("You did not enter an arbitration number."); + showfooter(); exit; } if (check_email_exists($_REQUEST['arbitrationno'].'@cacert.org')==true) { + showheader(_("My CAcert.org Account!")); printf(_("The email address '%s' is already in a different account. Can't continue."), sanitizeHTML($_REQUEST['arbitrationno'].'@cacert.org')); + showfooter(); exit; } account_delete($_REQUEST['userid'], $_REQUEST['arbitrationno'], $_SESSION['profile']['id']); |