From 6e12336f894dd5c8a3c15ce947e170c9b094fb7d Mon Sep 17 00:00:00 2001 From: Andreas Date: Sun, 13 Sep 2020 11:45:49 +0200 Subject: [PATCH] Added the handling of measurement_base in the station_profile. --- application/models/Stations.php | 2 ++ application/views/station_profile/create.php | 10 ++++++++++ application/views/station_profile/edit.php | 10 ++++++++++ 3 files changed, 22 insertions(+) diff --git a/application/models/Stations.php b/application/models/Stations.php index e5110a8e..8dd06e44 100644 --- a/application/models/Stations.php +++ b/application/models/Stations.php @@ -47,6 +47,7 @@ class Stations extends CI_Model { 'state' => xss_clean($this->input->post('station_state', true)), 'eqslqthnickname' => xss_clean($this->input->post('eqslnickname', true)), 'qrzapikey' => xss_clean($this->input->post('qrzapikey', true)), + 'measurement_base' => xss_clean($this->input->post('measurement_base', true)), ); $this->db->insert('station_profile', $data); @@ -68,6 +69,7 @@ class Stations extends CI_Model { 'state' => xss_clean($this->input->post('station_state', true)), 'eqslqthnickname' => xss_clean($this->input->post('eqslnickname', true)), 'qrzapikey' => xss_clean($this->input->post('qrzapikey', true)), + 'measurement_base' => xss_clean($this->input->post('measurement_base', true)), ); $this->db->where('station_id', xss_clean($this->input->post('station_id', true))); diff --git a/application/views/station_profile/create.php b/application/views/station_profile/create.php index e7d77451..69781cac 100644 --- a/application/views/station_profile/create.php +++ b/application/views/station_profile/create.php @@ -165,6 +165,16 @@ Your QRZ.com Logbook API can be found in the settings page +
+ + + Choose which unit distances will be shown in. +
+ diff --git a/application/views/station_profile/edit.php b/application/views/station_profile/edit.php index f6417181..82c58a66 100644 --- a/application/views/station_profile/edit.php +++ b/application/views/station_profile/edit.php @@ -179,6 +179,16 @@ Your QRZ.com Logbook API can be found in the settings page +
+ + + Choose which unit distances will be shown in. +
+