From 5c84220bd37aa3480602ff0020247c55784d8bab Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Thu, 6 Nov 2025 08:43:35 +0100 Subject: [PATCH] [Advanced Logbook] Added continent fix and distance fix --- application/controllers/Logbookadvanced.php | 4 + .../views/logbookadvanced/continentdialog.php | 5 + application/views/logbookadvanced/help.php | 38 +++--- application/views/logbookadvanced/index.php | 64 ++++++--- assets/js/sections/logbookadvanced.js | 122 ++++++++++++------ 5 files changed, 156 insertions(+), 77 deletions(-) create mode 100644 application/views/logbookadvanced/continentdialog.php diff --git a/application/controllers/Logbookadvanced.php b/application/controllers/Logbookadvanced.php index 6a2f2c2bc..e2a297964 100644 --- a/application/controllers/Logbookadvanced.php +++ b/application/controllers/Logbookadvanced.php @@ -713,6 +713,10 @@ class Logbookadvanced extends CI_Controller { $this->load->view('logbookadvanced/help'); } + public function continentDialog() { + $this->load->view('logbookadvanced/continentdialog'); + } + public function fixCqZones() { if(!clubaccess_check(9)) return; diff --git a/application/views/logbookadvanced/continentdialog.php b/application/views/logbookadvanced/continentdialog.php new file mode 100644 index 000000000..9618a4791 --- /dev/null +++ b/application/views/logbookadvanced/continentdialog.php @@ -0,0 +1,5 @@ +
+ Update all QSOs with the continent based on the DXCC country of the QSO. + This is useful if you have imported QSOs without continent information.

+ Update will only set the continent for QSOs where the continent is empty or invalid (not AF, AN, AS, EU, NA, OC or SA). +
diff --git a/application/views/logbookadvanced/help.php b/application/views/logbookadvanced/help.php index 2a51f0c57..2a54b6ae9 100644 --- a/application/views/logbookadvanced/help.php +++ b/application/views/logbookadvanced/help.php @@ -1,18 +1,20 @@ -
-
  • -
  • -
  • -
    - -

    - -
  • -
  • -
  • -
  • -
  • -
  • -
    - -

    - +
    +
    +
  • +
  • +
  • +
    + +

    + +
  • +
  • +
  • +
  • +
  • +
  • +
    + +

    + +
    diff --git a/application/views/logbookadvanced/index.php b/application/views/logbookadvanced/index.php index c314bfed2..49c21ed42 100644 --- a/application/views/logbookadvanced/index.php +++ b/application/views/logbookadvanced/index.php @@ -1,28 +1,56 @@