Merge pull request #2088 from phl0/moreTwitterTags

Add some xOTA hastags for tweets
pull/2095/head
Andreas Kristiansen 2023-04-27 17:55:23 +02:00 zatwierdzone przez GitHub
commit 030fb284fd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -371,6 +371,18 @@
$twitter_band_sat = $row->COL_BAND; $twitter_band_sat = $row->COL_BAND;
$hashtags = "#hamr #cloudlog"; $hashtags = "#hamr #cloudlog";
} }
if($row->COL_IOTA != null) {
$hashtags .= " #iota";
}
if($row->COL_SOTA_REF != null) {
$hashtags .= " #sota";
}
if($row->COL_POTA_REF != null) {
$hashtags .= " #pota";
}
if($row->COL_WWFF_REF != null) {
$hashtags .= " #wwff";
}
if (!isset($distance)) { if (!isset($distance)) {
$twitter_string = urlencode("Just worked ".$row->COL_CALL." in ".ucwords(strtolower(($row->COL_COUNTRY)))." on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags); $twitter_string = urlencode("Just worked ".$row->COL_CALL." in ".ucwords(strtolower(($row->COL_COUNTRY)))." on ".$twitter_band_sat." using ".($row->COL_SUBMODE==null?$row->COL_MODE:$row->COL_SUBMODE)." ".$hashtags);
} else { } else {