summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/session/index.phtml
blob: 0ff255d1b2c3a4d78579e7c3c19e9391d5a64931 (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
<h1>Session</h1>
<?php echo $this->formButton('createconfig', 'Create Session', array(
							'onclick' => 'self.location="/session/createsession"',
							'class' => 'addbutton'))?>
<table>
<tr>
	<th>ID</th>
	<th>ClientID</th>
	<th>BootosID</th>
	<th>BootIsoID</th>
	<th>Time</th>
	<th>IP</th>
	<th>IPv6</th>
 	<th colspan=2>Actions</th>
</tr>
<?php foreach ($this->sessions as $session): ?>
	<tr class=entry>
		<td><?php echo $this->escape($session->getID()) ?></td>
		<td><?php echo $this->escape($session->getClientID()) ?></td>
		<td><?php echo $this->escape($session->getBootosID()) ?></td>
		<td><?php echo $this->escape($session->getBootisoID()) ?></td>		
		<td><?php echo $this->escape($session->getTime()) ?></td>
		<td><?php echo $this->escape($session->getIp()) ?></td>
		<td><?php echo $this->escape($session->getIp6()) ?></td>
		<td class='action'><a href="<?php echo $this->url(
					array(
						'controller' => 'session',
						'action'     => 'editsession',
						'sessionID'	=> $session->getID()
					),
					'default',
					true) ?>"><img src='/media/img/edit.png' alt='Edit Filter'/></a></td>
		<td class='action'><a href="<?php echo $this->url(
					array(
						'controller' => 'session',
						'action'     => 'deletesession',
						'sessionID'	=> $session->getID()
					),
					'default',
					true) ?>"><img src='/media/img/delete.png' alt='Delete Filter'/></a></td>
	</tr>
<?php endforeach ?> 
</table>