summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/views/scripts/session/index.phtml
diff options
context:
space:
mode:
authorSimon2011-03-14 16:09:03 +0100
committerSimon2011-03-14 16:09:03 +0100
commitb5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c (patch)
treefcef50ad1ddf831f457d6aecd83e7fdc63297a1c /application/modules/dev/views/scripts/session/index.phtml
parentfooter bleibt am fensterbottom (diff)
downloadpbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.tar.gz
pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.tar.xz
pbs2-b5cbdd6b400aa1ec77c9846e9cc8d4257f437e3c.zip
Application in 3 Modules gesplittet, Dev = unsere entwicklungsumgebung, user = die weboberfläche fr anwender mit acl etc, fbgui = für die fbgui truppe - links in dev müssen noch angepasst werden
Diffstat (limited to 'application/modules/dev/views/scripts/session/index.phtml')
-rw-r--r--application/modules/dev/views/scripts/session/index.phtml49
1 files changed, 49 insertions, 0 deletions
diff --git a/application/modules/dev/views/scripts/session/index.phtml b/application/modules/dev/views/scripts/session/index.phtml
new file mode 100644
index 0000000..c9f726b
--- /dev/null
+++ b/application/modules/dev/views/scripts/session/index.phtml
@@ -0,0 +1,49 @@
+<h1>Session</h1>
+<?php echo $this->formButton('createconfig', 'Create Session', array(
+ 'onclick' => 'self.location="/session/createsession"',
+ 'class' => 'addbutton'))?>
+<table>
+<tr>
+ <th>ID</th>
+ <th>alphasessionID</th>
+ <th>ClientID</th>
+ <th>BootmenuentryID</th>
+ <th>BootOsID</th>
+ <th>BootIsoID</th>
+ <th>MembershipID</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->getAlphasessionID()) ?></td>
+ <td><?php echo $this->escape($session->getClientID()) ?></td>
+ <td><?php echo $this->escape($session->getBootmenuentryID()) ?></td>
+ <td><?php echo $this->escape($session->getBootosID()) ?></td>
+ <td><?php echo $this->escape($session->getBootisoID()) ?></td>
+ <td><?php echo $this->escape($session->getMembershipID()) ?></td>
+ <td><?php echo date('d.m.Y H:i',$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>