deprecate minSequence and maxSequence use
This commit is contained in:
parent
b0a057724a
commit
55567b66e9
|
@ -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.'&action=sequence&mid='.$monitor['Id'].'&smid='.$seqIdUpList[$monitor['Id']], '<img src="'.$seqUpFile.'" alt="Up"/>', $monitor['Sequence']>$minSequence ) ?><?php echo makeLink( '?view='.$view.'&action=sequence&mid='.$monitor['Id'].'&smid='.$seqIdDownList[$monitor['Id']], '<img src="'.$seqDownFile.'" alt="Down"/>', $monitor['Sequence']<$maxSequence ) ?></td>
|
<td class="colOrder"><?php echo makeLink( '?view='.$view.'&action=sequence&mid='.$monitor['Id'].'&smid='.$seqIdUpList[$monitor['Id']], '<img src="'.$seqUpFile.'" alt="Up"/>', $i==0 ) ?><?php echo makeLink( '?view='.$view.'&action=sequence&mid='.$monitor['Id'].'&smid='.$seqIdDownList[$monitor['Id']], '<img src="'.$seqDownFile.'" alt="Down"/>', $i<count($displayMonitors) ) ?></td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue