Merge branch 'dev' into lba_dbtools_fixes

This commit is contained in:
Andreas Kristiansen
2025-12-27 16:48:48 +01:00
committed by GitHub
12 changed files with 94 additions and 91 deletions

View File

@@ -72,7 +72,7 @@ class Map extends CI_Controller {
$station_id = ($station_id === 'all') ? null : $station_id;
try {
$qsos = $this->Map_model->get_qsos_by_country($country, $station_id, $limit);
$qsos = $this->Map_model->get_qsos_by_country($country, $station_id);
if (empty($qsos)) {
while (ob_get_level()) ob_end_clean();

View File

@@ -27,10 +27,10 @@ msgid ""
msgstr ""
"Report-Msgid-Bugs-To: translations@wavelog.org\n"
"POT-Creation-Date: 2025-12-26 19:47+0000\n"
"PO-Revision-Date: 2025-12-26 16:35+0000\n"
"Last-Translator: Fabian Franz BSc <franz.fabian.94@gmail.com>\n"
"Language-Team: German <https://translate.wavelog.org/projects/wavelog/main-"
"translation/de/>\n"
"PO-Revision-Date: 2025-12-27 14:44+0000\n"
"Last-Translator: Jörg Dorgeist <wavelog@dj7nt.de>\n"
"Language-Team: German <https://translate.wavelog.org/projects/wavelog/"
"main-translation/de/>\n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1106,7 +1106,7 @@ msgstr "Download des eQSL Bildes fehlgeschlagen"
#: application/controllers/Eqsl.php:419
msgid "Failed to load cached eQSL image"
msgstr ""
msgstr "Fehler beim Laden der eQSL-Karte"
#: application/controllers/Eqsl.php:540
msgid "eQSL Tools"

View File

@@ -11,10 +11,10 @@ msgid ""
msgstr ""
"Report-Msgid-Bugs-To: translations@wavelog.org\n"
"POT-Creation-Date: 2025-12-26 19:47+0000\n"
"PO-Revision-Date: 2025-12-26 16:35+0000\n"
"PO-Revision-Date: 2025-12-27 14:44+0000\n"
"Last-Translator: Alexander <alexander@pa8s.nl>\n"
"Language-Team: Dutch <https://translate.wavelog.org/projects/wavelog/main-"
"translation/nl/>\n"
"Language-Team: Dutch <https://translate.wavelog.org/projects/wavelog/"
"main-translation/nl/>\n"
"Language: nl_NL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1090,7 +1090,7 @@ msgstr "Kon niet eQSL-afbeelding downloaden"
#: application/controllers/Eqsl.php:419
msgid "Failed to load cached eQSL image"
msgstr ""
msgstr "Kan de gecachte eQSL-afbeelding niet laden"
#: application/controllers/Eqsl.php:540
msgid "eQSL Tools"

View File

@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Report-Msgid-Bugs-To: translations@wavelog.org\n"
"POT-Creation-Date: 2025-12-26 19:47+0000\n"
"PO-Revision-Date: 2025-12-26 16:35+0000\n"
"PO-Revision-Date: 2025-12-26 19:47+0000\n"
"Last-Translator: \"Jorgen Dahl, NU1T\" <sm6srw@arrl.net>\n"
"Language-Team: Swedish <https://translate.wavelog.org/projects/wavelog/main-"
"translation/sv/>\n"
@@ -1086,7 +1086,7 @@ msgstr "Det gick inte att ladda ner eQSL-bild"
#: application/controllers/Eqsl.php:419
msgid "Failed to load cached eQSL image"
msgstr ""
msgstr "Det gick inte att ladda cachad eQSL-bild"
#: application/controllers/Eqsl.php:540
msgid "eQSL Tools"

View File

@@ -13,10 +13,10 @@ msgid ""
msgstr ""
"Report-Msgid-Bugs-To: translations@wavelog.org\n"
"POT-Creation-Date: 2025-12-26 19:47+0000\n"
"PO-Revision-Date: 2025-12-08 16:35+0000\n"
"PO-Revision-Date: 2025-12-27 14:44+0000\n"
"Last-Translator: \"Erkin Mercan (TA4AQG-SP9AQG)\" <ekomeko066@gmail.com>\n"
"Language-Team: Turkish <https://translate.wavelog.org/projects/wavelog/main-"
"translation/tr/>\n"
"Language-Team: Turkish <https://translate.wavelog.org/projects/wavelog/"
"main-translation/tr/>\n"
"Language: tr_TR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -684,7 +684,7 @@ msgstr " ve grup "
#: application/controllers/Calltester.php:33
msgid "Call Tester"
msgstr ""
msgstr "Çağrı Testi"
#: application/controllers/Club.php:23
msgid "Club Officer"
@@ -1069,27 +1069,27 @@ msgstr "Belirtilen eQSL QTH Takma Adı bulunamadı: %s"
#: application/controllers/Eqsl.php:312
msgid "QSO not found or not accessible"
msgstr ""
msgstr "QSO bulunamadı veya erişilemez"
#: application/controllers/Eqsl.php:330
msgid "User not found"
msgstr ""
msgstr "Kullanıcı bulunamadı"
#: application/controllers/Eqsl.php:339
msgid "eQSL password not configured for this user"
msgstr ""
msgstr "Bu kullanıcı için eQSL şifresi yapılandırılmamış"
#: application/controllers/Eqsl.php:357
msgid "Failed to fetch eQSL image data"
msgstr ""
msgstr "eQSL resim verisi alınamadı"
#: application/controllers/Eqsl.php:376
msgid "eQSL image not available"
msgstr ""
msgstr "eQSL resmi mevcut değil"
#: application/controllers/Eqsl.php:395
msgid "Failed to download eQSL image"
msgstr ""
msgstr "eQSL resmi indirilemedi"
#: application/controllers/Eqsl.php:419
msgid "Failed to load cached eQSL image"
@@ -1995,7 +1995,7 @@ msgstr "LoTW .TQ8 Gönderilmedi"
#: application/controllers/Map.php:46
msgid "QSO Map"
msgstr ""
msgstr "QSO Haritası"
#: application/controllers/Mode.php:25 application/controllers/Usermode.php:23
#: application/views/interface_assets/header.php:328
@@ -6706,15 +6706,15 @@ msgstr "kategori ödülü!"
#: application/views/awards/pl_polska/index.php:342
msgid "Award Category:"
msgstr ""
msgstr "Ödül Kategorisi:"
#: application/views/awards/pl_polska/index.php:344
msgid "Mode Categories"
msgstr ""
msgstr "Mod Kategorileri"
#: application/views/awards/pl_polska/index.php:350
msgid "Band Categories"
msgstr ""
msgstr "Bant Kategorileri"
#: application/views/awards/pl_polska/index.php:372
#: application/views/logbookadvanced/dbtoolsdialog.php:47
@@ -6724,7 +6724,7 @@ msgstr ""
#: application/views/awards/pl_polska/index.php:372
msgid "Logbook Advanced"
msgstr ""
msgstr "Gelişmiş Logbook"
#: application/views/awards/pl_polska/index.php:372
msgid ""
@@ -6734,11 +6734,11 @@ msgstr ""
#: application/views/awards/pl_polska/index.php:372
msgid "Tip:"
msgstr ""
msgstr "İpucu:"
#: application/views/awards/pl_polska/index.php:372
msgid "Use"
msgstr ""
msgstr "Kullan"
#: application/views/awards/pl_polska/index.php:372
msgid "to auto-populate states from Maidenhead locators."
@@ -7223,7 +7223,7 @@ msgstr "İmleci eyaletin üstüne getirin"
#: application/views/awards/was/index.php:5
#: application/views/awards/was/index.php:166
msgid "inc."
msgstr ""
msgstr "dahil"
#: application/views/awards/was/index.php:25
msgid "WAS Award"
@@ -7461,7 +7461,7 @@ msgstr ""
#: application/views/bandmap/list.php:34
msgid "Band Lock"
msgstr ""
msgstr "Bant Kilidi"
#: application/views/bandmap/list.php:35
msgid "Band lock enabled - band filter will track radio band"
@@ -7506,11 +7506,11 @@ msgstr "Favori bantlarınız ve modlarınız uygulandı"
#: application/views/bandmap/list.php:47 application/views/bandmap/list.php:314
#: application/views/bandmap/list.php:479
msgid "My Submodes"
msgstr ""
msgstr "Alt modlarım"
#: application/views/bandmap/list.php:48
msgid "Submode filter enabled"
msgstr ""
msgstr "Submode filtresi etkinleştirildi"
#: application/views/bandmap/list.php:49
msgid "Submode filter disabled - showing all"
@@ -7518,7 +7518,7 @@ msgstr ""
#: application/views/bandmap/list.php:50
msgid "Required submodes"
msgstr ""
msgstr "Gerekli alt modlar"
#: application/views/bandmap/list.php:51
msgid "Configure in User Settings - Modes"
@@ -7553,7 +7553,7 @@ msgstr "Telefon (ssb,lsb,usb..) modu filtresini aç/kapat"
#: application/views/bandmap/list.php:60 application/views/bandmap/list.php:421
msgid "Favorites"
msgstr ""
msgstr "Favoriler"
#: application/views/bandmap/list.php:61 application/views/bandmap/list.php:424
msgid "Save Current Filters..."
@@ -7565,7 +7565,7 @@ msgstr ""
#: application/views/bandmap/list.php:63
msgid "Filter preset saved"
msgstr ""
msgstr "Filtre ayarı kaydedildi"
#: application/views/bandmap/list.php:64
msgid "Filter preset loaded"
@@ -7573,15 +7573,15 @@ msgstr ""
#: application/views/bandmap/list.php:65
msgid "Filter preset deleted"
msgstr ""
msgstr "Filtre ön ayarı silindi"
#: application/views/bandmap/list.php:66
msgid "Are you sure to delete this filter preset?"
msgstr ""
msgstr "Bu filtre ön ayarını silmek istediğinizden emin misiniz?"
#: application/views/bandmap/list.php:67
msgid "No saved filter presets"
msgstr ""
msgstr "Kayıtlı filtre ön ayarı yok"
#: application/views/bandmap/list.php:68
msgid ""
@@ -8100,7 +8100,7 @@ msgstr "SHF bantları filtresini aç/kapat"
#: application/views/bandmap/list.php:478
msgid "Loading submodes..."
msgstr ""
msgstr "Alt modlar yükleniyor..."
#: application/views/bandmap/list.php:483
msgid "Toggle LoTW User filter"
@@ -8800,12 +8800,12 @@ msgstr ""
#: application/views/calltester/comparison_result.php:22
#: application/views/calltester/comparison_result.php:34
msgid "Execution time:"
msgstr ""
msgstr "Çalışma süresi:"
#: application/views/calltester/comparison_result.php:23
#: application/views/calltester/comparison_result.php:35
msgid "Issues found:"
msgstr ""
msgstr "Karşılaşılan sorunlar:"
#: application/views/calltester/comparison_result.php:30
msgid "Logbook Model Results"
@@ -8837,7 +8837,7 @@ msgstr ""
#: application/views/calltester/result.php:24
#: application/views/logbookadvanced/checkresult.php:135
msgid "Station Profile"
msgstr ""
msgstr "İstasyon Profili"
#: application/views/calltester/comparison_result.php:63
#: application/views/calltester/comparison_result.php:99
@@ -8845,14 +8845,14 @@ msgstr ""
#: application/views/calltester/result.php:25
#: application/views/logbookadvanced/checkresult.php:136
msgid "Existing DXCC"
msgstr ""
msgstr "Mevcut DXCC"
#: application/views/calltester/comparison_result.php:64
#: application/views/calltester/comparison_result.php:100
#: application/views/calltester/comparison_result.php:136
#: application/views/calltester/result.php:26
msgid "Existing ADIF"
msgstr ""
msgstr "Mevcut ADIF"
#: application/views/calltester/comparison_result.php:65
#: application/views/calltester/comparison_result.php:101
@@ -8860,14 +8860,14 @@ msgstr ""
#: application/views/calltester/result.php:27
#: application/views/logbookadvanced/checkresult.php:137
msgid "Result DXCC"
msgstr ""
msgstr "Sonuç DXCC"
#: application/views/calltester/comparison_result.php:66
#: application/views/calltester/comparison_result.php:102
#: application/views/calltester/comparison_result.php:138
#: application/views/calltester/result.php:28
msgid "Result ADIF"
msgstr ""
msgstr "Sonuç ADIF"
#: application/views/calltester/comparison_result.php:90
msgid "Issues found only in Logbook Model (not in DXCC Class):"
@@ -8875,7 +8875,7 @@ msgstr ""
#: application/views/calltester/comparison_result.php:126
msgid "Issues found in both methods:"
msgstr ""
msgstr "Her iki yöntemde de bulunan sorunlar:"
#: application/views/calltester/comparison_result.php:162
msgid ""
@@ -8904,12 +8904,12 @@ msgstr ""
#: application/views/calltester/result.php:4
#: application/views/logbookadvanced/checkresult.php:117
msgid "Callsigns tested: "
msgstr ""
msgstr "Çağrı işaretleri test edildi: "
#: application/views/calltester/result.php:5
#: application/views/logbookadvanced/checkresult.php:118
msgid "Execution time: "
msgstr ""
msgstr "Çalışma süresi: "
#: application/views/calltester/result.php:6
#: application/views/logbookadvanced/checkresult.php:119
@@ -9019,7 +9019,7 @@ msgstr "QSO'yu ADIF olarak dışa aktar"
#: application/views/club/permissions.php:128
msgid "Export own QSO per ADIF"
msgstr ""
msgstr "Kendi QSO'larını ADIF olarak dışa aktar"
#: application/views/club/permissions.php:137
msgid "User Management"
@@ -12113,7 +12113,7 @@ msgstr "LX Gridmaster"
#: application/views/interface_assets/header.php:268
msgid "Poland"
msgstr ""
msgstr "Polonya"
#: application/views/interface_assets/header.php:274
msgid "Switzerland"
@@ -12571,6 +12571,8 @@ msgid ""
"If a QSO has a 4char locator (e.g., JO90), try to refine it using callbook "
"data."
msgstr ""
"Eğer bir QSO 4 karakterli bir lokator içeriyorsa (örneğin, JO90), bunu "
"callbook verilerini kullanarak detaylandırmaya çalış."
#: application/views/logbookadvanced/callbookdialog.php:6
msgid ""
@@ -12589,7 +12591,7 @@ msgstr ""
#: application/views/logbookadvanced/checkresult.php:96
#: application/views/logbookadvanced/checkresult.php:107
msgid "QSOs to update found:"
msgstr ""
msgstr "Güncellenmesi gereken QSO/QSO'lar bulundu:"
#: application/views/logbookadvanced/checkresult.php:44
#: application/views/logbookadvanced/distancedialog.php:2
@@ -12644,7 +12646,7 @@ msgstr ""
#: application/views/logbookadvanced/checkresult.php:77
#: application/views/logbookadvanced/statecheckresult.php:30
msgid "Run fix"
msgstr ""
msgstr "Düzeltmeyi çalıştır"
#: application/views/logbookadvanced/checkresult.php:84
msgid "CQ Zone Check Results"
@@ -12652,7 +12654,7 @@ msgstr ""
#: application/views/logbookadvanced/checkresult.php:95
msgid "ITU Zone Check Results"
msgstr ""
msgstr "ITU Bölge Kontrol Sonuçları"
#: application/views/logbookadvanced/checkresult.php:106
msgid "Gridsquare Check Results"
@@ -12660,15 +12662,15 @@ msgstr ""
#: application/views/logbookadvanced/checkresult.php:124
msgid "Update selected"
msgstr ""
msgstr "Seçilenleri güncelle"
#: application/views/logbookadvanced/dbtoolsdialog.php:4
msgid "Data Repair Tools"
msgstr ""
msgstr "Veri Onarım Araçları"
#: application/views/logbookadvanced/dbtoolsdialog.php:6
msgid "Wiki Help"
msgstr ""
msgstr "Wiki Yardım"
#: application/views/logbookadvanced/dbtoolsdialog.php:11
#: application/views/logbookadvanced/index.php:792
@@ -12677,7 +12679,7 @@ msgstr "CQ Bölgelerini Düzelt"
#: application/views/logbookadvanced/dbtoolsdialog.php:12
msgid "Update missing CQ zone information"
msgstr ""
msgstr "Eksik CQ bölgesi bilgisini güncelle"
#: application/views/logbookadvanced/dbtoolsdialog.php:16
#: application/views/logbookadvanced/dbtoolsdialog.php:28
@@ -12688,7 +12690,7 @@ msgstr ""
#: application/views/logbookadvanced/dbtoolsdialog.php:88
#: application/views/logbookadvanced/dbtoolsdialog.php:101
msgid "Check"
msgstr ""
msgstr "Kontrol Et"
#: application/views/logbookadvanced/dbtoolsdialog.php:23
#: application/views/logbookadvanced/index.php:793
@@ -12726,7 +12728,7 @@ msgstr "DXCC verisi eksik QSOlari kontrol et"
#: application/views/logbookadvanced/dbtoolsdialog.php:72
msgid "Identify QSOs that are missing DXCC information"
msgstr ""
msgstr "DXCC bilgisi eksik olan QSO'ları belirle"
#: application/views/logbookadvanced/dbtoolsdialog.php:83
msgid "Check all QSOs in the logbook for incorrect DXCC"
@@ -12734,7 +12736,7 @@ msgstr ""
#: application/views/logbookadvanced/dbtoolsdialog.php:84
msgid "Use Wavelog to determine DXCC for all QSOs."
msgstr ""
msgstr "Wavelog'u kullanarak tüm QSQ'ların DXCC'sini belirle."
#: application/views/logbookadvanced/dbtoolsdialog.php:95
msgid "Lookup QSOs with missing grid in callbook"
@@ -12746,7 +12748,7 @@ msgstr ""
#: application/views/logbookadvanced/dbtoolsdialog.php:97
msgid "This is limited to 150 callsigns for each run!"
msgstr ""
msgstr "Bu, her çalıştırma için 150 çağrı işaretleri ile sınırlıdır!"
#: application/views/logbookadvanced/dupesearchdialog.php:4
msgid "Search for duplicates using:"
@@ -13178,7 +13180,7 @@ msgstr ""
#: application/views/logbookadvanced/index.php:37
msgid "Fixed"
msgstr ""
msgstr "Düzeltildi"
#: application/views/logbookadvanced/index.php:38
#, php-format
@@ -13187,7 +13189,7 @@ msgstr ""
#: application/views/logbookadvanced/index.php:39
msgid "Skipped"
msgstr ""
msgstr "Atlandı"
#: application/views/logbookadvanced/index.php:40
#, php-format
@@ -13296,10 +13298,12 @@ msgid ""
"Are you sure you want to fix all QSOs with missing DXCC information? This "
"action cannot be undone."
msgstr ""
"Eksik DXCC bilgisine sahip tüm QSO'ları düzeltmek istediğinizden emin "
"misiniz? Bu işlem geri alınamaz."
#: application/views/logbookadvanced/index.php:74
msgid "Duplicate Search"
msgstr ""
msgstr "Yinelenen Arama"
#: application/views/logbookadvanced/index.php:301
msgid "From"
@@ -13349,7 +13353,7 @@ msgstr ""
#: application/views/logbookadvanced/index.php:506
#: application/views/logbookadvanced/index.php:688
msgid "Apply filters"
msgstr ""
msgstr "Filtreleri Uygula"
#: application/views/logbookadvanced/index.php:516
msgid "QSL Filters"
@@ -13653,7 +13657,7 @@ msgstr "3D Harita"
#: application/views/logbookadvanced/index.php:845
msgid "Database Tools"
msgstr ""
msgstr "Veritabanı Araçları"
#: application/views/logbookadvanced/index.php:872
#: application/views/logbookadvanced/useroptions.php:26
@@ -13725,12 +13729,12 @@ msgstr "Sonraki"
#: application/views/logbookadvanced/showMissingDxccQsos.php:14
#, php-format
msgid "Found %s QSO(s) missing DXCC information."
msgstr ""
msgstr "%s QSO'nun DXCC bilgisi eksik."
#: application/views/logbookadvanced/showMissingDxccQsos.php:47
#: application/views/logbookadvanced/showStateQsos.php:49
msgid "No Issues Found"
msgstr ""
msgstr "Sorun Bulunamadı"
#: application/views/logbookadvanced/showStateQsos.php:16
#, php-format
@@ -13769,7 +13773,7 @@ msgstr "İstasyon"
#: application/views/logbookadvanced/showUpdateResult.php:31
msgid "Results for DXCC update:"
msgstr ""
msgstr "DXCC güncellemesi sonuçları:"
#: application/views/logbookadvanced/showUpdateResult.php:34
#: application/views/logbookadvanced/showUpdateResult.php:40
@@ -13824,7 +13828,7 @@ msgstr ""
#: application/views/logbookadvanced/showUpdateResult.php:140
msgid "Results for CQ zone update:"
msgstr ""
msgstr "CQ bölge güncellemesi sonuçları:"
#: application/views/logbookadvanced/showUpdateResult.php:141
msgid "The number of QSOs updated for CQ zone is"
@@ -13903,7 +13907,7 @@ msgstr ""
#: application/views/logbookadvanced/statedialog.php:10
msgid "Currently supported countries"
msgstr ""
msgstr "Şu anda desteklenen ülkeler"
#: application/views/logbookadvanced/useroptions.php:16
msgid "Column"
@@ -14044,15 +14048,15 @@ msgstr "Son yükleme"
#: application/views/lotw_views/index.php:95
msgid "Last change:"
msgstr ""
msgstr "Son değişiklik:"
#: application/views/lotw_views/index.php:95
msgid "Serial number:"
msgstr ""
msgstr "Seri numarası:"
#: application/views/lotw_views/index.php:97
msgid "Certificate superseded"
msgstr ""
msgstr "Sertifika geçersiz kılındı"
#: application/views/lotw_views/index.php:100
msgid "Certificate expired"
@@ -14096,11 +14100,11 @@ msgstr ""
#: application/views/map/qso_map.php:6
msgid "Select Country:"
msgstr ""
msgstr "Ülke Seç:"
#: application/views/map/qso_map.php:8
msgid "Choose a country..."
msgstr ""
msgstr "Bir ülke seç..."
#: application/views/mode/create.php:24 application/views/mode/edit.php:33
msgctxt "Name of mode in ADIF-specification"
@@ -17871,7 +17875,7 @@ msgstr "Bu ayar, güneş ve yayılım verilerinin görüntülenmesini değiştir
#: application/views/user/edit.php:688
msgid "Show Fields on QSO Tab"
msgstr ""
msgstr "QSO sekmesinde alanları göster"
#: application/views/user/edit.php:692
msgid ""
@@ -18714,7 +18718,7 @@ msgstr "eQSL Kartı (eQSL.cc)"
#: application/views/view_log/qso.php:923
msgid "QSO not found"
msgstr ""
msgstr "QSO bulunamadı"
#: application/views/visitor/layout/footer.php:239
msgid "Filter Results"

View File

@@ -6,13 +6,12 @@ class Map_model extends CI_Model {
* Get available countries from the logbook with QSOs
*/
public function get_available_countries() {
$this->db->select('DISTINCT COL_COUNTRY, COL_DXCC, COUNT(*) as qso_count', FALSE);
$this->db->select('DISTINCT dxcc_entities.name AS COL_COUNTRY, COL_DXCC, COUNT(*) as qso_count', FALSE);
$this->db->from($this->config->item('table_name'));
$this->db->join('station_profile', 'station_profile.station_id = ' . $this->config->item('table_name') . '.station_id');
$this->db->where('station_profile.user_id', $this->session->userdata('user_id'));
$this->db->where('COL_COUNTRY IS NOT NULL');
$this->db->where('COL_COUNTRY !=', '');
$this->db->where("LENGTH(COL_GRIDSQUARE) >=", 6); // At least 6 chars
$this->db->join('station_profile', 'station_profile.station_id = ' . $this->config->item('table_name') . '.station_id');
$this->db->join('dxcc_entities', 'dxcc_entities.adif = ' . $this->config->item('table_name') . '.COL_DXCC');
$this->db->where('station_profile.user_id', $this->session->userdata('user_id'));
$this->db->where("LENGTH(COL_GRIDSQUARE) >=", 6); // At least 6 chars
$this->db->group_by('COL_COUNTRY, COL_DXCC');
$this->db->order_by('COL_COUNTRY');

View File

@@ -7,9 +7,9 @@
<select class="form-select" id="countrySelect" style="min-width: 200px;">
<option value=""><?= __("Choose a country...") ?></option>
<?php foreach ($countries as $country): ?>
<option value="<?php echo htmlspecialchars($country['COL_COUNTRY']); ?>"
<option value="<?php echo htmlspecialchars(ucwords(strtolower(($country['COL_COUNTRY'])), "- (/")); ?>"
data-dxcc="<?php echo htmlspecialchars($country['COL_DXCC']); ?>">
<?php echo htmlspecialchars($country['COL_COUNTRY'] . ' (' . $country['qso_count'] . ' ' . __("QSOs") . ')'); ?>
<?php echo htmlspecialchars(ucwords(strtolower(($country['COL_COUNTRY'])), "- (/") . ' (' . $country['qso_count'] . ' ' . __("QSOs") . ')'); ?>
</option>
<?php endforeach; ?>
</select>
@@ -284,9 +284,9 @@ function initMap() {
if (dxcc && supportedDxccs.includes(parseInt(dxcc))) {
// Single country GeoJSON
$.ajax({
url: base_url + "map/get_country_geojson/",
url: base_url + "index.php/map/get_country_geojson/",
type: 'post',
data: { dxcc: dxcc },
data: { dxcc: dxcc },
success: function(geojson) {
if (geojson && !geojson.error) {
const layer = L.geoJSON(geojson, {

File diff suppressed because one or more lines are too long