From eb7e2ac02d652ac1ec9c842b14e1efbc27e852fc Mon Sep 17 00:00:00 2001 From: AndreaChirulescu Date: Fri, 9 Apr 2021 16:53:04 +0200 Subject: Beuatified files after using editconfig with notepad++ --- includes/admin/views/giglog_admin_page.php | 36 ++++++++++++++++-------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'includes/admin/views/giglog_admin_page.php') diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 89e92fd..c00284b 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -42,21 +42,22 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) {

- -
Here Be Dragons
-
-
-
-
-
- -

-
- Here Be Dragons
+
+
+
+
+
+ +

+ + '; - foreach ( GiglogAdmin_Venue::all_venues() AS $venue ) + { $select .= ''; + foreach ( GiglogAdmin_Band::all_bands() AS $band ) { $select .= ''; + $select .=''; } $select .= ''; return($select); @@ -144,7 +146,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { return $select; } - + //function to calculate if the concert has been added in the past 10 days or before that and show a green NEW for the newest rows static function getpublishstatus($concert_id) { @@ -158,7 +160,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { $date2 = new DateTime($x, new DateTimeZone('Europe/London')); $dd = $date2 -> diff($date1) ->format("%a"); } - + if ($dd <= 10) return ('NEW'); } -- cgit v1.2.3