Forgot to change $event to $value, and to move a <td> or two.

This commit is contained in:
Kyle Johnson 2013-05-30 23:00:09 -04:00
parent 50085d48b5
commit f50bf834d9
1 changed files with 3 additions and 4 deletions

View File

@ -27,8 +27,6 @@
<?php foreach ($events as $key => $value): ?>
<tr>
<td>
<td><?php echo $event['Monitor']['Name']; ?></td>
<td><?php echo $event['Event']['Length']; ?></td>
<?php
echo $this->Html->link($this->Html->image('/events/'.$thumbData[$key]['Path'], array(
'alt' => $thumbData[$key]['Frame']['FrameId'].'/'.$thumbData[$key]['Event']['MaxScore'],
@ -37,8 +35,9 @@ echo $this->Html->link($this->Html->image('/events/'.$thumbData[$key]['Path'], a
)), array('controller' => 'events', 'action' => 'view', $value['Event']['Id']),
array('escape' => false));
?>
</td>
</td>
<td><?php echo $value['Monitor']['Name']; ?></td>
<td><?php echo $value['Event']['Length']; ?></td>
</tr>
<?php endforeach; ?>
<?php unset($key); ?>