First commit of tag changes. bug-1444
[cacert-devel.git] / pages / account / 11.php
1 <?php /*
2 LibreSSL - CAcert web application
3 Copyright (C) 2004-2008 CAcert Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */ ?>
18
19 <p>
20 <?php echo _("Please make sure the following details are correct before proceeding ".
21 "any further.")?>
22 </p>
23
24 <p><?php if (is_array($_SESSION['_config']['rows'])) {
25 foreach ($_SESSION['_config']['rows'] as $row) {
26 echo _("CommonName"), ": $row<br>\n";
27 }
28 }
29
30 if (is_array($_SESSION['_config']['altrows'])) {
31 foreach ($_SESSION['_config']['altrows'] as $row) {
32 echo _("subjectAltName"), ": $row<br>\n";
33 }
34 }
35 ?></p>
36
37 <p>
38 <?php echo _("No additional information will be included on certificates because it ".
39 "can not be automatically checked by the system.")?>
40 </p>
41
42 <p><?php if (array_key_exists('rejected',$_SESSION['_config']) &&
43 is_array($_SESSION['_config']['rejected'])) {
44 echo _("The following hostnames were rejected because the system couldn't ".
45 "link them to your account, if they are valid please verify the ".
46 "domains against your account."), "<br>\n";
47
48 foreach ($_SESSION['_config']['rejected'] as $row) {
49 echo _("Rejected");
50 echo ": <a href='account.php?id=7&amp;newdomain=$row'>$row</a><br>\n";
51 }
52 }
53 ?></p>
54
55 <?php if (is_array($_SESSION['_config']['rows']) ||
56 is_array($_SESSION['_config']['altrows'])) {
57 ?>
58 <form method="post" action="account.php">
59 <p>
60 <input type="submit" name="process" value="<?php echo _("Submit")?>">
61 <input type="hidden" name="oldid" value="<?php echo $id?>">
62 </p>
63 </form>
64 <?php } else {
65 ?>
66 <p>
67 <b><?php echo _("Unable to continue as no valid commonNames or ".
68 "subjectAltNames were present on your certificate request.")?></b>
69 </p>
70 <?php }