From 8731028d57608423cec432688bffc32d7763b559 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 13 Jan 2015 08:46:47 +0100 Subject: [PATCH] anonymize ban reason added --- TODO.txt | 3 +++ web/Obj/brisk.phh | 1 + web/briskin5/index_wr.php | 2 +- web/index.php | 5 +++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/TODO.txt b/TODO.txt index ecf1e78..d7087aa 100644 --- a/TODO.txt +++ b/TODO.txt @@ -3,6 +3,9 @@ FEATURES | ----------+ + - DEANONYMIZER + . study how to move login delta injection + - CERTIFICATIONS DONE . Guarantes for certified-only (buttons choice managed) DONE . Tables for certified-only diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index de60682..a57beff 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -988,6 +988,7 @@ define('GHOST_SESS_REAS_LOUT', 1); // logout define('GHOST_SESS_REAS_ANOT', 2); // another user get session define('GHOST_SESS_REAS_TOUT', 3); // room timeout define('GHOST_SESS_REAS_TTOT', 4); // table timeout +define('GHOST_SESS_REAS_ANON', 5); // anonymizer access class GhostSessEl { diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index 534fd28..cb761bc 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -156,7 +156,7 @@ function bin5_index_wr_main(&$bin5, $remote_addr_full, $get, $post, $cookie) // $user->bantime = $user->laccwr + BAN_TIME; if ($logout_cont == TRUE) { - $bin5->table_wakeup(&$user); + $bin5->table_wakeup($user); } } else if ($argz[0] == 'exitlock') { diff --git a/web/index.php b/web/index.php index defcdf0..647b1bb 100644 --- a/web/index.php +++ b/web/index.php @@ -49,6 +49,8 @@ $mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati 'en' => 'EN Abbiamo perso le tue tracce, quindi ti abbiamo disconnesso.'), 'reas_ttot' => array('it' => 'Abbiamo perso le tue tracce mentre stavi giocando, quindi ti abbiamo disconnesso.', 'en' => 'EN Abbiamo perso le tue tracce mentre stavi giocando, quindi ti abbiamo disconnesso.'), + 'reas_anon' => array('it' => 'L\' accesso attraverso sistemi di anonimizzazione non è consentito.', + 'en' => 'EN L\' accesso attraverso sistemi di anonimizzazione non è consentito.'), 'reas_anot' => array('it' => 'La tua sessione è stata assegnata ad un altro browser.', 'en' => 'EN La tua sessione è stata assegnata ad un altro browser.'), 'btn_enter' => array('it' => 'entra', @@ -362,6 +364,9 @@ function index_main(&$brisk, $transp_type, $header, &$header_out, $remote_addr_f case GHOST_SESS_REAS_TTOT: $last_msg = $mlang_room['reas_ttot'][$G_lang]; break; + case GHOST_SESS_REAS_ANON: + $last_msg = $mlang_room['reas_anon'][$G_lang]; + break; default: $last_msg = $mlang_room['reas_unkn'][$G_lang]; break; -- 2.17.1