Modification de l'affichage du champ mot de passe

This commit is contained in:
Michael RICOIS 2010-05-05 14:59:07 +00:00
parent 2b4257be5b
commit 95b8b079d6

View File

@ -180,11 +180,21 @@ Num&eacute;ros de t&eacute;l&eacute;phone<br/><i>(Fixe, Fax, Mobile)</i>
<!--<br/><input type="checkbox" name="frmOptions[copie_sms]" value="<?=$_SESSION['tabInfo']['copieParSms']?>"/> Recevoir une copie de mes messages de surveillance par SMS-->
</div>
<br/>
<div class="infoTitle StyleInfoLib">Mot de passe</div>
<div class="infoData last">
<?php
if (isset($_REQUEST['action']) && $_REQUEST['action']=='new') {
$typeChamp = 'password';
} else {
$typeChamp = 'hidden';
?>
<a href="#" id="password">Modifier le mot de passe.</a>
<?php
}
?>
<input type="<?=$typeChamp?>" name="frmOptions[password]" value="oqsrihgwslglm"/>
<input type="hidden" name="frmOptions[changepwd]" value="0"/>
<input type="hidden" name="frmOptions[password]" value="oqsrihgwslglm"/>
<?php
/*
<input type="password" size="15" maxlength="32" name="frmOptions[password]" value="oqsrihgwslglm" onkeypress="document.form_moncompte.changepwd.checked=1"/>