X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=373a7213fd70211993f93cfa8f5c8fa68d829ce2;hb=4e8dece98633187fad214fb847a189a3f460e4af;hp=cc4390146e0040a155114493539ffef4203bf73f;hpb=592e26ff713393b42690190ef9496acde56ccd9a;p=brisk.git diff --git a/web/index.php b/web/index.php index cc43901..373a721 100644 --- a/web/index.php +++ b/web/index.php @@ -126,22 +126,18 @@ $mlang_room = array( 'userpassuse' => array('it' => 'Il tuo nickname è g 'en' => 'guarantee for a friend'), 'tit_warr' => array('it' => 'Garantisci per un tuo conoscente.', 'en' => 'Guarantee for a friend.'), - 'itm_list' => array('it' => 'ascolta', - 'en' => 'listen'), + 'itm_list' => array('it' => 'visualizza', + 'en' => 'visualize'), 'list_desc' => array('it' => 'imposta le regole di ascolto', 'en' => 'set the listen rules'), - 'tit_listall' => array('it' => 'tutti', + 'tit_listall' => array('it' => 'tutti gli utenti', 'en' => 'everybody'), - 'listall_desc' => array('it' => 'leggi tutti i messaggi di tutti gli utenti collegati', - 'en' => 'listen all messages from each user connected'), - 'tit_listaut' => array('it' => 'solo autenticati', - 'en' => 'only authorized'), - 'tit_listisol' => array('it' => 'isolamento', - 'en' => 'isolation'), - 'listaut_desc' => array('it' => 'leggi soltanto i messaggi degli utenti con password', - 'en' => 'listen messages only from authenticated users'), - 'listisol_desc'=> array('it' => 'visualizza Brisk come se fosse solo per utenti con password', - 'en' => 'show Brisk like an authenticated user only site'), + 'listall_desc' => array('it' => 'visualizza tutti gli utenti collegati', + 'en' => 'visualize all connected users'), + 'tit_listisol' => array('it' => 'solo gli user autenticati', + 'en' => 'authenticated users only'), + 'listisol_desc' => array('it' => 'visualizza solo gli user autenticati e i tavoli a loro riservati', + 'en' => 'visualize authenticated users only and reserved tables to them'), 'suppcomp_tit' => array('it' => 'personalizza la tua S', 'en' => 'customize your S'), 'suppcomp_r' => array('it' => 'rosso', @@ -206,6 +202,10 @@ $mlang_room = array( 'userpassuse' => array('it' => 'Il tuo nickname è g 'en' => 'cookie policy'), 'itm_cook' => array('it' => 'cookie', 'en' => 'cookie'), + 'tit_dtmg' => array('it' => 'trattamento dati personali', + 'en' => 'personal data management'), + 'itm_dtmg' => array('it' => 'dati personali', + 'en' => 'personal data'), 'tit_cla' => array('it' => 'classifiche degli utenti', 'en' => 'user\'s placings'), 'itm_cla' => array('it' => 'classifiche', @@ -489,7 +489,7 @@ function index_main(&$brisk, $transp_type, $header, &$header_out, $remote_addr_f } } else { - fprintf(STDERR, "POST CHECK QUI\n"); + // fprintf(STDERR, "POST CHECK QUI\n"); /* Login Rendering */ switch($idx) { case -4: @@ -524,24 +524,33 @@ function index_main(&$brisk, $transp_type, $header, &$header_out, $remote_addr_f if ($ACTION == "room") { $tables .= '
'; $tables .= ''; + + $direct = ($user->is_auth() && !$user->is_appr()); for ($ii = 0 ; $ii < TABLES_N ; $ii++) { - if ($user->is_auth() && !$user->is_appr()) + if ($direct) $i = $ii; else $i = TABLES_N - $ii - 1; if ($ii % 4 == 0) { - $tables .= ''; - } - if (TRUE || !($user->flags & USER_FLAG_ISOLAUTH) || $ii < TABLES_AUTH_N) { - $tables .= ''."\n"; + if ($direct) { + $noauth_class = ($i + 3 < TABLES_APPR_N ? "" : "noauth"); + } + else { + $noauth_class = ($i < TABLES_APPR_N ? "" : "noauth"); + } + $tables .= sprintf('', $noauth_class); } + + $noauth_class = ($i < TABLES_APPR_N ? "" : "noauth"); + $tables .= sprintf(''."\n"; + if ($ii % 4 == 3) { $tables .= ''; } @@ -682,19 +691,19 @@ google_color_url = "000000"; $brisk_header_form = '
'; - - $tables .= '
'.$mlang_room['tit_tabl'][$G_lang].$i.'
'; - $tables .= sprintf('
', $i); - $tables .= sprintf('
', $i); - $tables .= '
'; - $tables .= '
', $noauth_class); + + $tables .= '
'.$mlang_room['tit_tabl'][$G_lang].$i.'
'; + $tables .= sprintf('
', $i); + $tables .= sprintf('
', $i); + $tables .= '
'; + $tables .= '
- -
'.$banner_top_left.'
'.(($G_with_topbanner || $G_with_donors) ? ' /* MLANG: ALL THE VERTICAL MENU */ $brisk_vertical_menu = ' @@ -752,6 +761,11 @@ google_color_url = "000000"; onmouseover="menu_hide(0,1);" title="'.$mlang_room['tit_cook'][$G_lang].'" alt="'.$mlang_room['tit_cook'][$G_lang].'">'.$mlang_room['itm_cook'][$G_lang].'
+ +'.$mlang_room['itm_dtmg'][$G_lang].'

Brisk - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + +
' : '').'
+ + + - +
'.$banner_top_left.'
'.(($G_with_topbanner || $G_with_donors) ? '
' : '').'
' /* ciao Prof' */ .$mlang_room['headline'][$G_lang].'
'.( ($G_with_topbanner || $G_with_donors) ? sprintf('
%s
', ($G_with_topbanner ? $G_topbanner : "
donatori
") ) : '').'
-'.$banner_top_right.'
'.$banner_top_right.'
'; +//
'.$banner_top_right.'