From c81fd91caf08ff78fb4ef29313812db333d9c2ea Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Sat, 23 May 2009 09:35:54 +0000 Subject: [PATCH] passwordhowto added --- web/index_wr.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/web/index_wr.php b/web/index_wr.php index 80c7edd..bdf5741 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -107,6 +107,9 @@ if (($user = &$room->get_user($sess, &$idx)) == FALSE) { else if ($argz[0] == 'about') { echo show_notify(str_replace("\n", " ", $G_room_about), 0, "torna ai tavoli", 400, 200); } + else if ($argz[0] == 'passwdhowto') { + echo show_notify(str_replace("\n", " ", $G_room_passwdhowto), 0, "torna ai tavoli", 400, 200); + } else if ($argz[0] == 'roadmap') { echo show_notify(str_replace("\n", " ", $G_room_roadmap), 0, "torna ai tavoli", 400, 200); } @@ -235,6 +238,14 @@ else if ($user->stat == 'room') { log_wr($user->comm[$user->step % COMM_N]); $user->step_inc(); + } + else if ($argz[0] == 'passwdhowto') { + $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; + $user->comm[$user->step % COMM_N] .= show_notify(str_replace("\n", " ", $G_room_passwdhowto), 0, "torna ai tavoli", 600, 500); + + log_wr($user->comm[$user->step % COMM_N]); + $user->step_inc(); + } else if ($argz[0] == 'about') { $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; -- 2.17.1