X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Findex.php;h=d6063354ad6a2feb2d4f9b7ec80c1d12248165ed;hb=0afea1ef9bfb43e9c1fe82aef2f13421b71836bb;hp=b5ed1e9673bb4a4f4b5b8da021e4fd8f4d081359;hpb=55e720e85cae9b2fb69fac06ebe57ea35119a440;p=brisk.git diff --git a/web/index.php b/web/index.php index b5ed1e9..d606335 100644 --- a/web/index.php +++ b/web/index.php @@ -50,6 +50,10 @@ $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_save' => array('it' => 'Salva.', @@ -407,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 .= ''; } @@ -888,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; @@ -1245,7 +1257,7 @@ type="submit" class="button" onclick="this.form.elements['realsub'].value = 'chi rec != FALSE && $user->rec->last_dona > 1356994800) { +if ($user->is_supp_custom()) { ?>