From 2be708f08e9c2bc96c81d12176d4e8857ff20511 Mon Sep 17 00:00:00 2001 From: imlonghao Date: Sat, 7 Sep 2024 10:36:01 +0800 Subject: [PATCH] feat(lotw): support CN_PROVINCE on lotw adif export --- application/views/lotw_views/adif_views/adif_export.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/views/lotw_views/adif_views/adif_export.php b/application/views/lotw_views/adif_views/adif_export.php index 94fd80f5a..9aff60aba 100644 --- a/application/views/lotw_views/adif_views/adif_export.php +++ b/application/views/lotw_views/adif_views/adif_export.php @@ -31,6 +31,8 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1); state != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?>state); ?>>state; } ?> +state != "" && $station_profile->station_country == "CHINA") { ?>state); ?>>state; } ?> + station_cnty != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?>station_cnty); ?>>station_cnty; } ?> @@ -74,6 +76,11 @@ if($station_profile->state != "" && $station_profile->station_country == "CANADA $sign_string .= strtoupper($CI->lotw_ca_province_map($station_profile->state)); } +// Adds CN Province +if($station_profile->state != "" && $station_profile->station_country == "CHINA") { + $sign_string .= strtoupper($station_profile->state); +} + // Add CQ Zone if($station_profile->station_cq) { $sign_string .= $station_profile->station_cq;