deprecate minSequence and maxSequence use

This commit is contained in:
Isaac Connor 2016-05-06 11:04:35 -04:00
parent b0a057724a
commit 55567b66e9
1 changed files with 4 additions and 2 deletions

View File

@ -136,8 +136,10 @@ for ( $i = 0; $i < count($eventCounts); $i++ )
</tfoot> </tfoot>
<tbody> <tbody>
<?php <?php
foreach( $displayMonitors as $monitor ) #foreach( $displayMonitors as $monitor )
for( $i = 0; $i < count($displayMonitors); $i += 1 ) {
{ {
$monitor = $displayMonitors[$i];
?> ?>
<tr> <tr>
<?php <?php
@ -201,7 +203,7 @@ echo $Server->Name();
if ( canEdit('Monitors') ) if ( canEdit('Monitors') )
{ {
?> ?>
<td class="colOrder"><?php echo makeLink( '?view='.$view.'&amp;action=sequence&amp;mid='.$monitor['Id'].'&amp;smid='.$seqIdUpList[$monitor['Id']], '<img src="'.$seqUpFile.'" alt="Up"/>', $monitor['Sequence']>$minSequence ) ?><?php echo makeLink( '?view='.$view.'&amp;action=sequence&amp;mid='.$monitor['Id'].'&amp;smid='.$seqIdDownList[$monitor['Id']], '<img src="'.$seqDownFile.'" alt="Down"/>', $monitor['Sequence']<$maxSequence ) ?></td> <td class="colOrder"><?php echo makeLink( '?view='.$view.'&amp;action=sequence&amp;mid='.$monitor['Id'].'&amp;smid='.$seqIdUpList[$monitor['Id']], '<img src="'.$seqUpFile.'" alt="Up"/>', $i==0 ) ?><?php echo makeLink( '?view='.$view.'&amp;action=sequence&amp;mid='.$monitor['Id'].'&amp;smid='.$seqIdDownList[$monitor['Id']], '<img src="'.$seqDownFile.'" alt="Down"/>', $i<count($displayMonitors) ) ?></td>
<?php <?php
} }
?> ?>