summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-01-11 00:51:11 +0100
committerINOPIAE <inopiae@cacert.org>2013-01-11 00:51:11 +0100
commit3410bfceaa67ea094ca0238a394a77d4ebf00bad (patch)
treea8b54b0a8d66b606a60c7179cfd323b2ee725e9f
parentdbf07cf3dfba195693f6c86165c183e4aaf75fc3 (diff)
downloadcacert-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.php4
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']);