cosmetid add a button close for the "forget-email-box"

This commit is contained in:
Dany De Bontridder 2019-11-24 15:19:51 +01:00
parent 2d6a281197
commit 224e43199f

View file

@ -205,7 +205,6 @@ echo '
</TR>';
if ( $g_captcha == true )
{
echo '<tr ><td colspan="2" style="width:auto">';
@ -255,8 +254,7 @@ echo '
Email <input type="text" class="input_text" name="email" nohistory>
</p>
<input type="submit" class="button" name="send_email" value="Envoi email">
</form>
<input type="button" class="button" id="close_link_bt" value="Annuler">
</div>
<script>
document.getElementById('recover_link').onclick=function() {
@ -265,6 +263,9 @@ echo '
document.getElementById('close_link').onclick=function() {
document.getElementById('recover_box').style.display="none";
}
document.getElementById('close_link_bt').onclick=function() {
document.getElementById('recover_box').style.display="none";
}
</script>
<?php endif; ?>