1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2026-06-06 23:54:37 -04:00

Add country name as tooltip

This commit is contained in:
phl0
2017-06-12 14:12:15 +02:00
parent 4f5e24b157
commit 41d2ae6ef4
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -267,6 +267,7 @@ class xReflector {
while (($z < count($this->Flagarray[$j]['DXCC'])) && (!$FoundFlag)) {
if (trim($Prefix) == trim($this->Flagarray[$j]['DXCC'][$z])) {
$Image = $this->Flagarray[$j]['ISO'];
$Name = $this->Flagarray[$j]['Country'];
$FoundFlag = true;
}
$z++;
@@ -275,7 +276,7 @@ class xReflector {
}
$Letters--;
}
return strtolower($Image);
return array(strtolower($Image), $Name);
}
public function GetModules() {