Advertisements
This commit is contained in:
parent
1b10821603
commit
d4a1ae3595
@ -728,6 +728,15 @@
|
||||
// Automatically remove unnecessary whitespace when compiling HTML files from templates.
|
||||
$config['minify_html'] = true;
|
||||
|
||||
/*
|
||||
* Advertisement HTML to appear at the top and bottom of board pages.
|
||||
*/
|
||||
|
||||
// $config['ad'] = array(
|
||||
// 'top' => '',
|
||||
// 'bottom' => '',
|
||||
// );
|
||||
|
||||
/*
|
||||
* ====================
|
||||
* Javascript
|
||||
|
@ -42,6 +42,8 @@
|
||||
{% include 'boardlist.html' %}
|
||||
{% endif %}
|
||||
|
||||
{{ config.ad.top }}
|
||||
|
||||
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
|
||||
<hr />
|
||||
<form name="postcontrols" action="{{ config.post_url }}" method="post">
|
||||
@ -54,6 +56,9 @@
|
||||
[<a {% if page.selected %}class="selected"{% endif %}{% if not page.selected %}href="{{ page.link }}"{% endif %}>{{ page.num }}</a>]{% if loop.last %} {% endif %}
|
||||
{% endfor %} {{ btn.next }}</div>
|
||||
{{ boardlist.bottom }}
|
||||
|
||||
{{ config.ad.bottom }}
|
||||
|
||||
<footer>
|
||||
<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-2013 Tinyboard Development Group</p>
|
||||
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
|
||||
|
@ -34,6 +34,8 @@
|
||||
|
||||
{% include 'post_form.html' %}
|
||||
|
||||
{{ config.ad.top }}
|
||||
|
||||
{% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
|
||||
<hr />
|
||||
<form name="postcontrols" action="{{ config.post_url }}" method="post">
|
||||
@ -45,6 +47,9 @@
|
||||
<a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
|
||||
|
||||
{{ boardlist.bottom }}
|
||||
|
||||
{{ config.ad.bottom }}
|
||||
|
||||
<footer>
|
||||
<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-2013 Tinyboard Development Group</p>
|
||||
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user