<!-- 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.3 2007/12/20 13:59:20 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>. </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>