// données personnels\r
this.resetDonneesPersonnelles();\r
\r
- this.setStatut(euphorik.Client.statutType.deconnected);\r
+ this.setStatut(euphorik.Client.statutType.disconnected);\r
\r
// si true alors chaque modification du client est mémorisé sur le serveur\r
this.autoflush = $.browser.opera;\r
// mode identifié, peut poster des messages mais n'a pas accès au profile\r
auth_not_registered : 1,\r
// mode déconnecté, ne peut pas poster de message\r
- deconnected : 2\r
+ disconnected : 2\r
};\r
\r
euphorik.Client.prototype.resetDonneesPersonnelles = function() {\r
statut =\r
statut === "auth_registered" ?\r
euphorik.Client.statutType.auth_registered :\r
- (statut === "auth_not_registered" ? euphorik.Client.statutType.auth_not_registered : euphorik.Client.statutType.deconnected);\r
+ (statut === "auth_not_registered" ? euphorik.Client.statutType.auth_not_registered : euphorik.Client.statutType.disconnected);\r
}\r
\r
if (statut === this.statut) {\r
this.majMenu();\r
this.majLogo();\r
};\r
-\r
-/**\r
- * Effectue la connexion vers le serveur.\r
- * Cette fonction est bloquante tant que la connexion n'a pas été établie.\r
- * S'il existe un cookie en local on s'authentifie directement avec lui.\r
- * Si il n'est pas possible de s'authentifier alors on affiche un captcha anti-bot.\r
+
+/**
+ * Try to authentify the client with the cookie information.
+ * Do nothing if there is no cookie.
*/\r
-euphorik.Client.prototype.connexionCookie = function() {\r
+euphorik.Client.prototype.connectionCookie = function() {\r
this.getCookie();\r
if (!this.cookie) {\r
return false;\r
return this.authentifie();\r
};\r
\r
-euphorik.Client.prototype.deconnexion = function() {\r
+euphorik.Client.prototype.disconnect = function() {\r
this.flush(true);\r
this.delCookie();\r
this.resetDonneesPersonnelles();\r
- this.setStatut(euphorik.Client.statutType.deconnected); // deconnexion\r
+ this.setStatut(euphorik.Client.statutType.disconnected);\r
};\r
\r
euphorik.Client.prototype.chargerDonnees = function(data) {\r