From ae60f7ef960ae6e6cf8ea2f16cf895dcd9ba83e7 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 21 Jul 2024 21:41:02 +0200 Subject: [PATCH] ability to skip dxcc update (advanced settings) --- .../includes/interface_assets/triggers.php | 7 +- install/index.php | 2801 +++++++++-------- install/run.php | 47 +- 3 files changed, 1440 insertions(+), 1415 deletions(-) diff --git a/install/includes/interface_assets/triggers.php b/install/includes/interface_assets/triggers.php index 0e78cb5cf..b88e32df8 100644 --- a/install/includes/interface_assets/triggers.php +++ b/install/includes/interface_assets/triggers.php @@ -10,6 +10,7 @@ if ($_POST['database_check'] ?? false == true) { $result = $database->database_check($_POST); echo $result; exit; + } /** @@ -22,7 +23,7 @@ if ($_POST['database_check'] ?? false == true) { if ($_POST['run_config_file'] ?? false == true) { sleep(1); - $data = json_decode($_POST['data'], true); + $data = $_POST['data']; if ($core->validate_post($data)) { if($core->write_configfile($data)) { $result = 'success'; @@ -38,7 +39,7 @@ if ($_POST['run_config_file'] ?? false == true) { if ($_POST['run_database_file'] ?? false == true) { sleep(1); - $data = json_decode($_POST['data'], true); + $data = $_POST['data']; if ($core->validate_post($data)) { if($core->write_config($data)) { $result = 'success'; @@ -53,7 +54,7 @@ if ($_POST['run_database_file'] ?? false == true) { } if ($_POST['run_database_tables'] ?? false == true) { - $data = json_decode($_POST['data'], true); + $data = $_POST['data']; if ($core->validate_post($data)) { $result = $database->create_tables($data); } else { diff --git a/install/index.php b/install/index.php index 18c49578c..f80870c78 100644 --- a/install/index.php +++ b/install/index.php @@ -12,1192 +12,1221 @@ HB9HIL - Big UX and backend upgrade - July 2024 if(!file_exists('.lock')) { -include 'includes/interface_assets/header.php'; ?> + include 'includes/interface_assets/header.php'; ?> - -
+ +
-
+
-
- -
+
+ +
-
-
-
+
+ +
- -
-
-
- -
- -
-

-

Wavelog is a powerful web-based amateur radio logging software. Follow the steps in each tab to configure and install Wavelog on your server."); ?>

-

" . __("Wiki") . "", "" . __("Discussions") . ""); ?>

-

- - -
-
-
- - - + + - + - diff --git a/install/run.php b/install/run.php index c671a3d53..11ec5de17 100644 --- a/install/run.php +++ b/install/run.php @@ -24,7 +24,7 @@
-
+