From c87a4393fd1bf6b04946b4476f1a90bb4dddfcd9 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sun, 21 Jan 2007 12:13:33 +0000 Subject: [PATCH] corretta gestione wellcome in table --- web/brisk.phh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/web/brisk.phh b/web/brisk.phh index c047763..3188b34 100644 --- a/web/brisk.phh +++ b/web/brisk.phh @@ -36,7 +36,7 @@ define(BRISK_DEBUG, FALSE); $root_wellarr = Array ( 'Benvenuto in brisk (Ver. 0.4.3).', 'Se vuoi iscriverti alla Mailing List, cliccala!' ); -$table_wellarr = Array ( 'In bocca al lupo e vinca il migliore.'); +$table_wellarr = Array ( 'In bocca al lupo!'); $G_brisk_version = "0.4.3"; @@ -57,7 +57,7 @@ Il vostro turno è sempre segnalato da una cornice verde lampeggiante into Durante la partita, se vorrete ricaricare la pagina, usate l\'apposito bottone \\"reload\\" in basso a destra.
Comandi della chat -
/nick <new_nick_name> - cambio di nickname +
/nick <nuovo_nickname> - cambio di nickname
.. to be continue ..
@@ -1188,6 +1188,12 @@ function show_room(&$bri, &$user) /* show table is_transition (is from room to table ?) is_again (is another game) + +Examles of $is_transition, $is_again: + from reload of the page: FALSE, FALSE + from sitdown in room: TRUE, FALSE + from table: asta cmd e tutti passano: TRUE, TRUE + from table: fine partita: TRUE, TRUE */ function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again) { @@ -1227,8 +1233,9 @@ function show_table(&$bri, &$user, $sendstep, $is_transition, $is_again) /* NOTIFY FOR THE CARD MAKER */ if ($is_transition) { // && $user->subst == "asta" superfluo $ret .= show_table_info(&$bri, &$table, $user->table_pos); - $ret .= table_wellcome($user); } + if (!$is_again) + $ret .= table_wellcome($user); /* CARDS */ if ($is_transition) { // && $user->subst == "asta" superfluo -- 2.17.1