display included and non included domain(s) before the cert renew

This commit is contained in:
Nicolas Roman 2019-07-19 14:38:24 +02:00
parent f3fa182dc7
commit b339ca0fb9
1 changed files with 12 additions and 2 deletions

View File

@ -90,8 +90,18 @@ if (isset($_POST['submit'])) {
break;
}
$warningMessage = "Attention : le certificat existant couvre déjà certains domaines.
Souhaitez-vous le renouveller ?";
$warningMessage = "Attention : le certificat existant couvre déjà le(s) domaine(s) :<br>";
foreach ($domainsIncluded as $domainIncluded) {
$warningMessage .= $domainIncluded . "<br>";
}
$warningMessage .= "<br><strong>En confirmant le renouvellement, vous allez ajouter :</strong><br>";
foreach ($domainsNotIncluded as $domainNotIncluded) {
$warningMessage .= $domainNotIncluded . "<br>";
}
break;
}