pwreset tpl içeriği
<div class="logincontainer">
{include file="$template/includes/pageheader.tpl" title=$LANG.pwreset}
{if $loggedin}
{include file="$template/includes/alert.tpl" type="error" msg=$LANG.noPasswordResetWhenLoggedIn textcenter=true}
{else}
{if $success}
{include file="$template/includes/alert.tpl" type="success" msg=$LANG.pwresetvalidationsent textcenter=true}
<p>{$LANG.pwresetvalidationcheckemail}</p>
{else}
{if $errormessage}
{include file="$template/includes/alert.tpl" type="error" msg=$errormessage textcenter=true}
{/if}
{if $securityquestion}
<p>{$LANG.pwresetsecurityquestionrequired}</p>
<form method="post" action="pwreset.php" class="form-stacked">
<input type="hidden" name="action" value="reset" />
<input type="hidden" name="email" value="{$email}" />
<div class="form-group">
<label for="inputAnswer">{$securityquestion}</label>
<input type="text" name="answer" class="form-control" id="inputAnswer" autofocus>
</div>
<div class="form-group text-center">
<button type="submit" class="btn btn-primary">{$LANG.pwresetsubmit}</button>
</div>
</form>
{else}
<p>{$LANG.pwresetemailneeded}</p>
<form method="post" action="{$systemsslurl}pwreset.php" role="form">
<input type="hidden" name="action" value="reset" />
<div class="form-group">
<label for="inputEmail">{$LANG.loginemail}</label>
<input type="email" name="email" class="form-control" id="inputEmail" placeholder="{$LANG.enteremail}" autofocus>
</div>
<div class="form-group text-center">
<button type="submit" class="btn btn-primary">{$LANG.pwresetsubmit}</button>
</div>
</form>
{/if}
{/if}
{/if}
</div>pwresetvalidation tpl içeriği
<div class="logincontainer">
{include file="$template/includes/pageheader.tpl" title=$LANG.pwreset}
{if $invalidlink}
{include file="$template/includes/alert.tpl" type="danger" msg=$invalidlink textcenter=true}
{elseif $success}
{include file="$template/includes/alert.tpl" type="success" msg=$LANG.pwresetvalidationsuccess textcenter=true}
<p class="text-center">
{$LANG.pwresetsuccessdesc|sprintf2:'<a href="clientarea.php">':'</a>'}
</p>
{else}
{if $errormessage}
{include file="$template/includes/alert.tpl" type="danger" msg=$errormessage textcenter=true}
{/if}
<p>{$LANG.pwresetenternewpw}</p>
<form class="using-password-strength" method="post" action="{$smarty.server.PHP_SELF}?action=pwreset">
<input type="hidden" name="key" id="key" value="{$key}" />
<div id="newPassword1" class="form-group has-feedback">
<label class="control-label" for="inputNewPassword1">{$LANG.newpassword}</label>
<input type="password" name="newpw" id="inputNewPassword1" class="form-control" autocomplete="off" />
<span class="form-control-feedback glyphicon glyphicon-password"></span>
</div>
<div id="newPassword2" class="form-group has-feedback">
<label class="control-label" for="inputNewPassword2">{$LANG.confirmnewpassword}</label>
<input type="password" name="confirmpw" id="inputNewPassword2" class="form-control" autocomplete="off" />
<span class="form-control-feedback glyphicon glyphicon-password"></span>
<div id="inputNewPassword2Msg"></div>
</div>
<div class="form-group">
<label class="control-label">{$LANG.pwstrength}</label>
{include file="$template/includes/pwstrength.tpl"}
</div>
<div class="form-group">
<div class="text-center">
<input class="btn btn-primary" type="submit" name="submit" value="{$LANG.clientareasavechanges}" />
<input class="btn btn-default" type="reset" value="{$LANG.cancel}" />
</div>
</div>
</form>
{/if}
</div>