X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=853430e5e0f6176eb00c5474823d3ec5348efd5d;hb=c282f022712c52d8df7d6e4053e10d0259bb9b6f;hp=aeb839a614a515502d6590277f3859cf217603e4;hpb=d4946c548a47a8eb564ced365810be6d0583d814;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index aeb839a..853430e 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2,7 +2,7 @@ /* * brisk - brisk.phh * - * Copyright (C) 2006-2008 Matteo Nastasi + * Copyright (C) 2006-2009 Matteo Nastasi * mailto: nastasi@alternativeoutput.it * matteo.nastasi@milug.org * web: http://www.alternativeoutput.it @@ -27,7 +27,7 @@ define(BRISK_CONF, "brisk.conf.pho"); define(FTOK_PATH, "/var/lib/brisk"); define(LEGAL_PATH, "/tmp/legal_brisk"); define(PROXY_PATH, "/var/lib/brisk_proxy"); -define(TABLES_N, 32); +define(TABLES_N, 36); define(PLAYERS_N, 3); define(MAX_POINTS, 5); define(MAX_PLAYERS, (20 + (PLAYERS_N * TABLES_N))); @@ -65,7 +65,7 @@ define(DBG_AUTH, 0x0200); define(DBG_CRIT, 0x0400); // NOTE: BRISK DEBUG must be a numerical constant, not the result of operations on symbols -define(BRISK_DEBUG, 0xffffffff); +define(BRISK_DEBUG, 0xffffffbf); define(BRISK_SINGLE_DEBUG,0); define(BRISK_SINGLE_SESS, ""); @@ -74,15 +74,17 @@ define(BRISK_SINGLE_SESS, ""); require_once("$DOCUMENT_ROOT/Etc/".BRISK_CONF); $G_false = FALSE; +$G_lang = "it"; +$G_lng = ""; +// $G_lang = "en"; +// $G_lng = "_en"; $G_all_points = array( 11,10,4,3,2, 0,0,0,0,0 ); -$G_brisk_version = "2.1.4 - trusty"; +$G_brisk_version = "2.1.9 - trusty"; /* MLANG: ALL THE INFO STRINGS IN brisk.phh */ -$root_wellarr = Array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': Aggiunto un watchdog per la rete e il tasto "reload" in room.', +$root_wellarr = Array ( 'Brisk (Ver. '.$G_brisk_version.'), NOVITA\': sondaggi, direct messages quando segnalate.', 'Se vuoi iscriverti alla Mailing List, cliccala!' ); -$table_wellarr = Array ( 'Benvenuto al tavolo. Se almeno tre giocatori non sbloccano l\'uscita cliccando il lucchetto, chi esce non può risedersi a un qualunque tavolo per '.floor(BAN_TIME/60).' minuti.'); - $G_room_help= '
'); - - // Names. - for ($i = 0 ; $i < PLAYERS_N ; $i++) - $noty .= sprintf(' | %s | ', xcape($room->user[$table->player[$i]]->name)); - $noty .= sprintf("
---|---|
%d | ', $i+1); - for ($e = 0 ; $e < PLAYERS_N ; $e++) - $noty .= sprintf('%d | ', $table->points[$i % MAX_POINTS][$e]); - $noty .= "
Tot. | '; - for ($e = 0 ; $e < PLAYERS_N ; $e++) - $noty .= sprintf('%d | ', $table->total[$e]); - $noty .= "