summaryrefslogtreecommitdiffstats
path: root/templates/show_login_form.inc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_login_form.inc')
-rw-r--r--templates/show_login_form.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/show_login_form.inc b/templates/show_login_form.inc
index 3068dd5d..ea271460 100644
--- a/templates/show_login_form.inc
+++ b/templates/show_login_form.inc
@@ -65,3 +65,10 @@ function focus(){ document.login.username.focus(); }
<?php } // end if (conf('allow_public_registration')) ?>
</div>
</div>
+<?php
+if (@is_readable(Config::get('prefix') . '/config/motd.php')) {
+ show_box_top(_('Message of the Day'));
+ include Config::get('prefix') . '/config/motd.php';
+ show_box_bottom();
+}
+?>