From c4df1467fc7e0ad7c9db774ca6d35c8a85070ee7 Mon Sep 17 00:00:00 2001 From: Christoph Kottke Date: Mon, 5 Feb 2024 21:30:23 +0100 Subject: [PATCH] add same fixes * add proper error message * improve usability --- application/controllers/Eqsl.php | 3 +-- application/views/eqsl/import.php | 12 ++++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index 76c266b6..c325884b 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -40,8 +40,7 @@ class eqsl extends CI_Controller { $this->load->model('eqslmethods_model'); $eqsl_locations = $this->eqslmethods_model->all_of_user_with_eqsl_nick_defined(); if($eqsl_locations->num_rows() == 0) { - show_error("eQSL Nicknames in Station Profiles aren't defined"); - exit; + $this->session->set_flashdata('error', 'eQSL Nicknames in Station Profiles aren\'t defined!'); } ini_set('memory_limit', '-1'); diff --git a/application/views/eqsl/import.php b/application/views/eqsl/import.php index 2a24e17d..c6801e89 100644 --- a/application/views/eqsl/import.php +++ b/application/views/eqsl/import.php @@ -31,9 +31,6 @@

Upload the Exported ADIF file from eQSL from the Download Inbox page, to mark QSOs as confirmed on eQSL.

-

Important Log files must have the file type .adi

- -

Choose Station(location) eQSL File belongs to:

+

ImportantLog files must have the file type .adi

+ - -

- +
@@ -59,8 +56,7 @@
- -
+