Add country name as tooltip

This commit is contained in:
phl0 2017-06-12 14:12:15 +02:00
parent 4f5e24b157
commit 41d2ae6ef4
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
3 changed files with 8 additions and 5 deletions

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() {