From 25e87868d7d29a62997de271ea6d1018df7a6463 Mon Sep 17 00:00:00 2001
From: DB4SCW
Date: Wed, 8 Jan 2025 11:58:16 +0000
Subject: [PATCH] add display for imported contest data on adif import
---
application/controllers/Adif.php | 6 ------
application/views/adif/import_success.php | 15 +++++++++++++++
2 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/application/controllers/Adif.php b/application/controllers/Adif.php
index 932ad83b6..cc7808e43 100644
--- a/application/controllers/Adif.php
+++ b/application/controllers/Adif.php
@@ -240,7 +240,6 @@ class adif extends CI_Controller {
if ($contest != '') {
$record['contest_id'] = $contest;
}
-<<<<<<< HEAD
//check if contest_id exists in record and extract all found contest_ids
if(array_key_exists('contest_id', $record)){
@@ -254,11 +253,6 @@ class adif extends CI_Controller {
}
}
-=======
- if ($club_operator != '') {
- $record['operator']=strtoupper($club_operator);
- }
->>>>>>> dev
if(count($record) == 0) {
break;
};
diff --git a/application/views/adif/import_success.php b/application/views/adif/import_success.php
index c2d36a281..6868cf2d0 100644
--- a/application/views/adif/import_success.php
+++ b/application/views/adif/import_success.php
@@ -20,6 +20,21 @@
echo " ".__("Dupes were skipped.");
} ?>
+
+
+ 0)?>
+ = __("You imported at least 1 QSO containing a contest ID.")?>
+ = __("Sometimes, depending on your contest logging software, your exchanges will not be imported properly from that softwares ADIF. If you like to correct that, switch to the CBR Import Tab of the ADIF Import page.")?>
+ = __("We found the following numbers of QSOs for the following contest IDs:")?>
+
+
+
+
+
= __("Import details / possible problems")?>
= __("You might have ADIF errors, the QSOs have still been added. Please check the following information:")?>