summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.php4
-rw-r--r--templates/footer.html2
2 files changed, 6 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();
diff --git a/templates/footer.html b/templates/footer.html
new file mode 100644
index 00000000..a89a4338
--- /dev/null
+++ b/templates/footer.html
@@ -0,0 +1,2 @@
+<hr>
+<div class="pull-right">{{text}}</div>