From 166d42e21fcd4d339338f4f9ba31f6cb68ffc6e3 Mon Sep 17 00:00:00 2001 From: Miguel Ribeiro Date: Fri, 23 Feb 2024 02:33:50 +0100 Subject: [PATCH] Move display settings to the bottom --- settings.php | 78 ++++++++++++++++++++++++++-------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/settings.php b/settings.php index 44bea3a9e..2bb7e6a39 100644 --- a/settings.php +++ b/settings.php @@ -470,7 +470,45 @@ - + + +
+
+

+
+
+ query('SELECT id FROM payment_methods WHERE id IN (SELECT DISTINCT payment_method_id FROM subscriptions)'); + $paymentsInUse = []; + while ($row = $paymentsInUseQuery->fetchArray(SQLITE3_ASSOC)) { + $paymentsInUse[] = $row['id']; + } + + foreach ($payments as $payment) { + $inUse = in_array($payment['id'], $paymentsInUse); + ?> +
+ Logo + + + +
+ +
+
+

+ + +

+
+
@@ -513,44 +551,6 @@

-
- -
-
-

-
-
- query('SELECT id FROM payment_methods WHERE id IN (SELECT DISTINCT payment_method_id FROM subscriptions)'); - $paymentsInUse = []; - while ($row = $paymentsInUseQuery->fetchArray(SQLITE3_ASSOC)) { - $paymentsInUse[] = $row['id']; - } - - foreach ($payments as $payment) { - $inUse = in_array($payment['id'], $paymentsInUse); - ?> -
- Logo - - - -
- -
-
-

- - -

-