X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageAdmin.js;h=f94f9ab4dc396ac7f50a17468c40b2609c62e9d0;hp=87c2ee934ea30922dfc8739607abae1da2c4e246;hb=24ed7a141aa345454300dd260bbabae3a9f92408;hpb=27c4a5ac9000ca933f28abfedbf9607f73619615
diff --git a/js/pageAdmin.js b/js/pageAdmin.js
index 87c2ee9..f94f9ab 100644
--- a/js/pageAdmin.js
+++ b/js/pageAdmin.js
@@ -22,16 +22,16 @@
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;
};
@@ -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';