X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageProfile.js;h=7bbe045a541a983bc54ef22e53897ab2037b05fd;hp=41e9fd5d6f03b6b233d9166bc018db927d2cb916;hb=5dc140390551c133ac5525725a86854ca69679af;hpb=27c4a5ac9000ca933f28abfedbf9607f73619615
diff --git a/js/pageProfile.js b/js/pageProfile.js
index 41e9fd5..7bbe045 100755
--- a/js/pageProfile.js
+++ b/js/pageProfile.js
@@ -17,7 +17,7 @@
// along with Euphorik. If not, see .
euphorik.PageProfile = function(client, formater, util) {
- this.nom = "profile";
+ this.name = "profile";
this.client = client;
this.formater = formater;
@@ -46,7 +46,7 @@ euphorik.PageProfile.prototype.chargerProfile = function() {
var thisPage = this;
$("form#profile input.login").val(this.client.login);
- $("form#profile input.pseudo").val(this.client.pseudo);
+ $("form#profile input.nick").val(this.client.nick);
$("form#profile input.email").val(this.client.email);
$("form#profile input#viewTooltips").attr("checked", this.client.viewTooltips);
$("form#profile input#viewTimes").attr("checked", this.client.viewTimes);
@@ -64,7 +64,7 @@ euphorik.PageProfile.prototype.chargerProfile = function() {
$("form#profile button").click(
function() {
- thisPage.client.pseudo = thisPage.formate.filtrerInputPseudo($("form#profile input.pseudo").val());
+ thisPage.client.nick = thisPage.formate.formatNick($("form#profile input.nick").val());
thisPage.client.email = $("form#profile input.email").val();
thisPage.client.chatOrder = $("form#profile select#chatOrder option:selected").attr("value");
thisPage.client.nickFormat = $("form#profile select#affichagePseudo option:selected").attr("value");
@@ -125,8 +125,8 @@ euphorik.PageProfile.prototype.getHTML = function() {
'
| ' +
' ' +
' ' +
- ' pseudo | ' +
- ' | ' +
+ ' nick | ' +
+ ' | ' +
'
' +
' ' +
' e-mail | ' +