diff --git a/application/controllers/Cabrillo.php b/application/controllers/Cabrillo.php index 734a74c2b..73264612b 100644 --- a/application/controllers/Cabrillo.php +++ b/application/controllers/Cabrillo.php @@ -117,6 +117,7 @@ class Cabrillo extends CI_Controller { $data['categorypower'] = $this->security->xss_clean($this->input->post('categorypower')); $data['categorystation'] = $this->security->xss_clean($this->input->post('categorystation')); $data['categorytransmitter'] = $this->security->xss_clean($this->input->post('categorytransmitter')); + $data['categorytime'] = $this->security->xss_clean($this->input->post('categorytime')); $data['categoryoverlay'] = $this->security->xss_clean($this->input->post('categoryoverlay')); $data['operators'] = $this->security->xss_clean($this->input->post('operators')); $data['club'] = $this->security->xss_clean($this->input->post('club')); diff --git a/application/libraries/Cabrilloformat.php b/application/libraries/Cabrilloformat.php index 2336b5926..cf1e01d9f 100644 --- a/application/libraries/Cabrilloformat.php +++ b/application/libraries/Cabrilloformat.php @@ -5,7 +5,7 @@ class Cabrilloformat { public function header($contest_id, $callsign, $claimed_score, $operators, $club, $location, $name, $address, $addresscity, $addressstateprovince, $addresspostalcode, $addresscountry, $soapbox, $gridlocator, - $categoryoverlay, $categorytransmitter, $categorystation, $categorypower, $categorymode, $categoryband, $categoryassisted, $categoryoperator, $email) { + $categoryoverlay, $categorytransmitter, $categorytime, $categorystation, $categorypower, $categorymode, $categoryband, $categoryassisted, $categoryoperator, $email) { $cab_header = ""; $cab_header .= "START-OF-LOG: 3.0"."\r\n"; $cab_header .= "CONTEST: ".$contest_id."\r\n"; @@ -32,6 +32,7 @@ class Cabrilloformat { $cab_header .= "CATEGORY-POWER: ".$categorypower."\r\n"; $cab_header .= "CATEGORY-STATION: ".$categorystation."\r\n"; $cab_header .= "CATEGORY-TRANSMITTER: ".$categorytransmitter."\r\n"; + $cab_header .= "CATEGORY-TIME: ".$categorytime."\r\n"; $cab_header .= "CATEGORY-OVERLAY: ".$categoryoverlay."\r\n"; $cab_header .= "NAME: ".$name."\r\n"; diff --git a/application/views/cabrillo/export.php b/application/views/cabrillo/export.php index b36c5ffce..5e8d6af92 100644 --- a/application/views/cabrillo/export.php +++ b/application/views/cabrillo/export.php @@ -7,7 +7,7 @@ $CI->load->library('Cabrilloformat'); echo $CI->cabrilloformat->header($contest_id, $callsign, $claimed_score, $operators, $club, $location, $name, $address, $addresscity, $addressstateprovince, $addresspostalcode, $addresscountry, $soapbox, $gridlocator, - $categoryoverlay, $categorytransmitter, $categorystation, $categorypower, $categorymode, $categoryband, $categoryassisted, $categoryoperator, $email); + $categoryoverlay, $categorytransmitter, $categorytime, $categorystation, $categorypower, $categorymode, $categoryband, $categoryassisted, $categoryoperator, $email); foreach ($qsos->result() as $row) { echo $CI->cabrilloformat->qso($row); } diff --git a/application/views/cabrillo/index.php b/application/views/cabrillo/index.php index 04d0bef85..0ea33531e 100644 --- a/application/views/cabrillo/index.php +++ b/application/views/cabrillo/index.php @@ -139,6 +139,15 @@ +