1 : STRING:<<*TPL-MODEL
[section name=title, label='Page Title', type=string]
[section name=caption, label='Initial Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_subject, label='Subject', type=string]
[section name=message_html, label='HTML Email', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_text, label='Text Email', type=html, height=200, display=expanded]
[section name=message_sent, label='Email Sent Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_unsent, label='Unsent Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_existing, label='Existing Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_approved, label='Approved Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_not_approved, label='Not Approved Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_complete, label='Complete Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_invalid, label='Invalid Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[section name=message_expired, label='Expired Caption', type=html, editor='fckeditor', height=200, display=expanded, toolbar='Minimal']
[attr name=caption value="This template is for configuring the lost-password reset form."]
[attr name=uri value='/lost-password']
[attr name=visible value=false]
[attr name=dynamic value=true]
[attr name=deletable value=false]
[css name=templates]
TPL-MODEL*>>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><<$title>></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<<$meta_keywords|default:$sfs.global_keyw>>" />
<meta name="description" content="<<$meta_description|default:$sfs.global_desc>>" />
<<$metadata>>
<<res_include name='main' type='css'>>
<<$styles>>
<script src="/js/firebug/firebug.js" type="text/javascript" language="javascript"></script>
<<res_include name='main' type='js'>>
<<$scripts>>
</head>
<body>
<<*desc value=$LostPassword.debug*>>
<div id="section_<<$section>>" class="section">
<<include file="common/header.tpl">>
<<include file="common/menu.tpl">>
<<include file="common/nav.tpl">>
<<capture assign="change_password_form">>
<<if $LostPassword.error>>
<div class="bdr-btm bmarg">
<h2 class="bpad red bld" >ERROR</h2>
<ul class="form-error">
<li><strong><<$LostPassword.error>></strong></li>
</ul>
</div>
<</if>>
<form id="change_password" method="post" action="/lost-password">
<input type="hidden" name="lost_password" value="complete" />
<strong class="block bpad">REQUEST APPROVAL FORM</strong>
<ul class="lostpswrd">
<li><strong>Account:</strong></li>
<li class="bpad"><input type="text" name="login" value="<<$LostPassword.login>>" class="field tnypad" /></li>
<li><strong>Approval Code:</strong></li>
<li class="bpad"><input type="text" name="approval_code" value="<<$LostPassword.approval_code>>" class="field tnypad" /></li>
<li><strong>New Password:</strong></li>
<li class="bpad"><input type="password" name="new_password" class="field tnypad" /></li>
<li><strong>New Password:</strong> <span class="stxt itl">(again)</span></li>
<li class="bpad"><input type="password" name="new_password_copy" class="field tnypad" /></li>
<li><input type="submit" value="Submit Request" class="pswrdbtn hand"></li>
</ul>
</form>
<</capture>>
<div id="content">
<<*desc var=result*>>
<h1 class="blue-one">Lost Password Reset</h1>
<<if $LostPassword.status == "initiated">>
<<FormMail postvar=lost_password>>
<<FormMailMessage
name=lost_password contentType='text/html'
subject='Lost Password Reset Request'
to=$LostPassword.email
from=$sfs.pswrd_from_email
fromName=$sfs.pswrd_from_name
part=html
>>
<<$message_html>>
<</FormMailMessage>>
<<FormMailMessage name=lost_password part=text>><<$message_text>><</FormMailMessage>>
<<FormMailSend assign=sent>>
<<if $sent>>
<<$message_sent>>
<<$change_password_form>>
<<else>>
<<$message_unsent>>
<</if>>
<<elseif $LostPassword.status == "existing">>
<<$message_existing>>
<<$change_password_form>>
<<elseif $LostPassword.status == "approved">>
<<$message_approved>>
<<$change_password_form>>
<<elseif $LostPassword.status == "not_approved">>
<div class="bdr-btm bmarg">
<<$message_not_approved>>
</div>
<<$change_password_form>>
<<elseif $LostPassword.status == "complete">>
<<$message_complete>>
<<elseif $LostPassword.status == "error">>
<p>We're sorry, but an error occurred while updating your password. This is an internal error.</p>
<<else>>
<<if $LostPassword.status == "invalid">>
<div class="bdr-btm bmarg"><<$message_invalid>></div>
<<elseif $LostPassword.status == "expired">>
<<$message_expired>>
<<else>>
<<$caption>>
<</if>>
<form method="post" action="/lost-password">
<input type="hidden" name="lost_password" value="initiate"/>
<ul class="lostpswrd">
<li><strong>Account:</strong></li>
<li class="bpad bmargs"><input type="text" name="login" size="30" value="<<$LostPassword.login>>" class="field tnypad" /></li>
<li><strong>Email:</strong> <span class="stxt itl">(must match account)</span></li>
<li class="bpad"><input type="text" name="email" size="30" value="<<$LostPassword.email>>" class="field tnypad" /></li>
<li class="bpads">
<img class="security-image" src="/images/security.jpg" title="Enter this code in the field below to verify" alt="Security Image" />
<a title="Click here to get a new code" href="/lost-password" onClick="return $.xui.refreshSecurityCodes()"><img alt="" src="/images/framework/pswrd-refresh.png"/></a>
<small class="block itl mtxt bld">Trouble reading the security code?<br />(the numbers 1 and 0 and the letters i, l and o are not used)</small>
</li>
<li><strong>Enter Security Code:</strong> <span class="stxt itl">(from above)</span></li>
<li class="bpad"><input type="text" name="security_code" class="field tnypad" /></li>
<li><input type="submit" value="Submit Request" class="pswrdbtn hand"></li>
</ul>
</form>
<</if>>
</div>
<<include file="common/footer.tpl">>
</div>
<<include file="common/analytics.tpl">>
</body>
</html>