summaryrefslogtreecommitdiffstats
path: root/application/views
diff options
context:
space:
mode:
authorSimon2011-03-14 16:20:25 +0100
committerSimon2011-03-14 16:20:25 +0100
commit722ac9facf183998fb02e14bf035306672419aa6 (patch)
tree142486bec18e259f9678de6c7ce75cfdbe1d5bf4 /application/views
parentZweiter push um die änderungen hinzuzufügen, Trennung der Ansichten (diff)
downloadpbs2-722ac9facf183998fb02e14bf035306672419aa6.tar.gz
pbs2-722ac9facf183998fb02e14bf035306672419aa6.tar.xz
pbs2-722ac9facf183998fb02e14bf035306672419aa6.zip
die verschobenen ansichten löschen
Diffstat (limited to 'application/views')
-rw-r--r--application/views/scripts/auth/delete.phtml0
-rw-r--r--application/views/scripts/auth/index.phtml0
-rw-r--r--application/views/scripts/auth/login.phtml5
-rw-r--r--application/views/scripts/auth/logout.phtml1
-rw-r--r--application/views/scripts/auth/recoverpassword.phtml4
-rw-r--r--application/views/scripts/auth/register.phtml4
-rw-r--r--application/views/scripts/bootiso/createbootiso.phtml4
-rw-r--r--application/views/scripts/bootiso/editbootiso.phtml4
-rw-r--r--application/views/scripts/bootiso/index.phtml56
-rw-r--r--application/views/scripts/bootmenu/addbootmenuentry.phtml4
-rw-r--r--application/views/scripts/bootmenu/createbootmenu.phtml4
-rw-r--r--application/views/scripts/bootmenu/editbootmenu.phtml4
-rw-r--r--application/views/scripts/bootmenu/editbootmenuentry.phtml4
-rw-r--r--application/views/scripts/bootmenu/index.phtml119
-rw-r--r--application/views/scripts/bootos/createbootos.phtml4
-rw-r--r--application/views/scripts/bootos/editbootos.phtml4
-rw-r--r--application/views/scripts/bootos/index.phtml62
-rw-r--r--application/views/scripts/client/addclient.phtml3
-rw-r--r--application/views/scripts/client/editclient.phtml3
-rw-r--r--application/views/scripts/client/index.phtml44
-rw-r--r--application/views/scripts/client/removeclient.phtml1
-rw-r--r--application/views/scripts/config/createconfig.phtml4
-rw-r--r--application/views/scripts/config/editconfig.phtml4
-rw-r--r--application/views/scripts/config/index.phtml50
-rw-r--r--application/views/scripts/filter/addfilter.phtml3
-rw-r--r--application/views/scripts/filter/addfilterentry.phtml3
-rw-r--r--application/views/scripts/filter/editfilter.phtml8
-rw-r--r--application/views/scripts/filter/editfilterentry.phtml2
-rw-r--r--application/views/scripts/filter/evaluate.phtml0
-rw-r--r--application/views/scripts/filter/index.phtml117
-rw-r--r--application/views/scripts/filter/testevaluate.phtml4
-rw-r--r--application/views/scripts/group/add.phtml4
-rw-r--r--application/views/scripts/group/delete.phtml6
-rw-r--r--application/views/scripts/group/edit.phtml10
-rw-r--r--application/views/scripts/group/grantperson.phtml11
-rw-r--r--application/views/scripts/group/index.phtml35
-rw-r--r--application/views/scripts/group/link.phtml4
-rw-r--r--application/views/scripts/group/revokeperson.phtml6
-rw-r--r--application/views/scripts/group/show.phtml122
-rw-r--r--application/views/scripts/person/edit.phtml4
-rw-r--r--application/views/scripts/person/index.phtml0
-rw-r--r--application/views/scripts/person/leave.phtml6
-rw-r--r--application/views/scripts/person/request.phtml6
-rw-r--r--application/views/scripts/person/show.phtml79
-rw-r--r--application/views/scripts/pool/createpool.phtml2
-rw-r--r--application/views/scripts/pool/deletepool.phtml1
-rw-r--r--application/views/scripts/pool/editpool.phtml4
-rw-r--r--application/views/scripts/pool/index.phtml126
-rw-r--r--application/views/scripts/pool/linkclient.phtml3
-rw-r--r--application/views/scripts/pool/unlinkclient.phtml1
-rw-r--r--application/views/scripts/resource/get-bootmenu-entry.phtml0
-rw-r--r--application/views/scripts/resource/index.phtml0
-rw-r--r--application/views/scripts/role/add.phtml1
-rw-r--r--application/views/scripts/role/delete.phtml1
-rw-r--r--application/views/scripts/role/edit.phtml1
-rw-r--r--application/views/scripts/role/index.phtml1
-rw-r--r--application/views/scripts/role/linkright.phtml1
-rw-r--r--application/views/scripts/role/show.phtml1
-rw-r--r--application/views/scripts/role/unlinkright.phtml1
-rw-r--r--application/views/scripts/session/createsession.phtml5
-rw-r--r--application/views/scripts/session/deletesession.phtml1
-rw-r--r--application/views/scripts/session/editsession.phtml5
-rw-r--r--application/views/scripts/session/index.phtml49
63 files changed, 0 insertions, 1026 deletions
diff --git a/application/views/scripts/auth/delete.phtml b/application/views/scripts/auth/delete.phtml
deleted file mode 100644
index e69de29..0000000
--- a/application/views/scripts/auth/delete.phtml
+++ /dev/null
diff --git a/application/views/scripts/auth/index.phtml b/application/views/scripts/auth/index.phtml
deleted file mode 100644
index e69de29..0000000
--- a/application/views/scripts/auth/index.phtml
+++ /dev/null
diff --git a/application/views/scripts/auth/login.phtml b/application/views/scripts/auth/login.phtml
deleted file mode 100644
index 4e642a3..0000000
--- a/application/views/scripts/auth/login.phtml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-$this->loginForm->setAction($this->url());
-echo $this->loginForm;
-?>
-<div><button onclick="location.href='/auth/recoverpassword'">Recover Password</button></div> \ No newline at end of file
diff --git a/application/views/scripts/auth/logout.phtml b/application/views/scripts/auth/logout.phtml
deleted file mode 100644
index a709bd9..0000000
--- a/application/views/scripts/auth/logout.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Auth</b> and script/action name <b>logout</b></center> \ No newline at end of file
diff --git a/application/views/scripts/auth/recoverpassword.phtml b/application/views/scripts/auth/recoverpassword.phtml
deleted file mode 100644
index 881e00e..0000000
--- a/application/views/scripts/auth/recoverpassword.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->recoverPasswordForm->setAction($this->url());
-echo $this->recoverPasswordForm;
-?>
diff --git a/application/views/scripts/auth/register.phtml b/application/views/scripts/auth/register.phtml
deleted file mode 100644
index 5196738..0000000
--- a/application/views/scripts/auth/register.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->registerForm->setAction($this->url());
-echo $this->registerForm;
-?>
diff --git a/application/views/scripts/bootiso/createbootiso.phtml b/application/views/scripts/bootiso/createbootiso.phtml
deleted file mode 100644
index a5ad609..0000000
--- a/application/views/scripts/bootiso/createbootiso.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->createbootisoForm->setAction($this->url());
-echo $this->createbootisoForm;
-?>
diff --git a/application/views/scripts/bootiso/editbootiso.phtml b/application/views/scripts/bootiso/editbootiso.phtml
deleted file mode 100644
index 9b04c95..0000000
--- a/application/views/scripts/bootiso/editbootiso.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editbootisoForm->setAction($this->url());
-echo $this->editbootisoForm;
-?>
diff --git a/application/views/scripts/bootiso/index.phtml b/application/views/scripts/bootiso/index.phtml
deleted file mode 100644
index 5e7da1e..0000000
--- a/application/views/scripts/bootiso/index.phtml
+++ /dev/null
@@ -1,56 +0,0 @@
-<h1>BootISO</h1>
-<?php echo $this->formButton('createbootiso', 'Create BootISO', array(
- 'onclick' => 'self.location="/bootiso/createbootiso"',
- 'class' => 'addbutton'))?>
-<table>
- <tr>
- <th>ID</th>
- <th>Title</th>
- <th>GroupID</th>
- <th>MembershipID</th>
- <th>Path</th>
- <th>Serialnumber</th>
- <th>Created</th>
- <th>Expires</th>
- <th>Public</th>
- <th colspan=2>Actions</th>
- </tr>
- <?php if(count($this->bootisolist)==0)
- echo "</table> There are no BootISO's entries for the Bootmenuto display." ?>
- <?php foreach ($this->bootisolist as $bootiso): ?>
- <tr class=entry>
- <td><?php echo $this->escape($bootiso->getID()); ?></td>
- <td><?php echo $this->escape($bootiso->getTitle()); ?></td>
- <td><?php echo $this->escape($bootiso->getGroupID()); ?></td>
- <td><?php echo $this->escape($bootiso->getMembershipID()); ?></td>
- <td><?php echo $this->escape($bootiso->getPath()); ?></td>
- <td><?php echo $this->escape($bootiso->getSerialnumber()); ?></td>
- <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootiso->getCreated())); ?></td>
- <td><?php echo $this->escape($bootiso->getExpires()); ?></td>
- <td><?php echo $this->escape($bootiso->getPublic()); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootiso',
- 'action' => 'editbootiso',
- 'bootisoID' => $bootiso->getID()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootISO' /></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootiso',
- 'action' => 'deletebootiso',
- 'bootisoID' => $bootiso->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete BootISO'/></a></td>
- </tr>
- <?php endforeach; ?>
-</table>
-
-
-
-
-
-
-
diff --git a/application/views/scripts/bootmenu/addbootmenuentry.phtml b/application/views/scripts/bootmenu/addbootmenuentry.phtml
deleted file mode 100644
index 914cc9c..0000000
--- a/application/views/scripts/bootmenu/addbootmenuentry.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->addbootmenuentryForm->setAction($this->url());
-echo $this->addbootmenuentryForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/bootmenu/createbootmenu.phtml b/application/views/scripts/bootmenu/createbootmenu.phtml
deleted file mode 100644
index 2d2c2df..0000000
--- a/application/views/scripts/bootmenu/createbootmenu.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->createbootmenuForm->setAction($this->url());
-echo $this->createbootmenuForm;
-?>
diff --git a/application/views/scripts/bootmenu/editbootmenu.phtml b/application/views/scripts/bootmenu/editbootmenu.phtml
deleted file mode 100644
index b7adc4a..0000000
--- a/application/views/scripts/bootmenu/editbootmenu.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editbootmenuForm->setAction($this->url());
-echo $this->editbootmenuForm;
-?>
diff --git a/application/views/scripts/bootmenu/editbootmenuentry.phtml b/application/views/scripts/bootmenu/editbootmenuentry.phtml
deleted file mode 100644
index 5680d65..0000000
--- a/application/views/scripts/bootmenu/editbootmenuentry.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editbootmenuentryForm->setAction($this->url());
-echo $this->editbootmenuentryForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/bootmenu/index.phtml b/application/views/scripts/bootmenu/index.phtml
deleted file mode 100644
index fa722e4..0000000
--- a/application/views/scripts/bootmenu/index.phtml
+++ /dev/null
@@ -1,119 +0,0 @@
-<h1>BootMenu</h1>
-<?php echo $this->formButton('createbootmenu', 'Create BootMenu', array(
- 'onclick' => 'self.location="/bootmenu/createbootmenu"',
- 'class' => 'addbutton'))?>
-
-
-<table>
- <tr>
- <th>ID</th>
- <th>Title</th>
- <th>GroupID</th>
- <th>MembershipID</th>
- <th>Changed</th>
- <th colspan=3>Actions</th>
- </tr>
- <?php if(count($this->bootmenulist)==0)
- echo "</table> There are no BootMenus to display." ?>
- <?php foreach ($this->bootmenulist as $bootmenu): ?>
- <tr class=entry>
- <td><?php echo $this->escape($bootmenu->getID()); ?></td>
- <td><?php echo $this->escape($bootmenu->getTitle()); ?></td>
- <td><?php echo $this->escape($bootmenu->getGroupID()); ?></td>
- <td><?php echo $this->escape($bootmenu->getMembershipID()); ?></td>
- <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootmenu->getCreated())); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'editbootmenu',
- 'bootmenuID' => $bootmenu->getID()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit Bootmenu'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'deletebootmenu',
- 'bootmenuID' => $bootmenu->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Bootmenu'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'addbootmenuentry',
- 'bootmenuID' => $bootmenu->getID(),
- 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()])
- ),
- 'default',
- true) ?>"><img src='/media/img/add.png' alt='Add Entry'/></a></td>
- </tr>
-
-<?php if(count($this->bootmenuentrylist[$bootmenu->getID()]) > 0):?>
- <tr class=detail>
- <td class=arrowtop>↳</td>
- <td colspan=7>
- <table>
- <tr>
- <th></th>
- <th>ID</th>
- <th>Title</th>
-<!-- <th>BootmenuID</th>-->
- <th>BootOS</th>
- <th>kcl</th>
-
- <th>Config</th>
- <th>Position</th>
- <th colspan=2>Actions</th>
-
- </tr>
- <?php foreach ($this->bootmenuentrylist[$bootmenu->getID()] as $bootmenuentry): ?>
- <?php $bootos = $this->bootosmapper->find($bootmenuentry->getBootosID());?>
- <?php $config = $this->configmapper->find($bootmenuentry->getConfigID());?>
- <tr>
- <td class='action'>
- <a href='/resource/getbootmenuentry/bootmenuentryID/<?php echo $bootmenuentry->getID();?>'>
- <img src='/media/img/play.gif'>
- </a>
- </td>
- <td><?php echo $this->escape($bootmenuentry->getID()); ?></td>
- <td><?php echo $this->escape($bootmenuentry->getTitle()); ?></td>
- <!--<td><?php echo $this->escape($bootmenuentry->getBootmenuID()); ?></td>
- --><td><?php echo "[".$this->escape($bootmenuentry->getBootosID()."] ". $bootos->getTitle()); ?></td>
- <td><?php echo $this->escape($bootmenuentry->getkcl()); ?></td>
- <td><?php echo "[".$this->escape($bootmenuentry->getConfigID()."] ". $config->getTitle()); ?></td>
- <td><?php echo $this->escape($bootmenuentry->getOrder() + 1); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'editbootmenuentry',
- 'bootmenuentryID' => $bootmenuentry->getID(),
- 'bootmenuID' => $bootmenu->getID(),
- 'maxorder' => count($this->bootmenuentrylist[$bootmenu->getID()]),
- 'oldorder' => $bootmenuentry->getOrder()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit Entry'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootmenu',
- 'action' => 'removebootmenuentry',
- 'bootmenuentryID' => $bootmenuentry->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Remove Entry'/></a></td>
- </tr>
- <?php endforeach; ?>
- </table>
- </td>
- </tr>
- <?php endif; ?>
- <?php endforeach; ?>
-</table>
-
-
-
-
-
-
-
diff --git a/application/views/scripts/bootos/createbootos.phtml b/application/views/scripts/bootos/createbootos.phtml
deleted file mode 100644
index 3d35695..0000000
--- a/application/views/scripts/bootos/createbootos.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->createbootosForm->setAction($this->url());
-echo $this->createbootosForm;
-?>
diff --git a/application/views/scripts/bootos/editbootos.phtml b/application/views/scripts/bootos/editbootos.phtml
deleted file mode 100644
index 43813de..0000000
--- a/application/views/scripts/bootos/editbootos.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editbootosForm->setAction($this->url());
-echo $this->editbootosForm;
-?>
diff --git a/application/views/scripts/bootos/index.phtml b/application/views/scripts/bootos/index.phtml
deleted file mode 100644
index 6da7a16..0000000
--- a/application/views/scripts/bootos/index.phtml
+++ /dev/null
@@ -1,62 +0,0 @@
-<h1>BootOS</h1>
-<?php echo $this->formButton('createbootos', 'Create BootOS', array(
- 'onclick' => 'self.location="/bootos/createbootos"',
- 'class' => 'addbutton'))?>
-
-<table>
- <tr>
- <th>ID</th>
- <th>Title</th>
- <th>GroupID</th>
- <th>MembershipID</th>
- <th>ConfigID</th>
- <th>Init</th>
- <th>Kernel</th>
- <th>Kcl</th>
- <th>Description</th>
- <th>Changed</th>
- <th>Expires</th>
- <th>Public</th>
- <th colspan=2>Actions</th>
- </tr>
- <?php if(count($this->bootoslist)==0)
- echo "</table> There are no BootOs's to display." ?>
- <?php foreach ($this->bootoslist as $bootos): ?>
- <tr class=entry>
- <td><?php echo $this->escape($bootos->getID()); ?></td>
- <td><?php echo $this->escape($bootos->getTitle()); ?></td>
- <td><?php echo $this->escape($bootos->getGroupID()); ?></td>
- <td><?php echo $this->escape($bootos->getMembershipID()); ?></td>
- <td><?php echo $this->escape($bootos->getConfigID()); ?></td>
- <td><?php echo $this->escape($bootos->getPath_init()); ?></td>
- <td><?php echo $this->escape($bootos->getPath_kernel()); ?></td>
- <td><?php echo $this->escape($bootos->getDefaultkcl()); ?></td>
- <td><?php echo $this->escape($bootos->getDescription()); ?></td>
- <td><?php echo $this->escape(date('Y-m-d H:i:s', $bootos->getCreated())); ?></td>
- <td><?php echo $this->escape($bootos->getExpires()); ?></td>
- <td><?php echo $this->escape($bootos->getPublic()); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootos',
- 'action' => 'editbootos',
- 'bootosID' => $bootos->getID()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit BootOS'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'bootos',
- 'action' => 'deletebootos',
- 'bootosID' => $bootos->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete BootOS'/></a></td>
- </tr>
- <?php endforeach; ?>
-</table>
-
-
-
-
-
-
diff --git a/application/views/scripts/client/addclient.phtml b/application/views/scripts/client/addclient.phtml
deleted file mode 100644
index e5b0bcf..0000000
--- a/application/views/scripts/client/addclient.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-echo $this->addclient;
diff --git a/application/views/scripts/client/editclient.phtml b/application/views/scripts/client/editclient.phtml
deleted file mode 100644
index 94d6b34..0000000
--- a/application/views/scripts/client/editclient.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-
-echo $this->editclient;
diff --git a/application/views/scripts/client/index.phtml b/application/views/scripts/client/index.phtml
deleted file mode 100644
index fd7725c..0000000
--- a/application/views/scripts/client/index.phtml
+++ /dev/null
@@ -1,44 +0,0 @@
-<h1>Clients</h1>
-<?php echo $this->formButton('createbootos', 'Create Client', array(
- 'onclick' => 'self.location="/client/addclient"',
- 'class' => 'addbutton'))?>
-
-<?php if ($this->clients): ?>
- <table>
- <tr>
- <th>ID</th>
- <th>MAC</th>
- <th>Hardwarehash</th>
- <th colspan=2>Actions</th>
- </tr>
- <?php foreach ($this->clients as $client): ?>
- <tr class=entry>
- <td><?php echo $this->escape($client->getID()) ?></td>
- <td class='monospace'><?php echo $this->escape($client->getMacadress()) ?></td>
- <td class='monospace'><?php echo $this->escape($client->getHardwarehash()) ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'client',
- 'action' => 'editclient',
- 'clientID' => $client->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/edit.png' alt='Edit Client'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'client',
- 'action' => 'removeclient',
- 'clientID' => $client->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Client'/></a></td>
- </tr>
- <?php endforeach ?>
- </table>
-
-<?php else: ?>
-
-
- <p>There are no clients to display.</p>
-
-<?php endif;?>
diff --git a/application/views/scripts/client/removeclient.phtml b/application/views/scripts/client/removeclient.phtml
deleted file mode 100644
index 7b5f64f..0000000
--- a/application/views/scripts/client/removeclient.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>deleteclient</b></center> \ No newline at end of file
diff --git a/application/views/scripts/config/createconfig.phtml b/application/views/scripts/config/createconfig.phtml
deleted file mode 100644
index e6edf7b..0000000
--- a/application/views/scripts/config/createconfig.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->createconfigForm->setAction($this->url());
-echo $this->createconfigForm;
-?>
diff --git a/application/views/scripts/config/editconfig.phtml b/application/views/scripts/config/editconfig.phtml
deleted file mode 100644
index 4971f2e..0000000
--- a/application/views/scripts/config/editconfig.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editconfigForm->setAction($this->url());
-echo $this->editconfigForm;
-?>
diff --git a/application/views/scripts/config/index.phtml b/application/views/scripts/config/index.phtml
deleted file mode 100644
index 5562b86..0000000
--- a/application/views/scripts/config/index.phtml
+++ /dev/null
@@ -1,50 +0,0 @@
-<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 if(count($this->configlist)==0)
- echo "</table> There are no Config's to display." ?>
- <?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 class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'config',
- 'action' => 'editconfig',
- 'configID' => $config->getID()
- ),
- 'default',
- true, false) ?>"><img src='/media/img/edit.png' alt='Edit Config'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'config',
- 'action' => 'deleteconfig',
- 'configID' => $config->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Config'/></a></td>
- </tr>
- <?php endforeach; ?>
-</table>
-
-
-
-
-
-
diff --git a/application/views/scripts/filter/addfilter.phtml b/application/views/scripts/filter/addfilter.phtml
deleted file mode 100644
index 40b4ccf..0000000
--- a/application/views/scripts/filter/addfilter.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-#$this->addfilterform->setAction($this->url());
-echo $this->addfilterform;
diff --git a/application/views/scripts/filter/addfilterentry.phtml b/application/views/scripts/filter/addfilterentry.phtml
deleted file mode 100644
index 8bf501a..0000000
--- a/application/views/scripts/filter/addfilterentry.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php
-$this->editfilterform->setAction($this->url());
-echo $this->editfilterform;
diff --git a/application/views/scripts/filter/editfilter.phtml b/application/views/scripts/filter/editfilter.phtml
deleted file mode 100644
index 8bc38f7..0000000
--- a/application/views/scripts/filter/editfilter.phtml
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1>Edit Filter</h1>
-<?php
-
-$this->editfilterform->setAction($this->url());
-echo $this->editfilterform;
-
-
-?>
diff --git a/application/views/scripts/filter/editfilterentry.phtml b/application/views/scripts/filter/editfilterentry.phtml
deleted file mode 100644
index 038f16a..0000000
--- a/application/views/scripts/filter/editfilterentry.phtml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-echo $this->editfilterform;
diff --git a/application/views/scripts/filter/evaluate.phtml b/application/views/scripts/filter/evaluate.phtml
deleted file mode 100644
index e69de29..0000000
--- a/application/views/scripts/filter/evaluate.phtml
+++ /dev/null
diff --git a/application/views/scripts/filter/index.phtml b/application/views/scripts/filter/index.phtml
deleted file mode 100644
index 188bed3..0000000
--- a/application/views/scripts/filter/index.phtml
+++ /dev/null
@@ -1,117 +0,0 @@
-<h1>Filters</h1>
-<?php echo $this->formButton('createconfig', 'Create Filter', array(
- 'onclick' => 'self.location="/filter/addfilter"',
- 'class' => 'addbutton'))?>
-
-<?php if ($this->filters): ?>
- <table>
- <tr>
- <th>ID</th>
- <th>Title</th>
- <th>Description</th>
- <th>Priority</th>
- <th>TargetBootMenu</th>
- <th colspan=3>Actions</th>
- </tr>
- <?php foreach ($this->filters as $filter): ?>
- <tr class='entry'>
- <td><?php echo $this->escape($filter->getID()) ?></td>
- <td><?php echo $this->escape($filter->title) ?></td>
- <td><?php echo $this->escape($filter->Description) ?></td>
- <td><?php echo $this->escape($filter->priority) ?></td>
- <td><?php echo $this->escape($filter->bootmenuID) ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'filter',
- 'action' => 'editfilter',
- 'filterID' => $filter->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' => 'filter',
- 'action' => 'removefilter',
- 'filterID' => $filter->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Filter'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'filter',
- 'action' => 'addfilterentry',
- 'filterID' => $filter->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/add.png' alt='Add Filterentry'/></a></td>
- </tr>
- <?php
- $fe = new Application_Model_FilterEntriesMapper();
- # print_a($erg = $fe->findBy('filterID',$filter->getID()));
- $erg = $fe->findBy('filterID',$filter->getID());
- ?>
- <?php if (count($erg)>0): ?>
- <tr class=detail>
- <td class=arrowtop>↳</td>
- <td colspan=7>
- <?php
-
- ?>
- <table>
- <tr>
- <th>Filtertype</th>
- <th>Value</th>
- <th>Value2</th>
- <th colspan=2>Actions</th>
- </tr>
- <?php foreach ($erg as $filterentry): ?>
-
- <tr>
- <td><?php
-
- $filter2 = new Application_Model_FilterTypeMapper();
- $erg = new Application_Model_FilterType();
- $filter2->find($filterentry['filtertypeID'],$erg);
- //name zur ID finden
- echo "[".$filterentry['filtertypeID']."] ";
- echo $erg->getFiltertypename();
-
-
- ?></td>
- <td><?php echo $filterentry['filtervalue'];?></td>
- <td><?php echo $filterentry['filtervalue2'];?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'filter',
- 'action' => 'editfilterentry',
- 'filterentriesID' => $filterentry['filterentriesID']
- ),
- 'default',
- true) ?>"><img src='/media/img/edit.png' alt='Edit Filterentry'/></a>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'filter',
- 'action' => 'removefilterentry',
- 'filterentriesID' => $filterentry['filterentriesID']
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Filterentry'/></a>
- </tr>
-
- <?php endforeach ?>
- </table>
- </td>
- </tr>
- <?php endif;?>
- <?php endforeach ?>
- </table>
-
-
-<?php else: ?>
-
- <p>There are no filters to display.</p>
-
-<?php endif;?>
-<?php echo $this->formButton('createconfig', 'Test Filters', array(
- 'onclick' => 'self.location="/filter/testevaluate"',
- 'class' => 'addbutton'))?>
diff --git a/application/views/scripts/filter/testevaluate.phtml b/application/views/scripts/filter/testevaluate.phtml
deleted file mode 100644
index 8a10629..0000000
--- a/application/views/scripts/filter/testevaluate.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<h1>Test Filters</h1>
-
-<?php
-echo $this->filterevaluate;
diff --git a/application/views/scripts/group/add.phtml b/application/views/scripts/group/add.phtml
deleted file mode 100644
index 4f96cf0..0000000
--- a/application/views/scripts/group/add.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->addForm->setAction($this->url());
-echo $this->addForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/group/delete.phtml b/application/views/scripts/group/delete.phtml
deleted file mode 100644
index fc96431..0000000
--- a/application/views/scripts/group/delete.phtml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-if(!isset($_POST['groupID'])) {
- ?>
-<div>No group has been chosen.</div>
- <?php
-} \ No newline at end of file
diff --git a/application/views/scripts/group/edit.phtml b/application/views/scripts/group/edit.phtml
deleted file mode 100644
index 64dde9d..0000000
--- a/application/views/scripts/group/edit.phtml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-if(isset($this->addForm)) {
- $this->addForm->setAction('/group/add');
- echo $this->addForm;
-}
-else {
- $this->editForm->setAction($this->url());
- echo $this->editForm;
-}
-?> \ No newline at end of file
diff --git a/application/views/scripts/group/grantperson.phtml b/application/views/scripts/group/grantperson.phtml
deleted file mode 100644
index f15d08a..0000000
--- a/application/views/scripts/group/grantperson.phtml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-if(!isset($_POST['grouprequestID'])) {
- ?>
-<div>No Request has been chosen.</div>
- <?php
-}
-if(!isset($_POST['roleID'])) {
- ?>
-<div>No Role has been chosen.</div>
- <?php
-} \ No newline at end of file
diff --git a/application/views/scripts/group/index.phtml b/application/views/scripts/group/index.phtml
deleted file mode 100644
index b8178dc..0000000
--- a/application/views/scripts/group/index.phtml
+++ /dev/null
@@ -1,35 +0,0 @@
-<table>
- <tr>
- <th>Title:</th>
- <th>Functions:</th>
- </tr>
- <?php
- $count = 0;
- foreach($this->groupList as $group) {
- ?>
- <tr>
- <td><?php echo $group->getTitle(); ?></td>
- <td>
- <form name="show<?php echo $count; ?>" action="/group/show"
- method="post"><input type="hidden" name="groupID"
- value="<?php echo $group->getID(); ?>" /><a
- href="javascript:document.show<?php echo $count; ?>.submit();">Details</a></form>
- <form name="edit<?php echo $count; ?>" action="/group/edit"
- method="post"><input type="hidden" name="groupID"
- value="<?php echo $group->getID(); ?>" /><a
- href="javascript:document.edit<?php echo $count; ?>.submit();">Edit</a></form>
- <form name="delete<?php echo $count; ?>" action="/group/delete"
- method="post"><input type="hidden" name="groupID"
- value="<?php echo $group->getID(); ?>" /><a
- href="javascript:document.delete<?php echo $count; ?>.submit();">Delete</a></form>
- </td>
- </tr>
- <?php
- $count++;
- }
- ?>
-</table>
-<br />
-<div>
-<button onclick="location.href='/group/link'">Link Groups</button>
-</div>
diff --git a/application/views/scripts/group/link.phtml b/application/views/scripts/group/link.phtml
deleted file mode 100644
index 94ad343..0000000
--- a/application/views/scripts/group/link.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->linkForm->setAction($this->url());
-echo $this->linkForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/group/revokeperson.phtml b/application/views/scripts/group/revokeperson.phtml
deleted file mode 100644
index 6af5564..0000000
--- a/application/views/scripts/group/revokeperson.phtml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-if(!isset($_POST['membershipID'])) {
- ?>
-<div>No Membership has been chosen.</div>
- <?php
-} \ No newline at end of file
diff --git a/application/views/scripts/group/show.phtml b/application/views/scripts/group/show.phtml
deleted file mode 100644
index addf3db..0000000
--- a/application/views/scripts/group/show.phtml
+++ /dev/null
@@ -1,122 +0,0 @@
-<?php
-if($_POST['groupID']) {
- ?>
-<div align="right">
-<form name="editForm" action="/group/edit/" method="post"><input
- type="hidden" name="groupID"
- value="<?php echo $this->group->getID(); ?>" /> <input type="submit"
- name="edit" value="Edit" /></form>
-<form name="deleteForm" action="/group/delete/" method="post"><input
- type="hidden" name="groupID"
- value="<?php echo $this->group->getID(); ?>" /> <input type="submit"
- name="delete" value="Delete" /></form>
-</div>
-<table>
- <tr>
- <td><b>Title:</b></td>
- <td><?php echo $this->group->getTitle(); ?></td>
- </tr>
- <tr>
- <td><b>Description:</b></td>
- <td><?php echo $this->group->getDescription(); ?></td>
- </tr>
- <?php
- if(isset($parentGroup) && is_object($parentGroup)) {
- ?>
- <tr>
- <td><b>Superordinated Group:</b></td>
- <td><?php echo $this->parentGroup->getTitle(); ?></td>
- </tr>
- <?php
- }
- ?>
-</table>
- <?php
- if(isset($this->groupRequestList)) {
- ?>
-<br />
-<div>Grouprequests:</div>
-<br />
-<table>
- <tr>
- <th>Firstname:</th>
- <th>Name:</th>
- <th>email:</th>
- <th>city:</th>
- <th>grant:</th>
- </tr>
- <?php
- foreach($this->groupRequestList as $grouprequest) {
- $grouprequestID = $grouprequest['grouprequestID'];
- $person = $grouprequest['person'];
- ?>
- <tr>
- <td><?php echo $person->getFirstname(); ?></td>
- <td><?php echo $person->getName(); ?></td>
- <td><?php echo $person->getEmail(); ?></td>
- <td><?php echo $person->getCity(); ?></td>
- <td>
- <form action="/group/grantperson" method="post"><input type="hidden"
- name="grouprequestID" value="<?php echo $grouprequestID; ?>" /> <?php printRoleSelect($this->roleList); ?>
- <input type="submit" name="confirm" value="confirm" /></form>
- </td>
- </tr>
- <?php
- }
- ?>
-</table>
- <?php
- }
- if(isset($this->memberslist)) {
- ?>
-<br />
-<div>Members:</div>
-<br />
-<table>
- <tr>
- <th>Firstname:</th>
- <th>Name:</th>
- <th>email:</th>
- <th>city:</th>
- <th></th>
- </tr>
-
- <?php
- foreach($this->memberslist as $member) {
- $membershipID = $member['membershipID'];
- $person = $member['person'];
- ?>
- <tr>
- <td><?php echo $person->getFirstname(); ?></td>
- <td><?php echo $person->getName(); ?></td>
- <td><?php echo $person->getEmail(); ?></td>
- <td><?php echo $person->getCity(); ?></td>
- <td>
- <form action="/group/revokeperson" method="post"><input type="hidden"
- name="membershipID" value="<?php echo $membershipID; ?>" /><input
- type="hidden" name="personID" value="<?php echo $person->getID(); ?>" />
- <input type="submit" name="revoke" value="revoke" /></form>
- </td>
- </tr>
- <?php
- }
- ?>
-</table>
- <?php
- }
-} else {
- ?>
-<div>No Group has been chosen.</div>
- <?php
-}
-
-function printRoleSelect($roleList) {
- if(!is_array($roleList)) {
- return;
- }
- echo "<select name=\"roleID\">";
- foreach($roleList as $role) {
- echo "<option value=\"" . $role['roleID'] . "\">" . $role['title'] . "</option>";
- }
- echo "</select>";
-} \ No newline at end of file
diff --git a/application/views/scripts/person/edit.phtml b/application/views/scripts/person/edit.phtml
deleted file mode 100644
index 955ed35..0000000
--- a/application/views/scripts/person/edit.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-$this->editForm->setAction($this->url());
-echo $this->editForm;
-?> \ No newline at end of file
diff --git a/application/views/scripts/person/index.phtml b/application/views/scripts/person/index.phtml
deleted file mode 100644
index e69de29..0000000
--- a/application/views/scripts/person/index.phtml
+++ /dev/null
diff --git a/application/views/scripts/person/leave.phtml b/application/views/scripts/person/leave.phtml
deleted file mode 100644
index fc96431..0000000
--- a/application/views/scripts/person/leave.phtml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-if(!isset($_POST['groupID'])) {
- ?>
-<div>No group has been chosen.</div>
- <?php
-} \ No newline at end of file
diff --git a/application/views/scripts/person/request.phtml b/application/views/scripts/person/request.phtml
deleted file mode 100644
index 2da570f..0000000
--- a/application/views/scripts/person/request.phtml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?php
-if(count($this->requestForm->getGrouplist())>0) {
- $this->requestForm->setAction($this->url());
- echo $this->requestForm;
-}
-?> \ No newline at end of file
diff --git a/application/views/scripts/person/show.phtml b/application/views/scripts/person/show.phtml
deleted file mode 100644
index 5386c06..0000000
--- a/application/views/scripts/person/show.phtml
+++ /dev/null
@@ -1,79 +0,0 @@
-<div align="right">
-<button onclick="location.href='/person/edit'">Edit</button>
-</div>
-<table>
- <tr>
- <td><b>Title:</b></td>
- <td><?php echo $this->person->getTitle(); ?></td>
- </tr>
- <tr>
- <td><b>Name:</b></td>
- <td><?php echo $this->person->getName(); ?></td>
- </tr>
- <tr>
- <td><b>Firstname:</b></td>
- <td><?php echo $this->person->getFirstname(); ?></td>
- </tr>
- <tr>
- <td><b>Street:</b></td>
- <td><?php echo $this->person->getStreet(); ?></td>
- </tr>
- <tr>
- <td><b>Housenumber:</b></td>
- <td><?php echo $this->person->getHousenumber(); ?></td>
- </tr>
- <tr>
- <td><b>City:</b></td>
- <td><?php echo $this->person->getCity(); ?></td>
- </tr>
- <tr>
- <td><b>Postalcode:</b></td>
- <td><?php echo $this->person->getPostalcode(); ?></td>
- </tr>
- <tr>
- <td><b>Email:</b></td>
- <td><?php echo $this->person->getEmail(); ?></td>
- </tr>
- <tr>
- <td><b>Last Login Date:</b></td>
- <td><?php if( $this->person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()); ?> Uhr</td>
- </tr>
- <tr>
- <td><b>Register Date:</b></td>
- <td><?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()); ?> Uhr</td>
- </tr>
-</table>
-<?php
-if(isset($this->groups)) {
- ?>
-<br />
-<div>Member in the following Groups:</div>
-<br />
-<table>
-<?php
-foreach($this->groups as $group) {
- ?>
- <tr>
- <th>Title</th>
- <th>Functions</th>
- </tr>
- <tr>
- <td><?php echo $group['title']; ?></td>
- <td>
- <form name="leaveGroup<?php echo $group['id']; ?>"
- action="/person/leave/" method="post"><input type="hidden"
- name="groupID" value="<?php echo $group['id']; ?>" /> <a
- href="javascript:document.leaveGroup<?php echo $group['id']; ?>.submit();">Remove
- Membership</a></form>
- </td>
- </tr>
- <?php
-}
-}
-?>
-</table>
-<br />
-<div>
-<button onclick="location.href='/person/request'">Add to additional
-Groups</button>
-</div>
diff --git a/application/views/scripts/pool/createpool.phtml b/application/views/scripts/pool/createpool.phtml
deleted file mode 100644
index 305b36e..0000000
--- a/application/views/scripts/pool/createpool.phtml
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-echo $this->addpool;
diff --git a/application/views/scripts/pool/deletepool.phtml b/application/views/scripts/pool/deletepool.phtml
deleted file mode 100644
index 622e663..0000000
--- a/application/views/scripts/pool/deletepool.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>deletepool</b></center> \ No newline at end of file
diff --git a/application/views/scripts/pool/editpool.phtml b/application/views/scripts/pool/editpool.phtml
deleted file mode 100644
index 359a5f9..0000000
--- a/application/views/scripts/pool/editpool.phtml
+++ /dev/null
@@ -1,4 +0,0 @@
-<h1>Edit Pool</h1>
-<?php
-
-echo $this->editpoolform;
diff --git a/application/views/scripts/pool/index.phtml b/application/views/scripts/pool/index.phtml
deleted file mode 100644
index 2c6ba16..0000000
--- a/application/views/scripts/pool/index.phtml
+++ /dev/null
@@ -1,126 +0,0 @@
-<h1>Pools</h1>
-<?php echo $this->formButton('createconfig', 'Create Pool', array(
- 'onclick' => 'self.location="/pool/createpool"',
- 'class' => 'addbutton'))?>
-
-<?php if ($this->pools): ?>
- <table >
- <tr>
- <th>ID</th>
- <th>Title</th>
- <th>Description</th>
- <th>Location</th>
- <th colspan=3>Actions</th>
- </tr>
- <?php foreach ($this->pools as $pool): ?>
- <tr class=entry>
- <td><?php echo $this->escape($pool->getID()) ?></td>
- <td><?php echo $this->escape($pool->getTitle()) ?></td>
- <td><?php echo $this->escape($pool->getDescription()) ?></td>
- <td><?php echo $this->escape($pool->getLocation()) ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'pool',
- 'action' => 'editpool',
- 'poolID' => $pool->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/edit.png' alt='Edit Pool'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'pool',
- 'action' => 'deletepool',
- 'poolID' => $pool->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Delete Pool'/></a></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'pool',
- 'action' => 'linkclient',
- 'poolID' => $pool->getID()
- ),
- 'default',
- true) ?>"><img src='/media/img/add.png' alt='Link Client'/></a></td>
- </tr>
- <?php
- $poolentriesMapper = new Application_Model_PoolEntriesMapper();
- $clients = $poolentriesMapper->findBy('poolID',$pool->getID());
- ?>
- <?php if (count($clients)>0): ?>
- <tr class=detail>
- <td class=arrowtop>↳</td>
- <td colspan=6>
- <table>
- <tr>
- <th>ClientID</th>
- <th>Mac</th>
- <th>Hardwarehash</th>
- <th>Actions</th>
- </tr>
- <?php
- foreach ($clients as $client): ?>
- <tr>
- <td><?php echo $client['clientID'];?></td>
- <?php
- $cli = new Application_Model_Client();
- $clientMapper = new Application_Model_ClientMapper();
- $clientMapper->find($client['clientID'],$cli);
- ?>
- <td><?php echo ($cli->macAdress); ?></td>
- <td><?php echo ($cli->hardwarehash); ?></td>
- <td class='action'><a href="<?php echo $this->url(
- array(
- 'controller' => 'pool',
- 'action' => 'unlinkclient',
- 'poolentriesID' => $client['poolentriesID']
- ),
- 'default',
- true) ?>"><img src='/media/img/delete.png' alt='Unlink Client'/></a></td>
- </tr>
- <?php endforeach ?>
- </table>
- </td>
- </tr>
- <?php endif;?>
- <?php endforeach ?>
- </table>
-<h2>Free clients</h2>
-<table >
-<tr>
-<th>ClientID</th>
-<th>MacAdress</th>
-<th>Hardwarehash</th>
-<th>Actions</th>
-</tr>
-<?php
-foreach ($this->freeclients as $client): ?>
- <tr>
- <td><?php echo $client['clientID']; ?></td>
- <td><?php echo $client['macadress']; ?></td>
- <td><?php echo $client['hardwarehash']; ?></td>
- <td><select onChange="location.href=this.options[this.selectedIndex].value">
- <option></option>
- <?php foreach ($this->pools as $pool): ?>
- <option value="<?php echo $this->url(
- array(
- 'controller' => 'pool',
- 'action' => 'linkclient',
- 'clientID' => $client['clientID'],
- 'poolID' => $pool->getID(),
- ),
- 'default',
- true) ?>"><?php echo $pool->getTitle(); ?></option>
- <?php //<img src='/media/img/add.png' alt='Link to Pool'/></a></td> ?>
- <?php endforeach ?>
- </select>
- </td>
- </tr>
-<?php endforeach ?>
-</table>
-<?php else: ?>
-
-
- <p>There are no pools to display.</p>
-
-<?php endif;?>
diff --git a/application/views/scripts/pool/linkclient.phtml b/application/views/scripts/pool/linkclient.phtml
deleted file mode 100644
index cbd2dd4..0000000
--- a/application/views/scripts/pool/linkclient.phtml
+++ /dev/null
@@ -1,3 +0,0 @@
-<h1>Link Clients</h1>
-<?php
-echo $this->poolclient;
diff --git a/application/views/scripts/pool/unlinkclient.phtml b/application/views/scripts/pool/unlinkclient.phtml
deleted file mode 100644
index 35aa9c5..0000000
--- a/application/views/scripts/pool/unlinkclient.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>unlinkclient</b></center> \ No newline at end of file
diff --git a/application/views/scripts/resource/get-bootmenu-entry.phtml b/application/views/scripts/resource/get-bootmenu-entry.phtml
deleted file mode 100644
index e69de29..0000000
--- a/application/views/scripts/resource/get-bootmenu-entry.phtml
+++ /dev/null
diff --git a/application/views/scripts/resource/index.phtml b/application/views/scripts/resource/index.phtml
deleted file mode 100644
index e69de29..0000000
--- a/application/views/scripts/resource/index.phtml
+++ /dev/null
diff --git a/application/views/scripts/role/add.phtml b/application/views/scripts/role/add.phtml
deleted file mode 100644
index 5277b9d..0000000
--- a/application/views/scripts/role/add.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>add</b></center> \ No newline at end of file
diff --git a/application/views/scripts/role/delete.phtml b/application/views/scripts/role/delete.phtml
deleted file mode 100644
index 6b0ebf1..0000000
--- a/application/views/scripts/role/delete.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>delete</b></center> \ No newline at end of file
diff --git a/application/views/scripts/role/edit.phtml b/application/views/scripts/role/edit.phtml
deleted file mode 100644
index c30d295..0000000
--- a/application/views/scripts/role/edit.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>edit</b></center> \ No newline at end of file
diff --git a/application/views/scripts/role/index.phtml b/application/views/scripts/role/index.phtml
deleted file mode 100644
index d30131e..0000000
--- a/application/views/scripts/role/index.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>index</b></center> \ No newline at end of file
diff --git a/application/views/scripts/role/linkright.phtml b/application/views/scripts/role/linkright.phtml
deleted file mode 100644
index bfba9db..0000000
--- a/application/views/scripts/role/linkright.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>linkright</b></center> \ No newline at end of file
diff --git a/application/views/scripts/role/show.phtml b/application/views/scripts/role/show.phtml
deleted file mode 100644
index dcd232b..0000000
--- a/application/views/scripts/role/show.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>show</b></center> \ No newline at end of file
diff --git a/application/views/scripts/role/unlinkright.phtml b/application/views/scripts/role/unlinkright.phtml
deleted file mode 100644
index 8c7615d..0000000
--- a/application/views/scripts/role/unlinkright.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<br /><br /><center>View script for controller <b>Role</b> and script/action name <b>unlinkright</b></center> \ No newline at end of file
diff --git a/application/views/scripts/session/createsession.phtml b/application/views/scripts/session/createsession.phtml
deleted file mode 100644
index 11fe7ce..0000000
--- a/application/views/scripts/session/createsession.phtml
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1>create session</h1>
-
-<?php
-echo $this->createsession;
-?>
diff --git a/application/views/scripts/session/deletesession.phtml b/application/views/scripts/session/deletesession.phtml
deleted file mode 100644
index 57f8698..0000000
--- a/application/views/scripts/session/deletesession.phtml
+++ /dev/null
@@ -1 +0,0 @@
-<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
deleted file mode 100644
index 88fb273..0000000
--- a/application/views/scripts/session/editsession.phtml
+++ /dev/null
@@ -1,5 +0,0 @@
-<h1>edit session</h1>
-
-<?php
-echo $this->editsession;
-?>
diff --git a/application/views/scripts/session/index.phtml b/application/views/scripts/session/index.phtml
deleted file mode 100644
index c9f726b..0000000
--- a/application/views/scripts/session/index.phtml
+++ /dev/null
@@ -1,49 +0,0 @@
-<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>