zoneminder/web/app/View/Monitors/index.ctp

16 lines
678 B
Plaintext
Raw Normal View History

2013-05-02 06:41:59 +08:00
<h2>Monitors</h2>
<?php foreach ($monitors as $monitor => $mon): ?>
<div class="monitor">
<?php echo $this->Html->link($mon['Monitor']['Name'],array('controller' => 'monitors', 'action' => 'view', $mon['Monitor']['Id'])); ?>
<?php echo $this->LiveStream->makeLiveStream($mon['Monitor']['Name'], $streamSrc[$monitor], $mon['Monitor']['Id']); ?>
<?php echo $this->Html->link($mon['Monitor']['Function'], array('action' => 'edit', $mon['Monitor']['Id'])); ?>
</div>
2013-05-02 06:41:59 +08:00
<?php endforeach; ?>
<?php unset($monitor); ?>
2013-05-15 20:36:05 +08:00
<?php echo $this->Html->link(
'Add Monitor',
array('controller' => 'monitors', 'action' => 'add')
); ?>
2013-05-02 06:41:59 +08:00
</table>