From b809abea67d0785fd09f843ea995c24ca9b7176d Mon Sep 17 00:00:00 2001 From: Andreas Kristiansen <6977712+AndreasK79@users.noreply.github.com> Date: Thu, 21 Aug 2025 13:40:02 +0200 Subject: [PATCH] Add DCL to column in LBA --- application/views/logbookadvanced/index.php | 8 ++++++++ assets/js/sections/logbookadvanced.js | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/application/views/logbookadvanced/index.php b/application/views/logbookadvanced/index.php index c02800c27..3a75335c0 100644 --- a/application/views/logbookadvanced/index.php +++ b/application/views/logbookadvanced/index.php @@ -67,6 +67,7 @@ \"county\":{\"show\":\"true\"}, \"qth\":{\"show\":\"true\"}, \"frequency\":{\"show\":\"true\"}, + \"dcl\":{\"show\":\"true\"}, }"; } $current_opts = json_decode($options); @@ -171,6 +172,10 @@ echo "\nvar o_template = { frequency: {show: 'true'}};"; echo "\nuser_options={...user_options, ...o_template};"; } + if (!isset($current_opts->dcl)) { + echo "\nvar o_template = { dcl: {show: 'true'}};"; + echo "\nuser_options={...user_options, ...o_template};"; + } foreach ($mapoptions as $mo) { @@ -735,6 +740,9 @@ $options = json_decode($options); } ?> qrz->show ?? "true") == "true") { echo '