projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MOD passage au JSON terminé
[euphorik.git]
/
js
/
pageProfile.js
diff --git
a/js/pageProfile.js
b/js/pageProfile.js
index
7270c23
..
4a86aee
100755
(executable)
--- a/
js/pageProfile.js
+++ b/
js/pageProfile.js
@@
-19,7
+19,7
@@
PageProfile.prototype.charger = function()
jQuery("#page").html(this.getHTML())
// en fonction du statut
jQuery("#page").html(this.getHTML())
// en fonction du statut
- if (this.client.
id
entifie())
+ if (this.client.
auth
entifie())
this.chargerProfile()
else
this.chargerLogin()
this.chargerProfile()
else
this.chargerLogin()
@@
-89,13
+89,13
@@
return '\
<table>\
<tr>\
<td>login</td>\
<table>\
<tr>\
<td>login</td>\
- <td><input class="login" type="text" size="20" maxlength="20" ' + (this.client.
id
entifie() ? 'readonly="readonly"' : '') + ' /></td>\
+ <td><input class="login" type="text" size="20" maxlength="20" ' + (this.client.
auth
entifie() ? 'readonly="readonly"' : '') + ' /></td>\
</tr>\
<tr>\
<td>password</td>\
<td><input class="password" type="password" size="20" maxlength="20"/></td>\
</tr>' +
</tr>\
<tr>\
<td>password</td>\
<td><input class="password" type="password" size="20" maxlength="20"/></td>\
</tr>' +
- (this.client.
id
entifie() ? '\
+ (this.client.
auth
entifie() ? '\
<tr>\
<td>password re</td>\
<td><input class="passwordRe" type="password" size="20" maxlength="20"/></td>\
<tr>\
<td>password re</td>\
<td><input class="passwordRe" type="password" size="20" maxlength="20"/></td>\