Merge branch 'storageareas_dragndrop' into storageareas
This commit is contained in:
commit
fe3328a87a
|
@ -152,7 +152,9 @@ for ( $i = 0; $i < count($eventCounts); $i++ )
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th class="colZones"><?php echo translate('Zones') ?></th>
|
<th class="colZones"><?php echo translate('Zones') ?></th>
|
||||||
|
<?php if ( canEdit( 'Monitors' ) ) { ?>
|
||||||
<th class="colMark"><?php echo translate('Mark') ?></th>
|
<th class="colMark"><?php echo translate('Mark') ?></th>
|
||||||
|
<?php } ?>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
|
@ -175,7 +177,9 @@ for ( $i = 0; $i < count($eventCounts); $i++ )
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td class="colZones"><?php echo $zoneCount ?></td>
|
<td class="colZones"><?php echo $zoneCount ?></td>
|
||||||
|
<?php if ( canEdit( 'Monitors' ) ) { ?>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
<?php } ?>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
<tbody id="consoleTableBody">
|
<tbody id="consoleTableBody">
|
||||||
|
@ -236,24 +240,22 @@ echo $Server->Name();
|
||||||
<td class="colSource"> </td>
|
<td class="colSource"> </td>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if ( $show_storage_areas ) { ?>
|
<?php if ( $show_storage_areas ) { ?>
|
||||||
<td class="colStorage"><?php
|
<td class="colStorage"><?php $Storage = new Storage( $monitor['StorageId'] ); echo $Storage->Name(); ?></td>
|
||||||
$Storage = new Storage( $monitor['StorageId'] );
|
|
||||||
echo $Storage->Name();
|
|
||||||
?></td>
|
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php
|
<?php
|
||||||
for ( $i = 0; $i < count($eventCounts); $i++ )
|
for ( $i = 0; $i < count($eventCounts); $i++ ) {
|
||||||
{
|
|
||||||
?>
|
?>
|
||||||
<td class="colEvents"><?php echo makePopupLink( '?view='.$eventsView.'&page=1'.$monitor['eventCounts'][$i]['filter']['query'], $eventsWindow, $eventsView, $monitor['EventCount'.$i], canView( 'Events' ) ) ?></td>
|
<td class="colEvents"><?php echo makePopupLink( '?view='.$eventsView.'&page=1'.$monitor['eventCounts'][$i]['filter']['query'], $eventsWindow, $eventsView, $monitor['EventCount'.$i], canView( 'Events' ) ) ?></td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td class="colZones"><?php echo makePopupLink( '?view=zones&mid='.$monitor['Id'], 'zmZones', array( 'zones', $monitor['Width'], $monitor['Height'] ), $monitor['ZoneCount'], $running && canView( 'Monitors' ) ) ?></td>
|
<td class="colZones"><?php echo makePopupLink( '?view=zones&mid='.$monitor['Id'], 'zmZones', array( 'zones', $monitor['Width'], $monitor['Height'] ), $monitor['ZoneCount'], $running && canView( 'Monitors' ) ) ?></td>
|
||||||
|
<?php if ( canEdit( 'Monitors' ) ) { ?>
|
||||||
<td class="colMark">
|
<td class="colMark">
|
||||||
<input type="checkbox" name="markMids[]" value="<?php echo $monitor['Id'] ?>" onclick="setButtonStates( this )"<?php if ( !canEdit( 'Monitors' ) ) { ?> disabled="disabled"<?php } ?>/>
|
<input type="checkbox" name="markMids[]" value="<?php echo $monitor['Id'] ?>" onclick="setButtonStates( this )"<?php if ( !canEdit( 'Monitors' ) ) { ?> disabled="disabled"<?php } ?>/>
|
||||||
<span class="glyphicon glyphicon-sort"></span>
|
<span class="glyphicon glyphicon-sort"></span>
|
||||||
</td>
|
</td>
|
||||||
|
<?php } ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
} # end for eacho monitor
|
} # end for eacho monitor
|
||||||
|
|
Loading…
Reference in New Issue