X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=31d371104ce20b583db36fe7d048129b91b43cc0;hb=1f1dc03f2bfda5d54dba9c25e8e3f9f45a4f1547;hp=498f2fb31614eebf15753295ac24213579ae8184;hpb=542c6d8681b33f5b484a778c81afe9cba2b4f332;p=brisk.git diff --git a/web/index.php b/web/index.php index 498f2fb..31d3711 100644 --- a/web/index.php +++ b/web/index.php @@ -38,8 +38,10 @@ $mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati 'en' => 'Standing players'), 'headline' => array('it' => 'briscola chiamata in salsa ajax', 'en' => 'declaration briscola in ajax sauce (Beta)'), - 'welcome' => array('it' => 'Digita il tuo nickname per accedere ai tavoli della briscola', - 'en' => 'Enter your nickname to access to the tables of briscola'), + 'welcome' => array('it' => 'Digita il tuo nickname per accedere ai tavoli della briscola.', + 'en' => 'Enter your nickname to access to the tables of briscola.'), + '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', 'en' => 'enter'), 'passwarn' => array('it' => 'Se non hai ancora una password, lascia il campo in bianco ed entra.', @@ -336,7 +338,11 @@ function index_main(&$brisk, $transp_type, $header, &$header_out, $remote_addr_f $curtime = time(); /* Actions */ - + if (($ghost_sess = $brisk->ghost_sess->pop($sess)) != FALSE) { + if ($ghost_sess->reas == GHOST_SESS_REAS_ANOT) { + $last_msg = $mlang_room['reas_anot'][$G_lang]; + } + } if (validate_sess($sess)) { log_main("pre garbage_manager UNO"); $brisk->garbage_manager(TRUE);