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

20 lines
526 B
Plaintext
Raw Normal View History

2013-05-02 06:41:59 +08:00
<h2>Monitors</h2>
<table>
<tr>
<th>Name</th>
2013-05-02 06:46:01 +08:00
<th>Function</th>
<th>Source</th>
2013-05-02 06:41:59 +08:00
</tr>
<?php foreach ($monitors as $monitor): ?>
<tr>
<td>
<?php echo $this->Html->link($monitor['Monitor']['Name'],
array('controller' => 'monitors', 'action' => 'view', $monitor['Monitor']['Id'])); ?>
2013-05-02 06:46:01 +08:00
<td><?php echo $monitor['Monitor']['Function']; ?></td>
<td><?php echo $monitor['Monitor']['Host']; ?></td>
2013-05-02 06:41:59 +08:00
</tr>
<?php endforeach; ?>
<?php unset($monitor); ?>
</table>