]> git.p6c8.net - jirafeau_mojo42.git/blob - tos.php
[BUGFIX] Deliver JavaScript with correct MIME type
[jirafeau_mojo42.git] / tos.php
1 <?php
2 /*
3 * Jirafeau, your web file repository
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Affero General Public License as
7 * published by the Free Software Foundation, either version 3 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 */
18
19 define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/');
20 require (JIRAFEAU_ROOT . 'lib/config.original.php');
21 require (JIRAFEAU_ROOT . 'lib/settings.php');
22 require (JIRAFEAU_ROOT . 'lib/functions.php');
23 require (JIRAFEAU_ROOT . 'lib/lang.php');
24 require (JIRAFEAU_ROOT . 'lib/template/header.php');
25
26 $url = $cfg['web_root'] . 'tos.php';
27 $org = "[THIS WEBSITE]";
28 $contact = "
29 By email:
30 contact@[THIS WEBSITE]
31 ";
32
33 include (JIRAFEAU_ROOT . 'tos_text.php');
34
35 echo '<h2>Terms of Service</h2>';
36 echo '<div>';
37 echo '<textarea readonly="readonly" rows="210" cols="80">';
38 echo $tos;
39 echo '</textarea>';
40 echo '<p>This license text is under <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons - Attribution 3.0 Unported</a>.</p><p>It has been based on this work: <a href="http://opensource.org/ToS">http://opensource.org/ToS</a></p>';
41 echo '</div>';
42 require (JIRAFEAU_ROOT . 'lib/template/footer.php');
43 ?>

patrick-canterino.de