- // TODO afficher un message "ok"
- thisPage.pages.afficherPage("minichat")
- }
- }
- )
-}
-
-PageProfile.prototype.getHTML = function()
-{
-return '\
-<form action="" id="profile" >\
- <table>\
- <tr>\
- <td>login</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.authentifie() ? '\
- <tr>\
- <td>password re</td>\
- <td><input class="passwordRe" type="password" size="20" maxlength="20"/></td>\
- </tr>\
- <tr>\
- <td>pseudo</td>\
- <td><input class="pseudo" type="text" size="40" maxlength="20"/></td>\
- </tr>\
- <tr>\
- <td>e-mail</td>\
- <td><input class="email" type="text" size="40" maxlength="100"/></td>\
- </tr>\
- <tr>\
- <td>Affichage des identifiants</td>\
- <td>\
- <select id="affichagePseudo">\
- <option value="nick">Pseudo</option>\
- <option value="login">Login</option>\
- <option value="nick_login">Pseudo(Login)</option>\
- </select>\
- </td>\
- </tr>\
- <tr>' : '') + '\
- <tr>\
- <td></td>\
- <td><button>Valider</button>\
- </tr>\
- </table>\
-</form>'
-}
-
+ // TODO afficher un message "ok"\r
+ thisPage.pages.afficherPage("minichat")\r
+ }\r
+ }\r
+ )\r
+}\r
+\r
+PageProfile.prototype.getHTML = function()\r
+{\r
+return '\\r
+<form action="" id="profile" >\\r
+ <table>\\r
+ <tr>\\r
+ <td>login</td>\\r
+ <td><input class="login" type="text" size="20" maxlength="20" ' + (this.client.authentifie() ? 'readonly="readonly"' : '') + ' /></td>\\r
+ </tr>\\r
+ <tr>\\r
+ <td>password</td>\\r
+ <td><input class="password" type="password" size="20" maxlength="20"/></td>\\r
+ </tr>' + \r
+ (this.client.authentifie() ? '\\r
+ <tr>\\r
+ <td>password re</td>\\r
+ <td><input class="passwordRe" type="password" size="20" maxlength="20"/></td>\\r
+ </tr>\\r
+ <tr>\\r
+ <td>pseudo</td>\\r
+ <td><input class="pseudo" type="text" size="40" maxlength="20"/></td>\\r
+ </tr>\\r
+ <tr>\\r
+ <td>e-mail</td>\\r
+ <td><input class="email" type="text" size="40" maxlength="100"/></td>\\r
+ </tr>\\r
+ <tr>\\r
+ <td>Ordre des messages</td>\\r
+ <td>\\r
+ <select id="chatOrder">\\r
+ <option value="chrono">Chronologique</option>\\r
+ <option value="reverse">Anti-chronologique</option>\\r
+ </select>\\r
+ </td>\\r
+ </tr>\\r
+ <tr>' +\r
+ (this.client.ekMaster ? '<td>Degrée d\'ostentation</td>\\r
+ <td>\\r
+ <select id="degreeOstentatoire">\\r
+ <option value="invisible">Nul</option>\\r
+ <option value="light">Faible</option>\\r
+ <option value="heavy">Élevé</option>\\r
+ </select>\\r
+ </td>' : '') +\r
+ '</tr>\\r
+ <tr>\\r
+ <td>Affichage des identifiants</td>\\r
+ <td>\\r
+ <select id="affichagePseudo">\\r
+ <option value="nick">Pseudo</option>\\r
+ <option value="login">Login</option>\\r
+ <option value="nick_login">Pseudo(Login)</option>\\r
+ </select>\\r
+ </td>\\r
+ </tr>\\r
+ <tr>\\r
+ <td>Afficher les infos bulles</td>\\r
+ <td><input type="checkbox" id="viewTooltips" /></td>\\r
+ </tr>\\r
+ <tr>\\r
+ <td>Afficher les dates</td>\\r
+ <td><input type="checkbox" id="viewTimes" /></td>\\r
+ </tr>' : '') + '\\r
+ <tr>\\r
+ <td></td>\\r
+ <td><button>Valider</button>\\r
+ </tr>\\r
+ </table>\\r
+</form>' \r
+}\r
+\r