X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageAdmin.js;fp=js%2FpageAdmin.js;h=9ce1620fe7b4ffe974bacbec8b97d1c63a64d138;hp=9ed847e64530e2e43129a029051e171793342d6a;hb=09608ab29e1c39ea51b51a5f8669dcde36efb306;hpb=15b54271a21f0af63f7e540a0be7f9c91aaabb01 diff --git a/js/pageAdmin.js b/js/pageAdmin.js index 9ed847e..9ce1620 100644 --- a/js/pageAdmin.js +++ b/js/pageAdmin.js @@ -21,11 +21,11 @@ /*jslint laxbreak:true */ -euphorik.PageAdmin = function(client, formateur, util, communication) { +euphorik.PageAdmin = function(client, formater, util, communication) { this.nom = "admin"; this.client = client; - this.formateur = formateur; + this.formater = formateur; this.util = util; this.communication = communication; @@ -62,7 +62,7 @@ euphorik.PageAdmin.prototype.charger = function() { var thisPage = this; // la liste des trolls proposés par les ekMasters - this.trolls = new euphorik.Trolls(this.client, this.util, this.formateur, this.communication); + this.trolls = new euphorik.Trolls(this.client, this.util, this.formater, this.communication); this.waitEvent(); @@ -134,8 +134,8 @@ euphorik.PageAdmin.prototype.majIPs = function() { '|'; ip.users.each(function(j, user) { XHTML += (j > 0 ? ", " : "") + - '' + thisPageAdmin.formateur.traitementComplet(user.nick) + '' + - (user.login === "" ? "" : '(' + thisPageAdmin.formateur.traitementComplet(user.login) + ')'); + '' + thisPageAdmin.formater.traitementComplet(user.nick) + '' + + (user.login === "" ? "" : '(' + thisPageAdmin.formater.traitementComplet(user.login) + ')'); }); XHTML += 'débannir'; }); @@ -213,10 +213,10 @@ euphorik.Troll = function(content, author) { /////////////////////////////////////////////////////////////////////////////////////////////////// -euphorik.Trolls = function(client, util, formateur, communication) { +euphorik.Trolls = function(client, util, formater, communication) { this.client = client; this.util = util; - this.formateur = formateur; + this.formater = formater; this.communication = communication; this.dernierTroll = 0; @@ -234,8 +234,8 @@ euphorik.Trolls.prototype.ajouterTrollEvent = function(data) { XHTML += '