]> git.p6c8.net - jirafeau/mojo42.git/blobdiff - tos.php
Added default TOS from opensource.org wich should be configured for each web sites.
[jirafeau/mojo42.git] / tos.php
diff --git a/tos.php b/tos.php
new file mode 100755 (executable)
index 0000000..b973d4d
--- /dev/null
+++ b/tos.php
@@ -0,0 +1,26 @@
+<?php\r
+define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/');\r
+require (JIRAFEAU_ROOT . 'lib/config.php');\r
+require (JIRAFEAU_ROOT . 'lib/settings.php');\r
+require (JIRAFEAU_ROOT . 'lib/functions.php');\r
+require (JIRAFEAU_ROOT . 'lib/lang.php');\r
+require (JIRAFEAU_ROOT . 'lib/template/header.php');\r
+\r
+$url = $cfg['web_root'];\r
+$org = "[THIS WEBSITE]";\r
+$contact = "\r
+By email:\r
+    contact@[THIS WEBSITE]\r
+";\r
+\r
+include (JIRAFEAU_ROOT . 'tos_text.php');\r
+\r
+echo '<h2>Terms of Service</h2>';\r
+echo '<div>';\r
+echo '<textarea readonly="readonly" rows="210" cols="80">';\r
+echo $tos;\r
+echo '</textarea>';\r
+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>';\r
+echo '</div>';\r
+require (JIRAFEAU_ROOT . 'lib/template/footer.php');\r
+?>
\ No newline at end of file

patrick-canterino.de