From af60e403152f2ab4074512f48f67b4e2d6e84836 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Fri, 18 Apr 2025 11:02:22 +0100 Subject: [PATCH] removed redundant code --- application/controllers/Qrz.php | 1 - application/models/Logbook_model.php | 1 - application/views/qrz/export.php | 128 +++++++++++++-------------- 3 files changed, 60 insertions(+), 70 deletions(-) diff --git a/application/controllers/Qrz.php b/application/controllers/Qrz.php index 3114486a..4190f79b 100644 --- a/application/controllers/Qrz.php +++ b/application/controllers/Qrz.php @@ -469,7 +469,6 @@ class Qrz extends CI_Controller { $tableheaders .= "Mode"; $tableheaders .= "QRZ QSL Received"; $tableheaders .= "QRZ Confirmed"; - $tableheaders .= "Log Status"; $tableheaders .= ""; $table = ""; diff --git a/application/models/Logbook_model.php b/application/models/Logbook_model.php index 15dadb8e..49a7d9ce 100755 --- a/application/models/Logbook_model.php +++ b/application/models/Logbook_model.php @@ -4931,7 +4931,6 @@ class Logbook_model extends CI_Model $table .= "" . $record['mode'] . ""; $table .= "" . $record['qsl_date'] . ""; $table .= "" . ($record['qsl_rcvd'] == 'Y' ? 'Yes' : 'No') . ""; - $table .= "" . $log_status . ""; $table .= ""; } diff --git a/application/views/qrz/export.php b/application/views/qrz/export.php index 4c65be05..0aa37e95 100644 --- a/application/views/qrz/export.php +++ b/application/views/qrz/export.php @@ -1,10 +1,9 @@ -
-

+

-
-
+
+
-
+
-
+
-

Here you can see and upload all QSOs which have not been previously uploaded to a QRZ logbook.

-

You need to set a QRZ Logbook API key in your station profile. Only station profiles with an API Key set are displayed.

-

Warning This might take a while as QSO uploads are processed sequentially.

+

Here you can see and upload all QSOs which have not been previously uploaded to a QRZ logbook.

+

You need to set a QRZ Logbook API key in your station profile. Only station profiles with an API Key set are displayed.

+

Warning This might take a while as QSO uploads are processed sequentially.

-result()) { - echo ' + result()) { + echo ' @@ -41,66 +40,59 @@ '; - foreach ($station_profile->result() as $station) { // Fills the table with the data - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - echo ''; - } - echo '
Actions
' . $station->station_profile_name . '' . $station->station_callsign . '' . $station->modcount . '' . $station->notcount . '' . $station->totcount . '
'; + foreach ($station_profile->result() as $station) { // Fills the table with the data + echo ''; + echo '' . $station->station_profile_name . ''; + echo '' . $station->station_callsign . ''; + echo '' . $station->modcount . ''; + echo '' . $station->notcount . ''; + echo '' . $station->totcount . ''; + echo ''; + echo ''; + } + echo ''; + } else { + echo ''; + } + ?> - } - else { - echo ''; - } - ?> +
+
-
-
+
+ Download QSOs from QRZ Logbook for all Locations
+ +
+
-
-

Warning If no startdate is given then all QSOs after last confirmation will be downloaded/updated!

-
-
- - +
+ + + +

Warning If a date range is not selected then all QSOs will be marked!

+
+
+ + +
+ +
+ + +
-
-
- - -
- -
- -
- -

Warning If a date range is not selected then all QSOs will be marked!

-
-
- - -
- -
- - -
-
-
- -
-
+
+ + +
-
+
\ No newline at end of file