X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=bb579e595c64e1b3ce5a4dc5676a84e996dce171;hb=6ccd6cd5bec3ae91aa7c4453ca4efb574ef03325;hp=f5a3c6d01113b251145b7a138901a0bf9d9b274c;hpb=86e52dc968c23b91df10056dbe2384b06cdec978;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index f5a3c6d..bb579e5 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -135,10 +135,8 @@ $mlang_brisk = array( 'btn_backstand'=> array( 'it' => 'torna in piedi',
'listmust' => array( 'it' => 'Per andare in isolamento non bisogna essere seduti a tavoli non riservati.',
'en' => 'To go to isolation you must don\'t stay on not reserved tables'),
- 'tit_onauth'=>array( 'it' => '(solo aut.)',
- 'en' => '(only aut.)'),
- 'tit_onisol'=>array( 'it' => '(isolam.to)',
- 'en' => '(isolation)'),
+ 'tit_onisol'=>array( 'it' => '(autenticati)',
+ 'en' => '(authenticated)'),
'db_failed' =>array('it' => '
Il collegamento al database è fallito.
Temporaneamente tutte le autenticazioni verranno sospese, accederai a Brisk come un utente normale.
Ci scusiamo per il disagio.',
'en' => 'Connection to the database failed
All authentications are suspended temporarly, you login as normal user.
We are about the limitation'),
@@ -192,7 +190,7 @@ Dopo che è iniziata una partita per uscirne dovete chiedere agli altri gi
/info <login> - mostra lo stato corrente dell\'utente passato come argomento e in che relazione siete
/authreq - se si è autenticati permette di garantire per un utente fidato
/mesgtoadm - se si è autenticati permette di lasciare un messaggio all\'amministratore del sito
-/listen <all or auth> - se si è autenticati permette leggere solo i messaggi degli altri autenticati (auth) o di tutti (all)
+
',
@@ -225,7 +223,7 @@ Dopo che è iniziata una partita per uscirne dovete chiedere agli altri gi
/info <login> - mostra lo stato corrente dell\'utente passato come argomento e in che relazione siete
/authreq - se si è autenticati permette di garantire per un utente fidato
/mesgtoadm - se si è autenticati permette di lasciare un messaggio all\'amministratore del sito
-/listen <all or auth> - se si è autenticati permette leggere solo i messaggi degli altri autenticati (auth) o di tutti (all)
+
');
@@ -1430,9 +1428,6 @@ class Brisk
if ($user->flags & USER_FLAG_ISOLAUTH) {
$ret .= 'list_set(\'isolation\', false, \''.$mlang_brisk['tit_onisol'][$G_lang].'\' ); ';
}
- else if ($user->flags & USER_FLAG_LISTAUTH) {
- $ret .= 'list_set(\'auth\', false, \''.$mlang_brisk['tit_onauth'][$G_lang].'\' ); ';
- }
else {
$ret .= 'list_set(\'all\', false, \'\' ); ';
}
@@ -2030,7 +2025,7 @@ class Brisk
$to_all = show_notify($msg, 0, $mlang_brisk['btn_close'][$G_lang], 400, 120);
} while (0);
} // /alarm chat command
- else if (strncmp($msg, "/listen ", 8) == 0) {
+ else if (FALSE && strncmp($msg, "/listen ", 8) == 0) {
$arg = substr($msg, 8);
if (strcasecmp($arg, "isolation") == 0) {
@@ -2046,12 +2041,6 @@ class Brisk
$to_user = 'list_set(\'isolation\', true, \''.$mlang_brisk['tit_onisol'][$G_lang].'\'); ';
}
}
- else if (strcasecmp($arg, "auth") == 0) {
- $flags_old = $user->flags;
- $user->flags &= ~USER_FLAG_MAP_AUTH;
- $user->flags |= USER_FLAG_LISTAUTH;
- $to_user = 'list_set(\'auth\', true, \''.$mlang_brisk['tit_onauth'][$G_lang].'\'); ';
- }
else {
$flags_old = $user->flags;
$user->flags &= ~USER_FLAG_MAP_AUTH;
@@ -2700,10 +2689,6 @@ class Brisk
}
if ($this->user[$i]->subst == "standup") {
- if ($user_cur_id == $i) {
- $flags |= 1;
- }
-
$content .= sprintf('%s[ %d, "%s"%s ]',($ct > 0 ? ', ' : ''), $flags,
xcape($this->user[$i]->name), $supp_comp_s);
$ct++;
@@ -2736,9 +2721,6 @@ class Brisk
$flags = $user_cur->flags;
- if ($user_cur_id == $table->player[$i])
- $flags |= 1;
-
log_main($user_cur->name. sprintf(" IN TABLE [%d]", $table_idx));
if ($user_cur->is_supp_custom())
$supp_comp_s = sprintf(', "%s"', $user_cur->rec->supp_comp_get());