1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2026-06-16 20:38:33 -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
+3 -2
View File
@@ -29,8 +29,9 @@ for ($i=0;$i<$Reflector->NodeCount();$i++) {
<tr height="30" bgcolor="'.$odd.'" onMouseOver="this.bgColor=\'#FFFFCA\';" onMouseOut="this.bgColor=\''.$odd.'\';">
<td align="center">'.($i+1).'</td>
<td align="center">';
if (file_exists("./img/flags/".$Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign()).".png")) {
echo '<img src="./img/flags/'.$Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign()).'.png" height="15" />';
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Nodes[$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><a href="http://www.aprs.fi/'.$Reflector->Nodes[$i]->GetCallSign();