aggiunti tasti di help e about, modificata la notify
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sat, 20 Jan 2007 19:24:08 +0000 (19:24 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Sat, 20 Jan 2007 19:24:08 +0000 (19:24 +0000)
web/index_wr.php

index 5a1eb88..5f901f5 100644 (file)
@@ -62,7 +62,15 @@ if ($argz[0] == 'shutdown') {
 else if ($user->stat == 'room') {
   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");
+    $user->comm[$user->step % COMM_N] .=  show_notify(str_replace("\n", " ", $G_room_help), 0, "torna ai tavoli", 600, 500);
+
+    log_wr($sess, $user->comm[$user->step % COMM_N]);
+    $user->step++;
+    
+  }
+  else if ($argz[0] == 'about') {
+    $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; ";
+    $user->comm[$user->step % COMM_N] .=  show_notify(str_replace("\n", " ", $G_room_about), 0, "torna ai tavoli", 400, 200);
 
     log_wr($sess, $user->comm[$user->step % COMM_N]);
     $user->step++;