blob: 3e220a0bf82cb9e4ab693a9e57ac45841739b0f1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<h1>Config</h1>
<?php echo $this->formButton('createconfig', 'Create Config', array(
'onclick' => 'self.location="/config/createconfig"',
'class' => 'addbutton'))?>
<table>
<tr>
<th>ID</th>
<th>Title</th>
<th>GroupID</th>
<th>MembershipID</th>
<th>Shellscript</th>
<th>Changed</th>
<th colspan=2>Actions</th>
</tr>
<?php foreach ($this->configlist as $config): ?>
<tr class=entry>
<td><?php echo $this->escape($config->getID()); ?></td>
<td><?php echo $this->escape($config->getTitle()); ?></td>
<td><?php echo $this->escape($config->getGroupID()); ?></td>
<td><?php echo $this->escape($config->getMembershipID()); ?></td>
<td><?php echo $this->escape($config->getShellscript()); ?></td>
<td><?php echo $this->escape(date('Y-m-d H:i:s', $config->getCreated())); ?></td>
<td><a href="<?php echo $this->url(
array(
'controller' => 'config',
'action' => 'editconfig',
'configID' => $config->getID()
),
'default',
true, false) ?>">Edit Config</a></td>
<td><a href="<?php echo $this->url(
array(
'controller' => 'config',
'action' => 'deleteconfig',
'configID' => $config->getID()
),
'default',
true) ?>">Delete Config</a></td>
</tr>
<?php endforeach; ?>
</table>
|