75 lines
3.0 KiB
HTML
75 lines
3.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<%~if logout and error%>
|
|
<%~set message = $error%>
|
|
<%~set error = ''%>
|
|
<%~endif%>
|
|
<%~if url and not error%>
|
|
<%~set error = 'You must first login before you can access that.'%>
|
|
<%~endif%>
|
|
<html>
|
|
<head>
|
|
<title><%site_title%>: User Login</title>
|
|
<%include include_common_head.html%>
|
|
</head>
|
|
<body id="login">
|
|
<%~if ad_wallpaper%>
|
|
<%ad_wallpaper%>
|
|
<%~endif%>
|
|
|
|
<div class="container">
|
|
<%include include_header.html%>
|
|
<div class="main">
|
|
<div class="contentwrapper clearfix">
|
|
<div class="breadcrumb">
|
|
<%Links::Utils::format_title($main_title_loop, separator => ' > ', no_escape_separator => $no_escape_crumb_separator, include_home => 1, link_type => 2)%>
|
|
</div>
|
|
|
|
<div class="content"><%-- start content--%>
|
|
<h1>User Login</h1>
|
|
|
|
<form action="<%config.db_cgi_url%>/user.cgi" method="post">
|
|
<input type="hidden" name="login" value="1" />
|
|
<%if url%><input type="hidden" name="url" value="<%escape_html url%>" /><%endif%>
|
|
<div class="dtable form">
|
|
<div class="drow">
|
|
<div class="dcell name">Username</div>
|
|
<div class="dcell divider"></div>
|
|
<div class="dcell value">
|
|
<input type="text" id="Username" name="Username" value="<%if Username%><%escape_html Username%><%endif%>" class="txt midtext" />
|
|
</div>
|
|
</div>
|
|
<div class="drow">
|
|
<div class="dcell name">Password</div>
|
|
<div class="dcell divider"></div>
|
|
<div class="dcell value">
|
|
<input type="password" id="Password" name="Password" class="txt midtext" />
|
|
</div>
|
|
</div>
|
|
<%~if config.user_sessions eq Cookies%>
|
|
<div class="drow remember-me">
|
|
<div class="dcell name">Remember me</div>
|
|
<div class="dcell divider"></div>
|
|
<div class="dcell value">
|
|
<input type="checkbox" id="Remember_me" name="remember_me" value="1" class="checkbox" />
|
|
</div>
|
|
</div>
|
|
<%~endif%>
|
|
<div class="drow actions">
|
|
<div class="dcell name"></div>
|
|
<div class="dcell divider"></div>
|
|
<div class="dcell value">
|
|
<input type="submit" value="Login" class="btn" />
|
|
<p><em>If you've forgotten your password, we can <a href="<%config.db_cgi_url%>/user.cgi?email_pass=1">e-mail it to you</a>.</em></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div><%-- end content --%>
|
|
</div>
|
|
</div>
|
|
<%include include_footer.html%>
|
|
</div>
|
|
</body>
|
|
<%~include include_global_js.html%>
|
|
</html>
|