Source code taken from cacert-20110728.tar.bz2
[cacert.git] / www / policy / index.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 loadem("index");
19 showheader(_("CAcert - Policies"));
20 ?>
21
22 <h1>CAcert Policies</h1>
23 <ul>
24 <?php
25
26 foreach (glob("*.html") as $filename)
27 {
28 echo "<li><a href='$filename'>$filename</a></li>\n";
29 }
30
31 foreach (glob("*.php") as $filename)
32 {
33 if($filename != "index.php" && $filename != "NRPDisclaimerAndLicence.php")
34 {
35 echo "<li><a href='$filename'>$filename</a></li>\n";
36 }
37 }
38
39
40 ?>
41 </ul>
42 </body>
43 </html>