cf8251f25f
--HG-- branch : quitta-gsoc-2013
55 lines
1.8 KiB
Smarty
55 lines
1.8 KiB
Smarty
{extends file="layout.tpl"}
|
||
{block name=content}
|
||
|
||
<div class="row-fluid">
|
||
<div class="span12 center login-header">
|
||
<img src="img/mainlogo.png"/>
|
||
</div><!--/span-->
|
||
</div><!--/row-->
|
||
|
||
<div class="row-fluid">
|
||
<div class="well span5 center login-box">
|
||
<div class="alert alert-info">
|
||
{$forgot_password_message}
|
||
</div>
|
||
<form id="signup" class="form-vertical" method="post" action="index.php">
|
||
<legend>{$title}</legend>
|
||
|
||
<div class="control-group {if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}error{/if}">
|
||
<label class="control-label">{$email_tag}</label>
|
||
<div class="controls">
|
||
<div class="input-prepend">
|
||
<span class="add-on"><i class="icon-envelope"></i></span>
|
||
<input type="text" class="input-xlarge" id="Email" name="Email" placeholder="{$email_default}" {if isset($prevEmail)}value="{$prevEmail}"{/if} rel="popover" data-content="{$email_tooltip}" data-original-title="{$email_default}">
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
{if isset($EMAIL_ERROR) and $EMAIL_ERROR eq "TRUE"}
|
||
<div class="alert alert-error">
|
||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||
{$email_doesnt_exist}
|
||
</div>
|
||
{/if}
|
||
{if isset($EMAIL_SUCCESS) and $EMAIL_SUCCESS eq "TRUE"}
|
||
<div class="alert alert-success">
|
||
<button type="button" class="close" data-dismiss="alert">×</button>
|
||
{$email_sent}
|
||
</div>
|
||
{/if}
|
||
<input type="hidden" name="function" value="forgot_password">
|
||
<div class="control-group">
|
||
<label class="control-label"></label>
|
||
<div class="controls">
|
||
<button type="submit" class="btn btn-large btn-primary" >Send me the reset link</button>
|
||
</div>
|
||
</div>
|
||
|
||
</form>
|
||
|
||
|
||
</div><!--/span-->
|
||
</div><!--/row-->
|
||
{/block}
|
||
|
||
|