Change dashboard2 accordingly

This commit is contained in:
phl0 2017-06-12 14:34:37 +02:00
parent 41d2ae6ef4
commit 52e4e6bf3e
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
3 changed files with 9 additions and 6 deletions

View file

@ -25,8 +25,9 @@ for ($i=0;$i<$Reflector->NodeCount();$i++) {
<tr class="table-center">
<td>'.($i+1).'</td>
<td>';
if (file_exists("./img/flags/".$Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign()).".png")) {
echo '<img src="./img/flags/'.$Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign()).'.png" class="table-flag" alt="">';
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Nodes[$i]->GetCallSign());
if (file_exists("./img/flags/".$Flag.".png")) {
echo '<img src="./img/flags/'.$Flag.'.png" class="table-flag" alt="'.$Name.'" title="'.$Name.'">';
}
echo '</td>
<td><a href="http://www.aprs.fi/'.$Reflector->Nodes[$i]->GetCallSign();
@ -77,4 +78,4 @@ for ($i=0;$i<$Reflector->NodeCount();$i++) {
?>
</table>
</table>