X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageAdmin.js;h=97c024367005a9d1f98b682ade66e9517a91c68d;hp=2373cab9f5f6f95564544a6105d6bf39373bc844;hb=63d7601eeee2660728be1ff778dd7e6a04246ee5;hpb=877597872b6660f717aaf54aa1f3001df59b501d diff --git a/js/pageAdmin.js b/js/pageAdmin.js index 2373cab..97c0243 100644 --- a/js/pageAdmin.js +++ b/js/pageAdmin.js @@ -33,7 +33,7 @@ PageAdmin.prototype.contenu = function() { return '

Trolls

\

Un troll est un sujet à débat, en général une question, affiché sur la page principale.

\ -

Chaque semaine un troll est choisit au hasard parmis les trolls proposés et devient le troll de la semaine.

\ +

Chaque semaine un troll est choisi au hasard parmis les trolls proposés et devient le troll de la semaine.

\
\

\ \ @@ -91,7 +91,7 @@ PageAdmin.prototype.posterTroll = function() "content" : content } - ;;; dumpObj(dataToSend) + ;; dumpObj(dataToSend) jQuery.ajax( { type: "POST", @@ -101,7 +101,7 @@ PageAdmin.prototype.posterTroll = function() success: function(data) { - ;;; dumpObj(data) + ;; dumpObj(data) if (data["reply"] == "ok") { @@ -132,7 +132,7 @@ PageAdmin.prototype.majIPs = function() "cookie" : this.client.cookie } - ;;; dumpObj(dataToSend) + ;; dumpObj(dataToSend) jQuery.ajax( { type: "POST", @@ -142,7 +142,7 @@ PageAdmin.prototype.majIPs = function() success: function(data) { - ;;; dumpObj(data) + ;; dumpObj(data) if (data["reply"] == "list_banned_ips") { @@ -213,7 +213,7 @@ PageAdmin.prototype.deban = function(ip) "ip" : ip } - ;;; dumpObj(dataToSend) + ;; dumpObj(dataToSend) jQuery.ajax( { type: "POST", @@ -223,7 +223,7 @@ PageAdmin.prototype.deban = function(ip) success: function(data) { - ;;; dumpObj(data) + ;; dumpObj(data) switch(data["reply"]) { case "error" : @@ -402,7 +402,7 @@ Trolls.prototype.modifier = function(id, content) "content" : content } - ;;; dumpObj(dataToSend) + ;; dumpObj(dataToSend) jQuery.ajax( { type: "POST", @@ -412,7 +412,7 @@ Trolls.prototype.modifier = function(id, content) success: function(data) { - ;;; dumpObj(data) + ;; dumpObj(data) if (data["reply"] == "error") { thisTrolls.util.messageDialogue(data["error_message"]) @@ -436,7 +436,7 @@ Trolls.prototype.supprimer = function(id) "troll_id" : id } - ;;; dumpObj(dataToSend) + ;; dumpObj(dataToSend) jQuery.ajax( { type: "POST", @@ -446,7 +446,7 @@ Trolls.prototype.supprimer = function(id) success: function(data) { - ;;; dumpObj(data) + ;; dumpObj(data) if (data["reply"] == "error") { thisTrolls.util.messageDialogue(data["error_message"])