diff --git a/application/models/logbook_model.php b/application/models/logbook_model.php index 56959aa7..94340b54 100644 --- a/application/models/logbook_model.php +++ b/application/models/logbook_model.php @@ -50,10 +50,11 @@ class Logbook_model extends CI_Model { 'COL_QSL_SENT_VIA' => $this->input->post('qsl_sent_method'), 'COL_QSL_RCVD_VIA' => $this->input->post('qsl_recv_method'), 'COL_OPERATOR' => $this->session->userdata('user_callsign'), + 'COL_QTH' => $this->input->post('qth'), 'COL_PROP_MODE' => $prop_mode, 'COL_IOTA' => $this->input->post('iota_ref'), 'COL_MY_GRIDSQUARE' => $locator, - 'COL_DISTANCE' => 0 + 'COL_DISTANCE' => "0" ); $this->add_qso($data); @@ -88,6 +89,7 @@ class Logbook_model extends CI_Model { 'COL_QSL_SENT_VIA' => $this->input->post('qsl_sent_method'), 'COL_QSL_RCVD_VIA' => $this->input->post('qsl_recv_method'), 'COL_IOTA' => $this->input->post('iota_ref'), + 'COL_QTH' => $this->input->post('qth') ); $this->db->where('COL_PRIMARY_KEY', $this->input->post('id')); diff --git a/application/views/qso/edit.php b/application/views/qso/edit.php index 5e79a1de..609a1374 100644 --- a/application/views/qso/edit.php +++ b/application/views/qso/edit.php @@ -58,6 +58,12 @@ + + QTH + + + + Comment diff --git a/application/views/qso/index.php b/application/views/qso/index.php index 826d0cbd..eb344305 100644 --- a/application/views/qso/index.php +++ b/application/views/qso/index.php @@ -173,7 +173,7 @@ function settime () { - Comment: + QTH: Comment: diff --git a/css/global.css b/css/global.css index ac77bb2a..68b915e7 100644 --- a/css/global.css +++ b/css/global.css @@ -74,7 +74,8 @@ td.item { padding-bottom: 5px; } #country { border: none; } #locator_info { font-size: 13px; } #name { width: 145px; } -#comment { width: 89.5%; } +#comment { width: 63.8%; } +#qth { width: 20%; } .partial td, .logbook td, .users td { padding: 5px; } .log_title { background-image: url('../images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; } .auth_title { background-image: url('../images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }