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 |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/form.php b/form.php
index 5e543f0..cf227fe 100644
--- a/form.php
+++ b/form.php
@@ -11,17 +11,21 @@
     }
 
     $s->setClass('simple');
-    $html_content = $twig->render('overlay-base.twig', ['stripe' => $s]);
+    $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]);
     file_put_contents(OVERLAY_DIR . 'simple.html', $html_content);
 
     $s->setClass('team');
-    $html_content = $twig->render('overlay-base.twig', ['stripe' => $s]);
+    $html_content = $twig->render('overlays/stripe.twig', ['stripe' => $s]);
     file_put_contents(OVERLAY_DIR . 'team.html', $html_content);
 
     $s->setClass('team-ban');
-    $html_content = $twig->render('overlay-base.twig', ['stripe' => $s]);
+    $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