Footer version string pulled from .installed
This commit is contained in:
parent
f6a4997780
commit
a88f89a4aa
@ -19,6 +19,10 @@
|
||||
require $board['dir'] . '/config.php';
|
||||
}
|
||||
|
||||
if(!isset($__version))
|
||||
$__version = trim(file_get_contents('.installed'));
|
||||
$config['version'] = $__version;
|
||||
|
||||
if($config['debug']) {
|
||||
if(!isset($debug)) {
|
||||
$debug = Array('sql' => Array(), 'purge' => Array(), 'cached' => Array());
|
||||
|
@ -157,7 +157,7 @@
|
||||
[<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 }}
|
||||
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> v0.9.4 | <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>
|
||||
|
||||
</body>
|
||||
|
@ -15,6 +15,6 @@
|
||||
<div class="title">{% if subtitle %}{{subtitle}}{% endif %}<p>{% if mod %}<a href="?/">Return to dashboard</a>{% endif %}</p></div>
|
||||
{{ body }}
|
||||
<hr />
|
||||
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> v0.9.4 | <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>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -149,7 +149,7 @@
|
||||
<a href="{{ return }}">[Return]</a>
|
||||
|
||||
{{ boardlist.bottom }}
|
||||
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> v0.9.4 | <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>
|
||||
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user