From: Matteo Nastasi (mop) Date: Thu, 4 Jul 2013 07:34:21 +0000 (+0200) Subject: renamed ModerateItem::where to table X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=c0bea115b8bb082538cdaa3030768a8ef680482d;p=brisk.git renamed ModerateItem::where to table --- diff --git a/TODO.txt b/TODO.txt index ab66395..4eba15a 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,13 +1,13 @@ TODO | ------+ Moderation features: - * Select row * Lista righe di chat * Richiesta di verifica * Ban per nick/sessione/IP * Filtra per tavolo e/o room * Silent cancer behaviour management +DONE * Select row - moderation . turn off moderation when moder win is closed or if window creation fails diff --git a/web/Obj/user.phh b/web/Obj/user.phh index 35c76ad..dc9f134 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -23,7 +23,6 @@ require_once("${G_base}Obj/transports.phh"); - // User flags define('USER_FLAG_AUTH', 0x02); diff --git a/web/commons.js b/web/commons.js index 793ff4e..456416b 100644 --- a/web/commons.js +++ b/web/commons.js @@ -462,7 +462,7 @@ function ModerateItem(item_ar) this.time = item_ar[0]; this.usrid = item_ar[1]; - this.where = item_ar[2]; + this.table = item_ar[2]; this.name = item_ar[3]; this.cont = item_ar[4]; @@ -477,7 +477,7 @@ function ModerateItem(item_ar) tr.appendChild(td); td = document.createElement("td"); - td.innerHTML = this.where; + td.innerHTML = this.table; tr.appendChild(td); td = document.createElement("td"); @@ -498,7 +498,7 @@ function ModerateItem(item_ar) ModerateItem.prototype = { time: 0, usrid: 0, - where: -1, + table: -1, name: "", cont: "",