summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authordirk <beliebige_email_adresse@fidocon.de>2011-09-20 00:45:19 +0200
committerdirk <beliebige_email_adresse@fidocon.de>2011-09-20 00:45:19 +0200
commitde3570db653021cd2f21dec335bdc57d1fcb236b (patch)
tree492f0cbec2031911a64e4ae0028d27955f8a2567 /includes
parent6b4d8af8a914231c20075445db01fd2d9a9d575f (diff)
downloadcacert-devel-de3570db653021cd2f21dec335bdc57d1fcb236b.tar.gz
cacert-devel-de3570db653021cd2f21dec335bdc57d1fcb236b.tar.xz
cacert-devel-de3570db653021cd2f21dec335bdc57d1fcb236b.zip
bug-882 changed behaviour of deleted accounts
Diffstat (limited to 'includes')
-rw-r--r--includes/notary.inc.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 9c60d57..af8d6f1 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -150,7 +150,12 @@
{
$name = trim($name);
if($name == "")
- $name = _("Deleted before Verification");
+ {
+ if ($userid == 0)
+ $name = _("System");
+ else
+ $name = _("Deleted account");
+ }
else
$name = "<a href='wot.php?id=9&amp;userid=".intval($userid)."'>".sanitizeHTML($name)."</a>";
return $name;
@@ -159,9 +164,7 @@
function show_email_link ($email,$userid)
{
$email = trim($email);
- if($email == "")
- $email = _("Deleted before Verification");
- else
+ if($email != "")
$email = "<a href='account.php?id=43&amp;userid=".intval($userid)."'>".sanitizeHTML($email)."</a>";
return $email;
}