X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageAdmin.js;fp=js%2FpageAdmin.js;h=6b1819d664d1f5d063606449689aa9bb5b9766d3;hp=fe464b857ba547f0f1c9609075d121504b67cb28;hb=4a6c575807a90370c0069b688026b10102e1ce10;hpb=6926aecb1cdd777ef8c52f63291341a540670a2c diff --git a/js/pageAdmin.js b/js/pageAdmin.js index fe464b8..6b1819d 100644 --- a/js/pageAdmin.js +++ b/js/pageAdmin.js @@ -21,11 +21,11 @@ /*jslint laxbreak:true */ -euphorik.PageAdmin = function(client, formater, util, communication) { +euphorik.PageAdmin = function(client, formatter, util, communication) { this.name = "admin"; this.client = client; - this.formater = formater; + this.formatter = formatter; this.util = util; this.communication = communication; @@ -87,8 +87,8 @@ euphorik.PageAdmin.prototype.majIPs = function() { '|'; ip.users.each(function(j, user) { XHTML += (j > 0 ? ", " : "") + - '' + thisPageAdmin.formater.completeProcessing(user.nick) + '' + - (user.login === "" ? "" : '(' + thisPageAdmin.formater.completeProcessing(user.login) + ')'); + '' + thisPageAdmin.formatter.completeProcessing(user.nick) + '' + + (user.login === "" ? "" : '(' + thisPageAdmin.formatter.completeProcessing(user.login) + ')'); }); XHTML += 'débannir'; });