summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/views/scripts/session
diff options
context:
space:
mode:
authormichael pereira2011-03-15 11:35:00 +0100
committermichael pereira2011-03-15 11:35:00 +0100
commit3f9700079f95c7fb715e5c9363e48dce6c7c627f (patch)
tree17fe70fcfbe651a9c52194423a67bac5a9c692e9 /application/modules/dev/views/scripts/session
parentRessource Controller (diff)
parentlinks korrigiert, dev ist nun lauffähig (diff)
downloadpbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.gz
pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.xz
pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.zip
Ressource gelöscht
Diffstat (limited to 'application/modules/dev/views/scripts/session')
-rw-r--r--application/modules/dev/views/scripts/session/createsession.phtml5
-rw-r--r--application/modules/dev/views/scripts/session/deletesession.phtml1
-rw-r--r--application/modules/dev/views/scripts/session/editsession.phtml5
-rw-r--r--application/modules/dev/views/scripts/session/index.phtml51
4 files changed, 62 insertions, 0 deletions
diff --git a/application/modules/dev/views/scripts/session/createsession.phtml b/application/modules/dev/views/scripts/session/createsession.phtml
new file mode 100644
index 0000000..11fe7ce
--- /dev/null
+++ b/application/modules/dev/views/scripts/session/createsession.phtml
@@ -0,0 +1,5 @@
+<h1>create session</h1>
+
+<?php
+echo $this->createsession;
+?>
diff --git a/application/modules/dev/views/scripts/session/deletesession.phtml b/application/modules/dev/views/scripts/session/deletesession.phtml
new file mode 100644
index 0000000..57f8698
--- /dev/null
+++ b/application/modules/dev/views/scripts/session/deletesession.phtml
@@ -0,0 +1 @@
+<br /><br /><center>View script for controller <b>Session</b> and script/action name <b>deletesession</b></center> \ No newline at end of file
diff --git a/application/modules/dev/views/scripts/session/editsession.phtml b/application/modules/dev/views/scripts/session/editsession.phtml
new file mode 100644
index 0000000..88fb273
--- /dev/null
+++ b/application/modules/dev/views/scripts/session/editsession.phtml
@@ -0,0 +1,5 @@
+<h1>edit session</h1>
+
+<?php
+echo $this->editsession;
+?>
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..32f9ae9
--- /dev/null
+++ b/application/modules/dev/views/scripts/session/index.phtml
@@ -0,0 +1,51 @@
+<h1>Session</h1>
+<?php echo $this->formButton('createconfig', 'Create Session', array(
+ 'onclick' => 'self.location="/dev/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(
+ 'module' => 'dev',
+ '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(
+ 'module' => 'dev',
+ 'controller' => 'session',
+ 'action' => 'deletesession',
+ 'sessionID' => $session->getID()
+ ),
+ 'default',
+ true) ?>"><img src='/media/img/delete.png' alt='Delete Filter'/></a></td>
+ </tr>
+<?php endforeach ?>
+</table>