jQuery("#page").html(this.getHTML())
// en fonction du statut
- if (this.client.identifie())
+ if (this.client.authentifie())
this.chargerProfile()
else
this.chargerLogin()
<table>\
<tr>\
<td>login</td>\
- <td><input class="login" type="text" size="20" maxlength="20" ' + (this.client.identifie() ? 'readonly="readonly"' : '') + ' /></td>\
+ <td><input class="login" type="text" size="20" maxlength="20" ' + (this.client.authentifie() ? 'readonly="readonly"' : '') + ' /></td>\
</tr>\
<tr>\
<td>password</td>\
<td><input class="password" type="password" size="20" maxlength="20"/></td>\
</tr>' +
- (this.client.identifie() ? '\
+ (this.client.authentifie() ? '\
<tr>\
<td>password re</td>\
<td><input class="passwordRe" type="password" size="20" maxlength="20"/></td>\