![Xavier Guimard](/assets/img/avatar_default.png)
- mv *.tpl in site/templates - manage external javascripts with bower - mv the rest in site/static
153 lines
5.4 KiB
Smarty
153 lines
5.4 KiB
Smarty
<TMPL_INCLUDE NAME="header.tpl">
|
|
|
|
<div id="mailcontent">
|
|
|
|
<TMPL_IF NAME="AUTH_ERROR">
|
|
<div class="message <TMPL_VAR NAME="AUTH_ERROR_TYPE">"><ul><li><TMPL_VAR NAME="AUTH_ERROR"></li></ul></div>
|
|
</TMPL_IF>
|
|
|
|
<div class="loginlogo"></div>
|
|
|
|
<TMPL_IF NAME="DISPLAY_FORM">
|
|
|
|
<form action="#" method="post" class="login">
|
|
|
|
<input type="hidden" name="skin" value="<TMPL_VAR NAME="SKIN">" />
|
|
<TMPL_IF NAME="CHOICE_VALUE">
|
|
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
|
|
</TMPL_IF>
|
|
|
|
<h3 trspan="forgotPwd">Forgot your password?</h3>
|
|
|
|
<table>
|
|
<tr>
|
|
<th><span trspan="mail">Mail</span></th>
|
|
<td><input name="mail" type="text" value="<TMPL_VAR NAME="MAIL">"/></td>
|
|
</tr>
|
|
|
|
<TMPL_IF NAME=CAPTCHA_IMG>
|
|
<tr><td></td><td>
|
|
<img src="<TMPL_VAR NAME=CAPTCHA_IMG>" />
|
|
</td></tr>
|
|
<tr><th><span trspan="captcha">Captcha</span></th>
|
|
<td><input type="text" name="captcha_user_code" size="<TMPL_VAR NAME=CAPTCHA_SIZE>" />
|
|
<input type="hidden" name="captcha_code" value="<TMPL_VAR NAME=CAPTCHA_CODE>" /></td>
|
|
</tr>
|
|
</TMPL_IF>
|
|
|
|
<tr><td colspan="2">
|
|
<div class="buttons">
|
|
<button type="submit" class="positive">
|
|
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/accept.png" alt="" />
|
|
<span trspan="sendPwd">Send me a new password</span>
|
|
</button>
|
|
</div>
|
|
</td></tr>
|
|
</table>
|
|
</form>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_IF NAME="DISPLAY_RESEND_FORM">
|
|
|
|
<form action="#" method="post" class="login">
|
|
|
|
<input type="hidden" name="skin" value="<TMPL_VAR NAME="SKIN">" />
|
|
<TMPL_IF NAME="CHOICE_VALUE">
|
|
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
|
|
</TMPL_IF>
|
|
<TMPL_IF NAME="MAIL">
|
|
<input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail">
|
|
</TMPL_IF>
|
|
|
|
<h3 trspan="resendConfirmMail">Resend confirmation mail?</h3>
|
|
|
|
<p>
|
|
<span trspan="registerRequestAlreadyIssued">A password reset request was already issued on </span>
|
|
<TMPL_VAR NAME="STARTMAILDATE">.
|
|
<span trspan="resentConfirm">Do you want the confirmation mail to be resent?</span>
|
|
</p>
|
|
|
|
<table>
|
|
<tr><th><input id="resendconfirmation" type="checkbox" name="resendconfirmation"></th>
|
|
<td><span trspan="yesResendMail">Yes, resend the mail</span></td>
|
|
</tr>
|
|
<tr><td colspan="2">
|
|
<div class="buttons">
|
|
<button type="submit" class="positive">
|
|
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/accept.png" alt="" />
|
|
<span trspan="submit">Submit</span>
|
|
</button>
|
|
</div>
|
|
</td></tr>
|
|
</table>
|
|
|
|
</form>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_IF NAME="DISPLAY_PASSWORD_FORM">
|
|
<div id="password">
|
|
<form action="#" method="post" class="password">
|
|
<input type="hidden" name="skin" value="<TMPL_VAR NAME="SKIN">" />
|
|
<TMPL_IF NAME="CHOICE_VALUE">
|
|
<input type="hidden" id="authKey" name="<TMPL_VAR NAME="CHOICE_PARAM">" value="<TMPL_VAR NAME="CHOICE_VALUE">" />
|
|
</TMPL_IF>
|
|
<TMPL_IF NAME="MAIL_TOKEN">
|
|
<input type="hidden" id="mail_token" name="mail_token" value="<TMPL_VAR NAME="MAIL_TOKEN">" />
|
|
</TMPL_IF>
|
|
<h3 trspan="changePwd">Change your password</h3>
|
|
<table>
|
|
<tr><th><span trspan="newPassword">New password</span></th>
|
|
<td><input name="newpassword" type="password" tabindex="3" /></td></tr>
|
|
<tr><th><span trspan="confirmPwd">Confirm password</span></th>
|
|
<td><input name="confirmpassword" type="password" tabindex="4" /></td></tr>
|
|
<tr><td colspan="2">
|
|
<input id="reset" type="checkbox" name="reset" />
|
|
<span trspan="generatePwd">Generate the password automatically</span>
|
|
</td></tr>
|
|
<tr><td colspan="2">
|
|
<div class="buttons">
|
|
<button type="reset" class="negative" tabindex="6">
|
|
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/cancel.png" alt="" />
|
|
<span trspan="cancel">Cancel</span>
|
|
</button>
|
|
<button type="submit" class="positive" tabindex="5">
|
|
<img src="<TMPL_VAR NAME="SKIN_PATH">/common/accept.png" alt="" />
|
|
<span trspan="submit">Submit</span>
|
|
</button>
|
|
</div>
|
|
</td></tr>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_IF NAME="DISPLAY_CONFIRMMAILSENT">
|
|
<form action="#" method="post" class="login">
|
|
<h3>
|
|
<span trspan="mailSent2">A message has been sent to your mail address.</span>
|
|
</h3>
|
|
<p>
|
|
<span trspan="linkValidUntil">This message contains a link to reset your password, this link is valid until </span>
|
|
<TMPL_VAR NAME="EXPMAILDATE">.
|
|
</p>
|
|
</form>
|
|
</TMPL_IF>
|
|
|
|
<TMPL_IF NAME="DISPLAY_MAILSENT">
|
|
<form action="#" method="post" class="login">
|
|
<h3>
|
|
<span trspan="newPwdSentTo">Your new password has been sent to your mail address.</span>
|
|
</h3>
|
|
</form>
|
|
</TMPL_IF>
|
|
|
|
<div class="link">
|
|
<a href="<TMPL_VAR NAME="PORTAL_URL">?skin=<TMPL_VAR NAME="SKIN">">
|
|
<span trspan="back2Portal">Go back to portal</span>
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<TMPL_INCLUDE NAME="footer.tpl">
|