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

@ -135,8 +135,9 @@ for ($i=0;$i<$Reflector->StationCount();$i++) {
echo '</td>
<td align="center" width="60">';
if (file_exists("./img/flags/".$Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()).".png")) {
echo '<img src="./img/flags/'.$Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()).'.png" height="15" />';
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign());
if (file_exists("./img/flags/".$Flag.".png")) {
echo '<img src="./img/flags/'.$Flag.'.png" height="15" alt="'.$Name.'" title="'.$Name.'" />';
}
echo '</td>
<td width="75"><a href="https://www.qrz.com/db/'.$Reflector->Stations[$i]->GetCallsignOnly().'" class="pl" target="_blank">'.$Reflector->Stations[$i]->GetCallsignOnly().'</a></td>