MOD french -> english (6)
[euphorik.git] / js / pageAdmin.js
index 87c2ee9..f94f9ab 100644 (file)
 
 
 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() {
                '</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>';