From a0b24745843fc7bad6f8291ef6f660e255af7825 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 15 Dec 2015 13:14:17 +0100 Subject: [PATCH] removed 'whysupport' action --- web/Obj/sac-a-push.phh | 2 +- web/commons.js | 5 ----- web/index.php | 5 ----- web/index_wr.php | 11 ----------- 4 files changed, 1 insertion(+), 22 deletions(-) diff --git a/web/Obj/sac-a-push.phh b/web/Obj/sac-a-push.phh index 619d0b2..a3fe932 100644 --- a/web/Obj/sac-a-push.phh +++ b/web/Obj/sac-a-push.phh @@ -39,7 +39,7 @@ $_globals_list = array( 'G_mail_seed', 'G_notguar_code', 'G_PG_cons', 'G_PG_cons_n', 'G_PG_vow', 'G_PG_vow_n', 'G_poll_entries', 'G_poll_name', 'G_poll_title', 'G_provider_proxy', 'G_proxy_white_list', 'G_room_about', 'G_room_help', -'G_room_passwdhowto', 'G_room_roadmap', 'G_room_whysupport', +'G_room_passwdhowto', 'G_room_roadmap', 'G_selfreg_mask', 'G_selfreg_tout', 'G_shutdown', 'G_sidebanner', 'G_sidebanner_idx', 'G_splash_content', 'G_splash_contents', 'G_splash_cont_idx', 'G_splash_h', 'G_splash_idx', 'G_splash_interval', diff --git a/web/commons.js b/web/commons.js index bb2541b..cefb6c0 100644 --- a/web/commons.js +++ b/web/commons.js @@ -430,11 +430,6 @@ function act_roadmap() send_mesg("roadmap"); } -function act_whysupport() -{ - send_mesg("whysupport"); -} - function act_lascio() { send_mesg("lascio"); diff --git a/web/index.php b/web/index.php index 0a6d9ff..f7fabf0 100644 --- a/web/index.php +++ b/web/index.php @@ -734,11 +734,6 @@ google_color_url = "000000"; alt="'.$mlang_room['tit_cook'][$G_lang].'">'.$mlang_room['itm_cook'][$G_lang].'

- '.$mlang_room['itm_cla'][$G_lang].'
diff --git a/web/index_wr.php b/web/index_wr.php index 2d514af..eb01410 100644 --- a/web/index_wr.php +++ b/web/index_wr.php @@ -228,9 +228,6 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) echo show_notify(str_replace("\n", " ", placings_show(FALSE)), 0, $mlang_indwr['btn_close'][$G_lang], 800, 600); } - else if ($argz[0] == 'whysupport') { - echo show_notify(str_replace("\n", " ", $G_room_whysupport[$G_lang]), 0, $mlang_indwr['btn_close'][$G_lng], 400, 200); - } else if ($argz[0] == 'apprentice') { if (($cli_name = gpcs_var('cli_name', $get, $post, $cookie)) === FALSE) $cli_name = ""; @@ -760,14 +757,6 @@ function index_wr_main(&$brisk, $remote_addr_full, $get, $post, $cookie) log_wr($user->comm[$user->step % COMM_N]); $user->step_inc(); - } - else if ($argz[0] == 'whysupport') { - $user->comm[$user->step % COMM_N] = "gst.st = ".($user->step+1)."; "; - $user->comm[$user->step % COMM_N] .= show_notify(str_replace("\n", " ", $G_room_whysupport[$G_lang]), 0, $mlang_indwr['btn_backtotab'][$G_lang], 400, 200); - - log_wr($user->comm[$user->step % COMM_N]); - $user->step_inc(); - } else if ($argz[0] == 'chatt') { $brisk->chatt_send(&$user, xcapemesg($mesg)); -- 2.17.1