Modification de l'affichage du champ mot de passe
This commit is contained in:
parent
2b4257be5b
commit
95b8b079d6
@ -180,11 +180,21 @@ Numéros de télé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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user