From 4f4438b5de0504b7836e077c56e9df07e3e4ac85 Mon Sep 17 00:00:00 2001 From: frederik Date: Wed, 3 Apr 2024 14:38:01 +0200 Subject: [PATCH] history.php: cleanup html --- scripts/history.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/history.php b/scripts/history.php index 2985800..f4288da 100644 --- a/scripts/history.php +++ b/scripts/history.php @@ -63,9 +63,9 @@ if(isset($_GET['blocation']) ) { die(); } - -?> - +if (get_included_files()[0] === __FILE__) { + echo ' + - +'; + } +?>
@@ -154,6 +156,9 @@ if (file_exists('./Charts/'.$chart2)) { echo ""; } else { echo "

No Charts For $theDate

"; -}?> -
- +} +echo ""; +if (get_included_files()[0] === __FILE__) { + echo ' +'; +}