1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
<!-- 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>';
?>
<br />
<table width="100%"><tr><td align="center"><?php echo Horde::img('horde-power1.png', _("Powered by Horde"), '', $registry->getImageDir('horde')) ?></td></tr></table>
|