mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-12-01 02:27:24 +01:00
customizable footer text in config
This commit is contained in:
parent
a144edd924
commit
e7eb4e856d
@ -21,6 +21,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Ignore this */
|
||||||
$config = Array(
|
$config = Array(
|
||||||
'db' => Array(),
|
'db' => Array(),
|
||||||
'cache' => Array(),
|
'cache' => Array(),
|
||||||
@ -38,8 +39,10 @@
|
|||||||
'remote' => Array(),
|
'remote' => Array(),
|
||||||
'allowed_ext' => Array(),
|
'allowed_ext' => Array(),
|
||||||
'allowed_ext_files' => 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)
|
// Number of characters in the poster ID (maximum is 40)
|
||||||
$config['poster_id_length'] = 5;
|
$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)
|
// Characters used to generate a random password (with Javascript)
|
||||||
$config['genpassword_chars'] = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+';
|
$config['genpassword_chars'] = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+';
|
||||||
|
|
||||||
|
@ -57,7 +57,6 @@
|
|||||||
{% endfor %} {{ btn.next }}</div>
|
{% endfor %} {{ btn.next }}</div>
|
||||||
{{ boardlist.bottom }}
|
{{ 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 © 2010-2011 Tinyboard Development Group</p>
|
<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 © 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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -58,7 +58,6 @@
|
|||||||
|
|
||||||
{{ boardlist.bottom }}
|
{{ 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 © 2010-2011 Tinyboard Development Group</p>
|
<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 © 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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user