summaryrefslogtreecommitdiff
path: root/horde/imp4/motd.php
diff options
context:
space:
mode:
Diffstat (limited to 'horde/imp4/motd.php')
-rw-r--r--horde/imp4/motd.php56
1 files changed, 56 insertions, 0 deletions
diff --git a/horde/imp4/motd.php b/horde/imp4/motd.php
new file mode 100644
index 0000000..16d90d3
--- /dev/null
+++ b/horde/imp4/motd.php
@@ -0,0 +1,56 @@
+<!-- This file contains any "Message Of The Day" Type information -->
+<!-- It will be included below the log-in form on the login page. -->
+
+<?php
+/**
+ * $Horde: imp/config/motd.php.dist,v 1.8.6.2 2005/10/18 12:13:29 jan Exp $
+ *
+ * Example code for switching between HTTP and HTTPS.
+ * Contributed by: James <james@james-web.net>
+ * To use, unncomment and modify these variables:
+ *
+ * $SERVER_SSL_PORT - Port on which your SSL server listens (Usually 443)
+ * $SERVER_HTTP_PORT - Port on which your HTTP server listens (Usually 80)
+ * $SERVER_SSL_URL - Full URL to your HTTPS server and Horde directory
+ * $SERVER_HTTP_URL - Full URL to your HTTP server and Horde directory
+ */
+
+// $SERVER_SSL_PORT = 443;
+// $SERVER_HTTP_PORT = 80;
+// $SERVER_SSL_URL = 'https://www.example.com';
+// $SERVER_HTTP_URL = 'http://www.example.com';
+//
+// $port = $_SERVER['SERVER_PORT'];
+//
+// echo '<br /><div align="center" class="light">';
+//
+// switch ($port) {
+// case $SERVER_SSL_PORT:
+// echo _("You are currently using Secure HTTPS<br />");
+// break;
+//
+// case $SERVER_HTTP_PORT:
+// echo _("You are currently using Standard HTTP<br />");
+// break;
+// }
+//
+// echo '<a class="small" href="' . $SERVER_HTTP_URL . '" target="_parent">' . _("Click here for Standard HTTP") . '</a> - <a class="small" href="' . $SERVER_SSL_URL . '" target="_parent">' . _("Click here for Secure HTTPS") . '</a></div>';
+
+?>
+
+<P align="center" class="light">
+Bookmark the following alternatives now, in case this site goes down one day:<BR>
+<A href="https://mail.jones.dk/" target="_top" class="helpitem">dr. Jones</A>,
+<A href="https://mail.homebase.dk/" target="_top" class="helpitem">Homebase</A>,
+<A href="http://mail.107b.dk/" target="_top" class="helpitem">Lab</A>,
+<A href="https://mail.bitbase.dk/" target="_top" class="helpitem">Bitbase</A>,
+<A href="https://mail.kaospilot.no/" target="_top" class="helpitem">KaosPilotene Norge</A>,
+<A href="http://mail.dgi-huset.dk/" target="_top" class="helpitem">DGI-huset</A>,
+<A href="http://mail.idraetsdaghojskolen.dk/" target="_top" class="helpitem">IDA</A>.
+</P>
+<P align="center" class="light">
+Always remember to select your home organisation at login!<BR>
+</P>
+
+<br />
+<table width="100%"><tr><td align="center"><?php echo Horde::img('horde-power1.png', _("Powered by Horde"), '', $registry->getImageDir('horde')) ?></td></tr></table>