From: Matteo Nastasi (mop) Date: Sat, 23 May 2009 09:35:54 +0000 (+0000) Subject: passwordhowto added X-Git-Tag: 3.0.0~117 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=c81fd91caf08ff78fb4ef29313812db333d9c2ea;p=brisk.git passwordhowto added --- 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)."; ";