From d660b1ed9e6a905ff20d2f3c73db521e4b642ae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20T=C3=A4nzer?=
-=_("Please make sure the following details are correct before proceeding any further.")?>
+=_("Please make sure the following details are correct before proceeding ".
+ "any further.")?>
+if (is_array($_SESSION['_config']['rows'])) {
+ foreach ($_SESSION['_config']['rows'] as $row) {
+ echo _("CommonName"), ": $row
- if(is_array($_SESSION['_config']['rows']))
- foreach($_SESSION['_config']['rows'] as $row) { ?>
-=_("CommonName")?>: =$row?>
\n";
+ }
+}
+
+if (is_array($_SESSION['_config']['altrows'])) {
+ foreach ($_SESSION['_config']['altrows'] as $row) {
+ echo _("subjectAltName"), ": $row
\n";
+ }
+}
+?>
- } ?>
- if(is_array($_SESSION['_config']['altrows']))
- foreach($_SESSION['_config']['altrows'] as $row) { ?>
-=_("subjectAltName")?>: =$row?>
- } ?>
- if(1 == 0) { ?>
-=_("Organisation")?>: =$_SESSION['_config']['O']?>
-=_("Org. Unit")?>: =$_SESSION['_config']['OU']?>
-=_("Location")?>: =$_SESSION['_config']['L']?>
-=_("State/Province")?>: =$_SESSION['_config']['ST']?>
-=_("Country")?>: =$_SESSION['_config']['C']?>
-=_("Email Address")?>: =$_SESSION['_config']['emailAddress']?>
- } ?>
-=_("No additional information will be included on certificates because it can not be automatically checked by the system.")?>
- if(array_key_exists('rejected',$_SESSION['_config']) && is_array($_SESSION['_config']['rejected'])) { ?>
-
=_("The following hostnames were rejected because the system couldn't link them to your account, if they are valid please verify the domains against your account.")?>
- foreach($_SESSION['_config']['rejected'] as $row) { ?>
-=_("Rejected")?>: =$row?>
- } } ?>
- if(is_array($_SESSION['_config']['rows']) || is_array($_SESSION['_config']['altrows'])) { ?>
-
=_("Unable to continue as no valid commonNames or subjectAltNames were present on your certificate request.")?>
- } ?>
+=_("No additional information will be included on certificates because it ".
+ "can not be automatically checked by the system.")?>
+if (array_key_exists('rejected',$_SESSION['_config']) &&
+ is_array($_SESSION['_config']['rejected'])) {
+ echo _("The following hostnames were rejected because the system couldn't ".
+ "link them to your account, if they are valid please verify the ".
+ "domains against your account."), "
\n";
+
+ foreach ($_SESSION['_config']['rejected'] as $row) {
+ echo _("Rejected");
+ echo ": $row
\n";
+ }
+}
+?>
+ =_("Unable to continue as no valid commonNames or ". + "subjectAltNames were present on your certificate request.")?> +
+ +} diff --git a/pages/account/21.php b/pages/account/21.php index 6c3786b..75827fb 100644 --- a/pages/account/21.php +++ b/pages/account/21.php @@ -14,41 +14,57 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ ?> - - $org = $_SESSION['_config']['row']; - if($org['id'] <= 0) - $org = $_SESSION['_config']['altrow']; +*/ + +$org = $_SESSION['_config']['row']; +if ($org['id'] <= 0) { + $org = $_SESSION['_config']['altrow']; +} ?> --=_("Please make sure the following details are correct before proceeding any further.")?> -
- if(is_array($_SESSION['_config']['rows']))
- foreach($_SESSION['_config']['rows'] as $row) { ?>
-=_("CommonName")?>: =$row?>
- } ?>
- if(is_array($_SESSION['_config']['altrows']))
- foreach($_SESSION['_config']['altrows'] as $row) { ?>
-=_("subjectAltName")?>: =$row?>
- } ?>
-=_("Organisation")?>: =$org['O']?>
-=_("Org. Unit")?>: =($_SESSION['_config']['OU'])?>
-=_("Location")?>: =$org['L']?>
-=_("State/Province")?>: =$org['ST']?>
-=_("Country")?>: =$org['C']?>
+=_("Please make sure the following details are correct before proceeding ".
+ "any further.")?>
+
+if (is_array($_SESSION['_config']['rows'])) {
+ foreach ($_SESSION['_config']['rows'] as $row) {
+ echo _("CommonName"), ": $row
\n";
+ }
+}
-