summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-09-03 16:41:47 +0200
committerSimon Rettberg2014-09-03 16:41:47 +0200
commit605ab5c6c188aafa29d1ce81d61fffc23fb3304e (patch)
treee46d72c305457508e230ecd328a174d35cc27360 /index.php
parent[i18n] Remove empty tags from json output (diff)
downloadslx-admin-605ab5c6c188aafa29d1ce81d61fffc23fb3304e.tar.gz
slx-admin-605ab5c6c188aafa29d1ce81d61fffc23fb3304e.tar.xz
slx-admin-605ab5c6c188aafa29d1ce81d61fffc23fb3304e.zip
Add CONFIG_FOOTER option; if set, it will be appended to the bottom of the page, via templates/footer.html
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index e3d220fc..3b1effa6 100644
--- a/index.php
+++ b/index.php
@@ -139,5 +139,9 @@ if (defined('CONFIG_DEBUG') && CONFIG_DEBUG) {
Render::closeTag('div');
}
+if (defined('CONFIG_FOOTER')) {
+ Render::addTemplate('footer', array('text' => CONFIG_FOOTER));
+}
+
// Send page to client.
Render::output();