Added cabrillo value "location"

This commit is contained in:
HB9HIL
2024-10-04 20:47:36 +00:00
parent 3191759bae
commit 8489351622
4 changed files with 11 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
class Cabrilloformat {
public function header($contest_id, $callsign, $claimed_score,
$operators, $club, $name, $address, $addresscity, $addressstateprovince, $addresspostalcode, $addresscountry, $soapbox, $gridlocator,
$operators, $club, $location, $name, $address, $addresscity, $addressstateprovince, $addresspostalcode, $addresscountry, $soapbox, $gridlocator,
$categoryoverlay, $categorytransmitter, $categorystation, $categorypower, $categorymode, $categoryband, $categoryassisted, $categoryoperator, $email) {
$cab_header = "";
$cab_header .= "START-OF-LOG: 3.0"."\r\n";
@@ -21,6 +21,10 @@ class Cabrilloformat {
$cab_header .= "CLUB: ".$club."\r\n";
}
if($location != null) {
$cab_header .= "LOCATION: ".$location."\r\n";
}
$cab_header .= "CATEGORY-OPERATOR: ".$categoryoperator."\r\n";
$cab_header .= "CATEGORY-BAND: ".$categoryband."\r\n";
$cab_header .= "CATEGORY-ASSISTED: ".$categoryassisted."\r\n";