Commit 5b9cab0c authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Better captcha integration in mail reset page (#217)

parent d67f01e1
......@@ -5,7 +5,7 @@ background:#FFFFFF url("user_suit.png") 5px 5px no-repeat;
padding-left:25px;
}
form input[type=password] {
form input[type=password], form input[name=captcha_user_code] {
background:#FFFFFF url("key.png") 5px 5px no-repeat;
padding-left: 25px;
}
......
......@@ -20,6 +20,15 @@
<th><lang en="Mail" fr="Adresse mail"/></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><lang en="Captcha" fr="Captcha" /></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">
......
......@@ -21,10 +21,15 @@
<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>" />
<lang en="Enter the captcha: " fr="Entrez le captcha: " />
<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>
<tr><th><lang en="Captcha" fr="Captcha" /></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">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment