summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-01-26 17:50:12 +0100
committerINOPIAE <inopiae@cacert.org>2014-01-26 17:50:12 +0100
commit0a3e593bae2815a19db3f57ad516eed5e0eb3773 (patch)
tree3ff223e2e9aa9a89091dcae4a7de71139a4c4bb3
parent3213ce91971fd5976a1f31b0c24a822c01591911 (diff)
downloadcacert-devel-0a3e593bae2815a19db3f57ad516eed5e0eb3773.tar.gz
cacert-devel-0a3e593bae2815a19db3f57ad516eed5e0eb3773.tar.xz
cacert-devel-0a3e593bae2815a19db3f57ad516eed5e0eb3773.zip
bug 448: changed the wording for the message after the revokation of a certificate
-rw-r--r--includes/account.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/includes/account.php b/includes/account.php
index 7c3748d..cceed2b 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -972,8 +972,10 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `domaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
- printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
+ printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']);
}
+ printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)');
+
}
else
{
@@ -1128,8 +1130,9 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `emailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
- printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
+ printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']);
}
+ printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)');
}
else
{
@@ -1755,8 +1758,9 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `orgemailcerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
- printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
+ printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']);
}
+ printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)');
}
else
{
@@ -2111,8 +2115,9 @@ function buildSubjectFromSession() {
continue;
}
mysql_query("update `orgdomaincerts` set `revoked`='1970-01-01 10:00:01' where `id`='$id'");
- printf(_("Certificate for '%s' has been revoked.")."<br>\n", $row['CN']);
+ printf(_("Certificate for '%s' with the serial no '%s' has been revoked.").'<br/>', $row['CN'], $row['serial']);
}
+ printf('<br/>'._('All listed certificates will be added to the %s soon.').'<br/>','Certificate Revocation List (CRL)');
}
else
{