diff options
| author | michael pereira | 2011-03-08 19:41:07 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-08 19:41:07 +0100 |
| commit | 6a917fa16d4aabd8e69e1db08867899c860424e1 (patch) | |
| tree | 5aee03f6bf1810ec340110df55fd1edacf44f592 /application/views/scripts/session | |
| parent | BootOs Name anzeigen & Reihenfolge im BootMenu (diff) | |
| parent | ansehnlichere oberfläche && Controller auflistung (diff) | |
| download | pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.tar.gz pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.tar.xz pbs2-6a917fa16d4aabd8e69e1db08867899c860424e1.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/views/scripts/session')
4 files changed, 59 insertions, 0 deletions
diff --git a/application/views/scripts/session/createsession.phtml b/application/views/scripts/session/createsession.phtml new file mode 100644 index 0000000..11fe7ce --- /dev/null +++ b/application/views/scripts/session/createsession.phtml @@ -0,0 +1,5 @@ +<h1>create session</h1> + +<?php +echo $this->createsession; +?> diff --git a/application/views/scripts/session/deletesession.phtml b/application/views/scripts/session/deletesession.phtml new file mode 100644 index 0000000..57f8698 --- /dev/null +++ b/application/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/views/scripts/session/editsession.phtml b/application/views/scripts/session/editsession.phtml new file mode 100644 index 0000000..88fb273 --- /dev/null +++ b/application/views/scripts/session/editsession.phtml @@ -0,0 +1,5 @@ +<h1>edit session</h1> + +<?php +echo $this->editsession; +?> diff --git a/application/views/scripts/session/index.phtml b/application/views/scripts/session/index.phtml new file mode 100644 index 0000000..d26e818 --- /dev/null +++ b/application/views/scripts/session/index.phtml @@ -0,0 +1,48 @@ +<h1>Session</h1> + +<p><a href="<?php echo $this->url( + array( + 'controller' => 'session', + 'action' => 'createsession' + ), + 'default', + true) ?>">create new session</a></p> + +<table border=1> +<tr> + <th>SessionID</th> + <th>ClientID</th> + <th>BootosID</th> + <th>BootIsoID</th> + <th>Time</th> + <th>IP</th> + <th>IPv6</th> +</tr> +<?php foreach ($this->sessions as $session): ?> + <tr> + <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><a href="<?php echo $this->url( + array( + 'controller' => 'session', + 'action' => 'editsession', + 'sessionID' => $session->getID() + ), + 'default', + true) ?>">edit filter</a></td> + <td><a href="<?php echo $this->url( + array( + 'controller' => 'session', + 'action' => 'deletesession', + 'sessionID' => $session->getID() + ), + 'default', + true) ?>">delete filter</a></td> + </tr> +<?php endforeach ?> +</table> |
