diff --git a/mod.php b/mod.php index ff5840c4..b0e6cb08 100644 --- a/mod.php +++ b/mod.php @@ -2088,6 +2088,8 @@ $value = '' . utf8tohtml(substr($value, 0, 110) . (mb_strlen($value) > 110 ? '…' : '')) . ''; } elseif(gettype($value) == 'integer') { $value = '' . $value . ''; + } elseif(is_object($value) && get_class($value) == 'Closure') { + $value = '[callback]'; } $data .= diff --git a/stylesheets/style.css b/stylesheets/style.css index cc444734..d77f05b5 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -38,22 +38,24 @@ p.intro label { h2 { color: #AF0A0F; font-size: 11pt; - margin: 0px; - padding: 0px; + margin: 0; + padding: 0; } -h1 { +header { + margin: 1em 0; +} +header h1 { font-family: tahoma; letter-spacing: -2px; font-size: 20pt; - margin-bottom: 0; + margin: 0; } -div.title, h1 { +header div.subtitle, h1 { color: #AF0A0F; text-align: center; } -div.title { +header div.subtitle { font-size: 8pt; - margin-bottom: 2em; } form { margin-bottom: 4em; diff --git a/templates/index.html b/templates/index.html index 1e277256..f89199aa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -34,8 +34,15 @@ {{ boardlist.top }} {% if pm %}
{% if mod %}{% trans %}Return to dashboard{% endtrans %}{% endif %}
Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2012 Tinyboard Development Group
- {% for footer in config.footer %}{{ footer }}
{% endfor %} + diff --git a/templates/page.html b/templates/page.html index e2ad0acb..39d73bbd 100644 --- a/templates/page.html +++ b/templates/page.html @@ -11,10 +11,19 @@ {% if pm %}{% if mod %}{% trans %}Return to dashboard{% endtrans %}{% endif %}
Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2012 Tinyboard Development Group
+