X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageAdmin.js;h=7a937d75e311ee5057d84dae483c5a5bf01ce54c;hb=dc66525bdce5df290c5afe8d3f5eedb1a736d955;hp=87c2ee934ea30922dfc8739607abae1da2c4e246;hpb=27c4a5ac9000ca933f28abfedbf9607f73619615;p=euphorik.git
diff --git a/js/pageAdmin.js b/js/pageAdmin.js
index 87c2ee9..7a937d7 100644
--- a/js/pageAdmin.js
+++ b/js/pageAdmin.js
@@ -29,9 +29,9 @@ euphorik.PageAdmin = function(client, formater, util, communication) {
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;
};
@@ -134,7 +134,7 @@ euphorik.PageAdmin.prototype.majIPs = function() {
'|';
ip.users.each(function(j, user) {
XHTML += (j > 0 ? ", " : "") +
- '' + thisPageAdmin.formater.traitementComplet(user.nick) + '' +
+ '' + thisPageAdmin.formater.traitementComplet(user.nick) + '' +
(user.login === "" ? "" : '(' + thisPageAdmin.formater.traitementComplet(user.login) + ')');
});
XHTML += 'débannir';