Commit 5d665388 authored by Jérôme Jutteau's avatar Jérôme Jutteau

Added default TOS from opensource.org wich should be configured for each web sites.

parent 32828088
......@@ -146,7 +146,7 @@ if (!has_error () && $writable)
<hr /><div id = "moreoptions"> <p><label><input type =
"checkbox" name =
"one_time_download" /><?php echo _('One time download');
?></label></p> <p><label for = "input_key"
?></label></p><br/><p><label for = "input_key"
><?php echo _('Password') . ':';
?></label> <input type = "text" name = "key" id = "input_key" /></p>
<p><label for = "select_time"
......
<div id="copyright">
<p><a href="https://gitorious.org/jirafeau/"><?php echo _('powered by Jirafeau'); ?></a><br /><a href="http://www.gnu.org/licenses/agpl.html">copyright</a> &copy; 2008-2012 <a href="https://gitorious.org/jirafeau/"><?php echo _('Jirafeau Project'); ?></a></p>
<p><a href="https://gitorious.org/jirafeau/"><?php echo _('powered by Jirafeau'); ?></a><br />
<a href="http://www.gnu.org/licenses/agpl.html">copyright</a> &copy; 2008-2012 <a href="https://gitorious.org/jirafeau/">
<?php echo _('Jirafeau Project'); ?></a></p>
<p><a href="tos.php">Terms of Service</a></p>
</div>
</div>
......
<?php
define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/');
require (JIRAFEAU_ROOT . 'lib/config.php');
require (JIRAFEAU_ROOT . 'lib/settings.php');
require (JIRAFEAU_ROOT . 'lib/functions.php');
require (JIRAFEAU_ROOT . 'lib/lang.php');
require (JIRAFEAU_ROOT . 'lib/template/header.php');
$url = $cfg['web_root'];
$org = "[THIS WEBSITE]";
$contact = "
By email:
contact@[THIS WEBSITE]
";
include (JIRAFEAU_ROOT . 'tos_text.php');
echo '<h2>Terms of Service</h2>';
echo '<div>';
echo '<textarea readonly="readonly" rows="210" cols="80">';
echo $tos;
echo '</textarea>';
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>';
echo '</div>';
require (JIRAFEAU_ROOT . 'lib/template/footer.php');
?>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment