discourse-legacysite-perl/site/forum/local/lost_password_enter_username.html
2024-06-17 22:24:05 +10:00

86 lines
3.1 KiB
HTML

<!DOCTYPE html >
<html lang="en">
<head>
<title><%cat_full_name%>: Lost Password</title>
<%include include_common_head.html%>
</head>
<%~set content_header_title = 'Lost Password'%>
<body class="page-<%page_id%>">
<div class="container-b">
<%include include_header.html%>
<div class="main">
<div class="contentwrapper clearfix">
<div class="sidebar">
<%include include_sidebar.html%>
</div>
<%~set content_header_title = 'Lost Password'%>
<%~init array breadcrumbs%><%init hash breadcrumbs.0%>
<%~set breadcrumbs.0.name = 'Lost Password'%>
<%include include_breadcrumb.html%>
<div class="content"><%-- start content--%>
<%include include_content_header.html%>
<%if form.page_errors%><p class="error">Enter your Username</p><%endif%>
<p>
If you have lost your password, <%cat_full_name%> can generate a new temporary
password for you to log in with. Note that after logging in the temporary
password will be lost so you should change your password immediately upon
logging in with the temporary password. The temporary password will be sent
to you at the e-mail address you specified when signing up.
</p>
<form action="<%GForum::SEO::url()%>" method="post">
<%hidden_form%>
<input type="hidden" name="do" value="lost_password" />
<input type="hidden" name="page_errors" value="1" />
<div class="dtable form">
<div class="drow">
<div class="dcell name">Your Username <span>*</span></div>
<div class="dcell divider"></div>
<div class="dcell value">
<input type="text" id="user_username" name="user_username" class="txt shotext" />
</div>
</div>
<%~set captcha_active = Plugins::GForum::GoogleCaptcha::is_captcha_enabled()%>
<%~if captcha_active%>
<div class="drow">
<div class="dcell name">Prove you're not a robot</div>
<div class="dcell divider"></div>
<div class="dcell value">
<%Plugins::GForum::GoogleCaptcha::get_rcaptcha_image()%>
</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="Send Password" class="btn default" />
<p class="note">* The temporary password will be sent to the e-mail address you entered while registering.</p>
</div>
</div>
</div>
</form>
</div>
</div><%-- end content --%>
</div>
<%include include_footer.html%>
</div>
</body>
<%~include include_global_js.html%>
<script type="text/javascript">
$(document).ready(function () {
$('#user_username').focus();
});
</script>
</html>