Browse Source

Advertisements

pull/40/head
ctrlcctrlv 11 years ago
parent
commit
d4a1ae3595
  1. 9
      inc/config.php
  2. 5
      templates/index.html
  3. 5
      templates/thread.html

9
inc/config.php

@ -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

5
templates/index.html

@ -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 &copy; 2010-2013 Tinyboard Development Group</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}

5
templates/thread.html

@ -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 &copy; 2010-2013 Tinyboard Development Group</p>
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}

Loading…
Cancel
Save