1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-09-27 15:26:34 -04:00

sort modules right side of last heard

This commit is contained in:
LX1IQ 2017-01-26 07:56:09 +01:00 committed by GitHub
parent aaa4fa17c3
commit 1fa773680b

View File

@ -22,9 +22,9 @@ for ($i=0;$i<$Reflector->StationCount();$i++) {
if ($odd == "#FFFFFF") { $odd = "#F1FAFA"; } else { $odd = "#FFFFFF"; }
echo '
<tr height="30" bgcolor="'.$odd.'" onMouseOver="this.bgColor=\'#FFFFCA\';" onMouseOut="this.bgColor=\''.$odd.'\';">
<td align="center" width="35">';
<td align="center" valign="middle" width="35">';
if ($i==0 && $Reflector->Stations[$i]->GetLastHeardTime() > (time() - 60)) {
echo '<img src="./img/radio-waves-hi.png" />';
echo '<img src="./img/tx.gif" style="margin-top:3px;" height="20"/>';
}
else {
echo ($i+1);
@ -67,6 +67,7 @@ for ($i=0;$i<$Reflector->StationCount();$i++) {
<?php
$Modules = $Reflector->GetModules();
sort($Modules, SORT_STRING);
echo '
<tr>';
for ($i=0;$i<count($Modules);$i++) {