X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=d6063354ad6a2feb2d4f9b7ec80c1d12248165ed;hb=0afea1ef9bfb43e9c1fe82aef2f13421b71836bb;hp=7e4ec9db441160156b56259a18c7ca2e737fa3bd;hpb=9c35bacfc8208c5201dd2db7821921fd23ba3c08;p=brisk.git diff --git a/web/index.php b/web/index.php index 7e4ec9d..d606335 100644 --- a/web/index.php +++ b/web/index.php @@ -50,10 +50,16 @@ $mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati 'en' => '
The nickname you are using it\'s already registered,

if its proprietary authenticates

you will named ghostN.'), 'btn_rettabs' => array('it' => 'torna ai tavoli', 'en' => 'back to tables'), + 'btn_moder' => array('it' => 'Modera.', + 'en' => 'Moderate.'), + 'btn_reload' => array('it' => 'Reload.', + 'en' => 'Reload.'), 'btn_exit' => array('it' => 'Esco.', 'en' => 'Exit.'), - 'btn_prefs_update' => array('it' => 'Salva.', + 'btn_prefs_save' => array('it' => 'Salva.', 'en' => 'Save.'), + 'btn_prefs_reset' => array('it' => 'Annulla.', + 'en' => 'Reset.'), 'btn_prefs_close' => array('it' => 'Chiudi.', 'en' => 'Close.'), 'tit_tabl' => array('it' => 'Tavolo ', @@ -118,7 +124,21 @@ $mlang_room = array( 'userpasserr' => array('it' => 'Utente e/o password errati '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'), + 'en' => 'show Brisk like an authenticated user only site'), + 'suppcomp_tit' => array('it' => 'personalizza la tua S', + 'en' => 'customize your S'), + 'suppcomp_r' => array('it' => 'rosso', + 'en' => 'red'), + 'suppcomp_g' => array('it' => 'verde', + 'en' => 'green'), + 'suppcomp_b' => array('it' => 'blu', + 'en' => 'blue'), + 'suppcomp_fg' => array('it' => 'colore', + 'en' => 'color'), + 'suppcomp_bg' => array('it' => 'sfondo', + 'en' => 'background'), + 'suppcomp_range' => array('it' => '(0-255)', + 'en' => '(0-255)'), 'tit_splash' => array('it' => 'splash', 'en' => 'splash'), 'splash_desc' => array('it' => 'attiva la finestra di splash', @@ -391,8 +411,15 @@ function index_main(&$room, $transp_type, &$header_out, $addr, $get, $post, $coo $standup .= '
'.$mlang_room['standing'][$G_lang].'
'; $standup .= sprintf('
'); - // MLANG Esco. - $standup .= '
'; + // MLANG (Modera) Reload Esco. + // TODO: moderation button if moderator only + if (1 == 1) { + $moder_button = ''; + } + else { + $moder_button = ''; + } + $standup .= '
'.$moder_button.'
'; $standup .= ''; } @@ -848,6 +875,7 @@ supported by:
+ @@ -871,6 +899,7 @@ supported by:
var g_listen; var g_withflash = false; var g_is_spawn = 0; + var g_moder = -1; var gst = new globst(); var topbanner_sfx, topbanner_dx; var g_brow = null; @@ -882,7 +911,7 @@ supported by:
// alert(window.onbeforeunload); g_brow = get_browser_agent(); - g_prefs = new client_prefs(); + g_prefs = new client_prefs(null); spo_slide = new sideslide($('spon_caro'), 80, 20); sup_slide = new sideslide($('supp_caro'), 80, 20); @@ -988,6 +1017,7 @@ echo "$body"; ?> + @@ -1025,7 +1055,7 @@ echo "$body"; ?> window.onload = function() { g_brow = get_browser_agent(); - g_prefs = new client_prefs(); + g_prefs = new client_prefs(null); spo_slide = new sideslide($('spon_caro'), 80, 20); sup_slide = new sideslide($('supp_caro'), 80, 20); @@ -1197,46 +1227,114 @@ type="submit" class="button" onclick="this.form.elements['realsub'].value = 'chi
-