]> mop.ddnsfree.com - git repositories - brisk.git/commitdiff
anonymize ban reason added
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 13 Jan 2015 07:46:47 +0000 (08:46 +0100)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Tue, 13 Jan 2015 07:46:47 +0000 (08:46 +0100)
TODO.txt
web/Obj/brisk.phh
web/briskin5/index_wr.php
web/index.php

index ecf1e788ff7b48e15de7ee03919d29163515cd35..d7087aa03cb7b77397a74f22095735a723797ccd 100644 (file)
--- 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
index de606829605ad11f461d664b95739dab38e04a53..a57beff0ea0332acac72e654bafb68e45621b277 100644 (file)
@@ -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
 {
index 534fd28029f5becbb9f9a3935052a81daefa35d7..cb761bc3735a2137aadf0415a37c1120fdde4559 100644 (file)
@@ -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') {
index defcdf017927a9e5e9bbe1965166c84d76d90ffe..647b1bbffe856ffdd3133fb438236590113ce479 100644 (file)
@@ -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;