X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=bb579e595c64e1b3ce5a4dc5676a84e996dce171;hb=6ccd6cd5bec3ae91aa7c4453ca4efb574ef03325;hp=848b9f4359581210fecefd4358342e01c92c3c8a;hpb=028592d3d195d45f0e19d324c7d7c029a06d0a0c;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index 848b9f4..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'),
@@ -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, \'\' ); ';
}
@@ -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;