"when revoking a certificate, confusing info is given to the user"
This commit is contained in:
parent
487b164d5a
commit
eff4f484ff
1 changed files with 17 additions and 4 deletions
|
@ -972,8 +972,12 @@ 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/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
|
||||
}
|
||||
|
||||
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
|
||||
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1128,8 +1132,11 @@ 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/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
|
||||
}
|
||||
|
||||
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
|
||||
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1755,8 +1762,11 @@ 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/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
|
||||
}
|
||||
|
||||
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
|
||||
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2111,8 +2121,11 @@ 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/>', htmlspecialchars($row['CN']), htmlspecialchars($row['serial']));
|
||||
}
|
||||
|
||||
// TRANSLATORS: Please don't translate "Certificate Revocation List (CRL)", it's a technical term
|
||||
echo '<br/>'._('All listed certificates will be added to the Certificate Revocation List (CRL) soon.').'<br/>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue