summaryrefslogtreecommitdiff
path: root/horde/imp4/motd.php
blob: 16d90d3cae463865a89f0a5f06743cb263edadda (plain)
  1. <!-- This file contains any "Message Of The Day" Type information -->
  2. <!-- It will be included below the log-in form on the login page. -->
  3. <?php
  4. /**
  5. * $Horde: imp/config/motd.php.dist,v 1.8.6.2 2005/10/18 12:13:29 jan Exp $
  6. *
  7. * Example code for switching between HTTP and HTTPS.
  8. * Contributed by: James <james@james-web.net>
  9. * To use, unncomment and modify these variables:
  10. *
  11. * $SERVER_SSL_PORT - Port on which your SSL server listens (Usually 443)
  12. * $SERVER_HTTP_PORT - Port on which your HTTP server listens (Usually 80)
  13. * $SERVER_SSL_URL - Full URL to your HTTPS server and Horde directory
  14. * $SERVER_HTTP_URL - Full URL to your HTTP server and Horde directory
  15. */
  16. // $SERVER_SSL_PORT = 443;
  17. // $SERVER_HTTP_PORT = 80;
  18. // $SERVER_SSL_URL = 'https://www.example.com';
  19. // $SERVER_HTTP_URL = 'http://www.example.com';
  20. //
  21. // $port = $_SERVER['SERVER_PORT'];
  22. //
  23. // echo '<br /><div align="center" class="light">';
  24. //
  25. // switch ($port) {
  26. // case $SERVER_SSL_PORT:
  27. // echo _("You are currently using Secure HTTPS<br />");
  28. // break;
  29. //
  30. // case $SERVER_HTTP_PORT:
  31. // echo _("You are currently using Standard HTTP<br />");
  32. // break;
  33. // }
  34. //
  35. // 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>';
  36. ?>
  37. <P align="center" class="light">
  38. Bookmark the following alternatives now, in case this site goes down one day:<BR>
  39. <A href="https://mail.jones.dk/" target="_top" class="helpitem">dr. Jones</A>,
  40. <A href="https://mail.homebase.dk/" target="_top" class="helpitem">Homebase</A>,
  41. <A href="http://mail.107b.dk/" target="_top" class="helpitem">Lab</A>,
  42. <A href="https://mail.bitbase.dk/" target="_top" class="helpitem">Bitbase</A>,
  43. <A href="https://mail.kaospilot.no/" target="_top" class="helpitem">KaosPilotene Norge</A>,
  44. <A href="http://mail.dgi-huset.dk/" target="_top" class="helpitem">DGI-huset</A>,
  45. <A href="http://mail.idraetsdaghojskolen.dk/" target="_top" class="helpitem">IDA</A>.
  46. </P>
  47. <P align="center" class="light">
  48. Always remember to select your home organisation at login!<BR>
  49. </P>
  50. <br />
  51. <table width="100%"><tr><td align="center"><?php echo Horde::img('horde-power1.png', _("Powered by Horde"), '', $registry->getImageDir('horde')) ?></td></tr></table>