euphorik.PageAdmin = function(client, formater, util, communication) {
- this.nom = "admin";
+ this.name = "admin";
this.client = client;
this.formater = formater;
this.util = util;
this.communication = communication;
- this.comet = new Comet("admin", euphorik.conf.versionProtocole);
+ this.comet = this.communication.createCometConnection("admin");
- // le timer qui rappelle periodiquement le rafraichissement des IP bannies
+ // a timer which will periodically refresh the banned IP list
this.timeoutIDmajIPs = null;
};
'</span>|';
ip.users.each(function(j, user) {
XHTML += (j > 0 ? ", " : "") +
- '<span class="pseudo">' + thisPageAdmin.formater.traitementComplet(user.nick) + '</span>' +
+ '<span class="nick">' + thisPageAdmin.formater.traitementComplet(user.nick) + '</span>' +
(user.login === "" ? "" : '<span class="login">(' + thisPageAdmin.formater.traitementComplet(user.login) + ')</span>');
});
XHTML += '<span class="deban">débannir</span></div>';