MOD passage au JSON terminé
[euphorik.git] / js / pageProfile.js
index 7270c23..4a86aee 100755 (executable)
@@ -19,7 +19,7 @@ PageProfile.prototype.charger = function()
    jQuery("#page").html(this.getHTML())
    
    // en fonction du statut
-   if (this.client.identifie())
+   if (this.client.authentifie())
       this.chargerProfile()
    else
       this.chargerLogin()
@@ -89,13 +89,13 @@ return '\
  <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>\