Browse Source

customizable footer text in config

pull/40/head
Savetheinternet 12 years ago
parent
commit
e7eb4e856d
  1. 8
      inc/config.php
  2. 3
      templates/index.html
  3. 3
      templates/thread.html

8
inc/config.php

@ -21,6 +21,7 @@
*
*/
/* Ignore this */
$config = Array(
'db' => Array(),
'cache' => Array(),
@ -38,8 +39,10 @@
'remote' => Array(),
'allowed_ext' => Array(),
'allowed_ext_files' => Array(),
'file_icons' => Array()
'file_icons' => Array(),
'footer' => Array()
);
/* End ignore */
/*
* =======================
@ -465,6 +468,9 @@
// Number of characters in the poster ID (maximum is 40)
$config['poster_id_length'] = 5;
// Page footer
$config['footer'][] = 'All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.';
// Characters used to generate a random password (with Javascript)
$config['genpassword_chars'] = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+';

3
templates/index.html

@ -57,7 +57,6 @@
{% endfor %} {{ btn.next }}</div>
{{ boardlist.bottom }}
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2011 Tinyboard Development Group</p>
<p class="unimportant" style="text-align:center;">All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</body>
</html>

3
templates/thread.html

@ -58,7 +58,6 @@
{{ boardlist.bottom }}
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2011 Tinyboard Development Group</p>
<p class="unimportant" style="text-align:center;">All trademarks, copyrights, comments, and images on this page are owned by or are the responsibility of their respective parties.</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
</body>
</html>

Loading…
Cancel
Save