Location: PHPKode > projects > ProjectPress > projectpress/pm-includes/tpl/login.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	
	<title>Login Page</title>

	<link rel="stylesheet" type="text/css" href="[@pmurl]/css/login-style.css" />
	<script type="text/javascript">
	function Validate()
	{
    if (document.login_form.username.value == '') 
    {
        alert('Please fill in your username!');
        return false;
    }
	if (document.login_form.password.value == '') 
    {
        alert('Please fill in your password!');
        return false;
    }
    return true;
}
	</script>
</head>
<body>
<div id="login">
	<h1>Log in</h1>
	<form name="login_form" action="[@phpself]" method="post" onsubmit="return Validate();">
		<div id="loginUsernameDiv">
			<label for="loginUsername">Username</label>
			<input type="text" id="loginUsername" name="username"/>
		</div>
		
		<div id="loginPasswordDiv">
			<label for="loginPassword">Password</label>
			<input type="password" id="loginPassword" name="password"/>
		</div>
			
		<div class="clean"></div>
		
		<div style="margin-top: 6px">
			<input type="checkbox" id="loginRememberMe" class="checkbox" name="remember_me"/>  <label for="loginRememberMe" class="checkbox">Remember me</label>
		</div>
			
			<br />
		<div id="loginSubmit">
			<input id="sub_button" type="submit" class="button" name="login" value="Submit"/>
		</div>
	</form>
</div>
	
	<p>&nbsp;</p>
	<p><a href="register.php">Register</a> | <a href="forgot.php">Reset Password</a></p>
	
</body>
</html>
Return current item: ProjectPress