Youssef,
Here is the code for the login page. Once caveat is we would like this HTML text to be displayed on every page even after login. Is this possible?
Thanks.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>CEDAR Frontier - Login</title>
<link href="/css/frontier.css" rel="stylesheet" type="text/css">
<script type="text/javascript" LANGUAGE="JavaScript">
function doload(){
document.loginForm.username.focus();
}
function processSubmit()
{
var ef = document.loginForm;
if((ef.username.value == null) || (ef.username.value == '')){
alert("Please enter User ID");
ef.username.focus();
}
else if((ef.userpassword.value == null) || (ef.userpassword.value == '')){
alert("Please enter password");
ef.userpassword.focus();
}
else{
ef.submit();
}
}
function handleKeydown(e)
{
if(!e)
var e = window.event;
key = e.keyCode;
if(key == 13){
processSubmit();
}
}
document.onkeydown = handleKeydown;
</script>
</head>
<body>
<a name="top"></a>
<div class="page">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td width="44%" valign="top"><a href="/"><img src="/images/logo.svg" style="height: 45px;" alt="Logo" class="logo"></a></td>
<td width="46%"> </td>
<td width="10%" valign="top"><div class="markbox"><a href="http://www.cedardoc.com/" target="_blank"><img src="/images/PoweredBy_CEDAR.gif" alt="" border="0"></a></div></td>
</tr>
</tbody>
</table>
<br>
<div class="navigation">
<ul class="tierone">
<li> </li>
</ul>
<ul class="tiertwo">
<li> </li>
</ul>
</div>
<div class="content">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" nowrap class="pagetitle">Welcome!</td>
<td width="50%" align="right" nowrap></td>
</tr>
<tr>
<td width="50%" nowrap class="subtitle">Log in</td>
<td width="50%" align="right" nowrap></td>
</tr>
</table>
<form name="loginForm" method="POST" action="/frontier/action/processLogin" onsubmit="javascript: return false">
<input type="hidden" name="client_id" value="170">
<table border="0" align="center" cellpadding="4">
<tr>
<td align="right"> User ID:</td>
<td align="left"><input type="text" name="username"></td>
</tr>
<tr>
<td align="right" valign="top">Password:</td>
<td align="left" valign="top"><input type="password" name="userpassword" autocomplete="off">
<br>
<a href="/frontier/action/forgotPw?client_id=170" class="description">Forgot Password?</a> <a href="/frontier/action/forgotPw?client_id=170&actionType=showForgotUserId" class="description">Forgot User ID?</a> </td>
</tr>
<tr>
<td align="right"> </td>
<td align="left"></td>
</tr>
<tr>
<td align="center"> </td>
<td align="center"><div class="buttonstyle">
<div class="buttoneach"><a href="javascript:processSubmit()">Submit</a></div>
</div></td>
</tr>
</table>
</form>
<p> </p>
</div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" nowrap class="footermenu"> </td>
<td class="frontier">llFrontier by CEDAR document technologies</td>
</tr>
</table>
</div>
</body>
</html>