bug-882 changed behaviour of deleted accounts
authordirk <beliebige_email_adresse@fidocon.de>
Mon, 19 Sep 2011 22:45:19 +0000 (00:45 +0200)
committerdirk <beliebige_email_adresse@fidocon.de>
Mon, 19 Sep 2011 22:45:19 +0000 (00:45 +0200)
includes/notary.inc.php

index 9c60d57..af8d6f1 100644 (file)
        {
                $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;
        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;
        }