From 1437aa24eb931e4c1297401b0f670c6daebdcb9c Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sat, 20 Jan 2007 13:02:18 +0000 Subject: [PATCH] aggiunto help nella room --- web/index_wr.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/web/index_wr.php b/web/index_wr.php index c006b25..5a1eb88 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -60,7 +60,15 @@ if ($argz[0] == 'shutdown') { log_rd2($sess, "SHUTDOWN FROM WHAT ???"); } else if ($user->stat == 'room') { - if ($argz[0] == 'logout') { + if ($argz[0] == 'help') { + $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; + $user->comm[$user->step % COMM_N] .= show_notify("bottom", $G_room_help, 0, "torna ai tavoli"); + + log_wr($sess, $user->comm[$user->step % COMM_N]); + $user->step++; + + } + else if ($argz[0] == 'logout') { $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; $user->comm[$user->step % COMM_N] .= sprintf('postact_logout();'); $user->the_end = TRUE; @@ -152,10 +160,7 @@ else if ($user->stat == 'table' && $user->subst == 'asta') { log_wr($sess, "PER DI TABLEINFO"); $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; $user->comm[$user->step % COMM_N] .= show_table_info(&$bri, &$table, $user->table_pos); - log_wr($sess, $user->comm[$user->step % COMM_N]); - - $user->step++; } else if ($argz[0] == 'chatt') { -- 2.17.1