|
|
1 |
<div class="panel_headline"><?php echo $headline?></div>
|
|
|
2 |
|
|
|
3 |
<div class="subview_content">
|
|
|
4 |
|
|
|
5 |
<table class="management">
|
|
|
6 |
<thead>
|
|
|
7 |
<tr>
|
|
|
8 |
<th>Goal Number</th>
|
|
|
9 |
<th>Goal Name</th>
|
|
|
10 |
<th>Goal Group</th>
|
|
|
11 |
<th>Goal Type</th>
|
|
|
12 |
<th>Status</th>
|
|
|
13 |
</tr>
|
|
|
14 |
</thead>
|
|
|
15 |
|
|
|
16 |
<tbody>
|
|
|
17 |
|
|
|
18 |
<?php foreach ($goals as $k => $goal): ?>
|
|
|
19 |
<tr>
|
|
|
20 |
<td>Goal <?php $this->out($k);?> <a class="" href="<?php echo $this->makeLink(array('do' => 'base.optionsGoalEntry', 'goal_number' => $k, 'siteId' => $siteId));?>">Edit</a></p></td>
|
|
|
21 |
<td><?php $this->out($goal['goal_name']);?></td>
|
|
|
22 |
<td>
|
|
|
23 |
<?php
|
|
|
24 |
if ( isset( $goal['goal_group'] ) ) {
|
|
|
25 |
if ( !empty( $goal_groups[$goal['goal_group']] ) ) {
|
|
|
26 |
$this->out($goal_groups[$goal['goal_group']] );
|
|
|
27 |
} else {
|
|
|
28 |
$this->out( $goal['goal_group'] );
|
|
|
29 |
}
|
|
|
30 |
}
|
|
|
31 |
?>
|
|
|
32 |
</td>
|
|
|
33 |
<td><?php $this->out($goal['goal_type']);?></td>
|
|
|
34 |
<td><?php $this->out($goal['goal_status']);?></td>
|
|
|
35 |
</tr>
|
|
|
36 |
<?php endforeach; ?>
|
|
|
37 |
</tbody>
|
|
|
38 |
|
|
|
39 |
<tfoot>
|
|
|
40 |
|
|
|
41 |
</tfoot>
|
|
|
42 |
</table>
|
|
|
43 |
|
|
|
44 |
</div> |