fix flags

pull/2/head
kc1awv 2020-10-20 17:28:24 -04:00
parent 1fc4f61acd
commit f911a34cb3
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ for ($i=0;$i<$Reflector->StationCount();$i++) {
<td>'; <td>';
list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign()); list ($Flag, $Name) = $Reflector->GetFlag($Reflector->Stations[$i]->GetCallSign());
if (file_exists("./images/flags/" . $Flag . ".png")) { if (file_exists("./images/flags/" . $Flag . ".svg")) {
echo '<a href="#" class="tip"><img src="./images/flags/' . $Flag . '.svg" class="table-flag" alt="' . $Name . '" width="32"><span>' . $Name . '</span></a>'; echo '<a href="#" class="tip"><img src="./images/flags/' . $Flag . '.svg" class="table-flag" alt="' . $Name . '" width="32"><span>' . $Name . '</span></a>';
} }
echo '</td> echo '</td>