%# $Cambridge: hermes/src/prayer/templates/old/login.t,v 1.2 2008/10/02 07:01:57 dpc22 Exp $
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
% IFDEF $g_service_name
<title><% $g_service_name |h %> Webmail service</title>
% ELSE
<title>Prayer Webmail service</title>
% ENDIF
<meta name="robots" content="none" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/static/common.css" type="text/css" />
<link rel="stylesheet"
      href="/static/<% $g_theme->name |n %>.css"
      type="text/css" />
<link rel="icon" type="image/png"  href="/icons/msg-seen.png" />
<script type="text/javascript">
 <!--
 var used = false; 
 function init(){
   if (self != top) top.location = self.location;
   if (!used) document.getElementById('credentials').username.focus();  }
 // -->
</script>
</head>
<body onload="init()">
%
% IFDEF $login_banner
<h1><i><% $login_banner |h %></i></h1>
% ELSE
%   IFDEF $service_name
<h1><i><% $service_name |h %> Webmail Service</i></h1>
%   ELSE
<h1><i>Prayer Webmail Service</i></h1>
%   ENDIF
% ENDIF
%
<form method="post" accept-charset="UTF-8" enctype="multipart/form-data"
      action="<% ${url_prefix} |n %>" id="credentials">
<table cellpadding="5">
<tr>
  <td>Username</td>
  <td><input id="username" name="username"
             value="<% $user |h %>" size="16" onfocus="used=true;" /></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" size="16" onfocus="used=true;"/></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>
    <input type="submit" name="login" value="Login" />
  </td>
</tr>
</table>
</form>
%
% IFDEF $ssl_available
<table>
<tr>
<td><strong>Warning:</strong></td><td>This is an insecure HTTP session.</td></tr>
<tr>
<td>&nbsp;</td>
<td>It is strongly recommended that you use SSL encryption if your browser supports it.
</td></tr>
<tr>
<td>&nbsp;</td>
<td><strong>
<a href="https://<% "${hostname}:${ssl_port}" |h %>">Click Here</a>
 for an SSL enabled login session.
</strong></td></tr>
</table>
% ENDIF
%
</body></html>
