X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=e8a9a95e268350a04072212ab3ed91e437ba0218;hb=e4875cb5c735425517d1f66584a26414646db4a8;hp=f2e90079a2badd5260d67ec5e81584558f8c645d;hpb=2a36c945e6c9107f400dfb24d57c682f1c7f49e2;p=brisk.git
diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh
index f2e9007..e8a9a95 100644
--- a/web/Obj/brisk.phh
+++ b/web/Obj/brisk.phh
@@ -152,10 +152,10 @@ $mlang_brisk = array( 'btn_backstand'=> array( 'it' => 'torna in piedi',
$G_lng = langtolng($G_lang);
$G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 );
-$G_brisk_version = "5.0.0";
+$G_brisk_version = "5.1.0";
/* MLANG: ALL THE INFO STRINGS IN brisk.phh */
-$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': comando /info e doppio click sugli utenti registrati, nuovi utenti apprendisti.',
+$root_wellarr = array( 'it' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': comando /info e doppio click sugli utenti registrati, nuovi utenti apprendisti, info su numero di mani e di partite.',
'Se vuoi iscriverti alla Mailing List, cliccala!' ),
'en' => array ( 'Brisk (Ver. '.$G_brisk_version.'), NEWS: ENcomando /info e doppio click sugli utenti registrati, nuovi utenti apprendisti.',
'If you want to subscribe our Mailing List, click it!' ) );
@@ -1664,7 +1664,8 @@ class Brisk
$ret = 3;
break;
}
- if ($user_login == $user->name) {
+ // FIXME: just for test
+ if ($user_login == $user->name && FALSE) {
$ret = 4;
$mesg = sprintf($mlang_brisk['inf_self'][$G_lang]);
break;
@@ -2169,7 +2170,9 @@ class Brisk
$to_user = sprintf('chatt_sub("%s",[%d,"%s"],"%s");', $dt, $user->flags, xcape($user->name), xcape("== chat ban =="));
}
else {
- if ( TRUE && (!$user->is_auth() || $user->is_appr()) ) {
+ // TEMPORARY DISABLED UNTIL test user option will be available
+ // if ( TRUE && (!$user->is_auth() || $user->is_appr()) ) {
+ if (!$user->is_auth()) {
$to_user = nickserv_msg($dt, xcape("Visto l'elevato numero di molestatori che ultimamente hanno preso dimora su Brisk abbiamo deciso"));
$to_user .= nickserv_msg($dt, xcape("di disattivare temporaneamente la chat in room per i non registrati, non ce ne vogliate e buone feste."));
if (FALSE) {