From cffd2c46efe5875ad1eb86a566a9b41bdb461861 Mon Sep 17 00:00:00 2001 From: Fibinger Ádám <adam.fibinger@wup.hu> Date: Thu, 09 Jan 2020 16:31:43 +0100 Subject: [PATCH] Kali, Wamai és egyéb módosítások --- form.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/form.php b/form.php index f2bf36e..cf227fe 100644 --- a/form.php +++ b/form.php @@ -22,6 +22,10 @@ $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]); file_put_contents(OVERLAY_DIR . 'team-ban.html', $html_content); + $s->setClass('team-ban'); + $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s, 'autorefresh' => 30]); + file_put_contents(OVERLAY_DIR . 'team-ban-refresh.html', $html_content); + } else { if (file_exists(STRIPE_JSON)) { $raw_json = file_get_contents(STRIPE_JSON); -- Gitblit v1.8.0