5f94122936b23974347457f9c55d769a71f3deee
[cacert-devel.git] / pages / account / 11.php
1 <? /*
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 <?=_("Please make sure the following details are correct before proceeding ".
21 "any further.")?>
22 </p>
23
24 <p><?
25 if (is_array($_SESSION['_config']['rows'])) {
26 foreach ($_SESSION['_config']['rows'] as $row) {
27 echo _("CommonName"), ": $row<br>\n";
28 }
29 }
30
31 if (is_array($_SESSION['_config']['altrows'])) {
32 foreach ($_SESSION['_config']['altrows'] as $row) {
33 echo _("subjectAltName"), ": $row<br>\n";
34 }
35 }
36 ?></p>
37
38 <p>
39 <?=_("No additional information will be included on certificates because it ".
40 "can not be automatically checked by the system.")?>
41 </p>
42
43 <p><?
44 if (array_key_exists('rejected',$_SESSION['_config']) &&
45 is_array($_SESSION['_config']['rejected'])) {
46 echo _("The following hostnames were rejected because the system couldn't ".
47 "link them to your account, if they are valid please verify the ".
48 "domains against your account."), "<br>\n";
49
50 foreach ($_SESSION['_config']['rejected'] as $row) {
51 echo _("Rejected");
52 echo ": <a href='account.php?id=7&amp;newdomain=$row'>$row</a><br>\n";
53 }
54 }
55 ?></p>
56
57 <?
58 if (is_array($_SESSION['_config']['rows']) ||
59 is_array($_SESSION['_config']['altrows'])) {
60 ?>
61 <form method="post" action="account.php">
62 <p>
63 <input type="submit" name="process" value="<?=_("Submit")?>">
64 <input type="hidden" name="oldid" value="<?=$id?>">
65 </p>
66 </form>
67 <?
68 } else {
69 ?>
70 <p>
71 <b><?=_("Unable to continue as no valid commonNames or ".
72 "subjectAltNames were present on your certificate request.")?></b>
73 </p>
74 <?
75 }