From ec0102da0ff42476a516d1115b6d244ccb7338dd Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Thu, 29 Mar 2012 18:48:26 +0100 Subject: [PATCH] Added option to add propagation mode to a qso entry (issue #91) --- application/models/logbook_model.php | 8 ++++++-- application/views/qso/index.php | 25 +++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/application/models/logbook_model.php b/application/models/logbook_model.php index da2c2bfe..bcf0b19a 100644 --- a/application/models/logbook_model.php +++ b/application/models/logbook_model.php @@ -13,10 +13,14 @@ class Logbook_model extends CI_Model { // Join date+time $datetime = date('Y-m-d') ." ". $this->input->post('start_time'); + if ($this->input->post('prop_mode') != null) { + $prop_mode = $this->input->post('prop_mode'); + } else { + $prop_mode = ""; + } + if($this->input->post('sat_name')) { $prop_mode = "SAT"; - } else { - $prop_mode = ""; } if($this->session->userdata('user_locator')){ diff --git a/application/views/qso/index.php b/application/views/qso/index.php index c3986c69..62bb7570 100644 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -147,6 +147,31 @@
+ + + +
Propagation Mode + +
IOTA e.g: EU-005