diff options
Diffstat (limited to 'application/modules/dev/views')
59 files changed, 0 insertions, 1313 deletions
diff --git a/application/modules/dev/views/scripts/auth/delete.phtml b/application/modules/dev/views/scripts/auth/delete.phtml deleted file mode 100644 index 62bf24e..0000000 --- a/application/modules/dev/views/scripts/auth/delete.phtml +++ /dev/null @@ -1,6 +0,0 @@ -<h1>Delete Account</h1> -Do you really want to delete this account? -<?php -$this->deleteconfirmform->setAction($this->url()); -echo $this->deleteconfirmform; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/auth/login.phtml b/application/modules/dev/views/scripts/auth/login.phtml deleted file mode 100644 index e22bd0b..0000000 --- a/application/modules/dev/views/scripts/auth/login.phtml +++ /dev/null @@ -1,6 +0,0 @@ -<h1>Login</h1> -<?php -$this->loginForm->setAction($this->url()); -echo $this->loginForm; -?> -<div><button onclick="location.href='/dev/auth/recoverpassword'">Recover Password</button></div> diff --git a/application/modules/dev/views/scripts/auth/recoverpassword.phtml b/application/modules/dev/views/scripts/auth/recoverpassword.phtml deleted file mode 100644 index 089aec3..0000000 --- a/application/modules/dev/views/scripts/auth/recoverpassword.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Recover Password</h1> -<?php -$this->recoverPasswordForm->setAction($this->url()); -echo $this->recoverPasswordForm; -?> diff --git a/application/modules/dev/views/scripts/auth/register.phtml b/application/modules/dev/views/scripts/auth/register.phtml deleted file mode 100644 index 74c7df5..0000000 --- a/application/modules/dev/views/scripts/auth/register.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>New Account</h1> -<?php -$this->registerForm->setAction($this->url()); -echo $this->registerForm; -?> diff --git a/application/modules/dev/views/scripts/bootiso/createbootiso.phtml b/application/modules/dev/views/scripts/bootiso/createbootiso.phtml deleted file mode 100644 index a5ad609..0000000 --- a/application/modules/dev/views/scripts/bootiso/createbootiso.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->createbootisoForm->setAction($this->url()); -echo $this->createbootisoForm; -?> diff --git a/application/modules/dev/views/scripts/bootiso/editbootiso.phtml b/application/modules/dev/views/scripts/bootiso/editbootiso.phtml deleted file mode 100644 index 9b04c95..0000000 --- a/application/modules/dev/views/scripts/bootiso/editbootiso.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->editbootisoForm->setAction($this->url()); -echo $this->editbootisoForm; -?> diff --git a/application/modules/dev/views/scripts/bootiso/index.phtml b/application/modules/dev/views/scripts/bootiso/index.phtml deleted file mode 100644 index ada36d6..0000000 --- a/application/modules/dev/views/scripts/bootiso/index.phtml +++ /dev/null @@ -1,66 +0,0 @@ -<h1>BootMedien</h1> -<?php echo $this->formButton('createbootiso', 'Create BootISO', array( - 'onclick' => 'self.location="/dev/bootiso/createbootiso"', - 'class' => 'addbutton'))?> -<table> - <tr> - <th>ID</th> - <th>Title</th> - <th>GroupID</th> - <th>MembershipID</th> - <th>PrebootID</th> - <th>Serialnumber</th> - <th>Created</th> - <th>Expires</th> - <th>Public</th> - <th colspan=3>Actions</th> - </tr> - <?php if(count($this->bootisolist)==0) - echo "</table> There are no BootISO's entries to 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->getPrebootID()) . "] " . $this->prebootlist[$bootiso->getID()]; ?></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( - 'module' => 'dev', - 'controller' => 'bootiso', - 'action' => 'downloadbootiso', - 'prebootID' => $bootiso->getprebootID(), - 'bootisoID' => $bootiso->getID() - ), - 'default', - true, false) ?>"><img src='/media/img/download.png' alt='Download BootMedium' /></a></td> - <td class='action'><a href="<?php echo $this->url( - array( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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/modules/dev/views/scripts/bootmenu/addbootmenuentry.phtml b/application/modules/dev/views/scripts/bootmenu/addbootmenuentry.phtml deleted file mode 100644 index 914cc9c..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/bootmenu/createbootmenu.phtml b/application/modules/dev/views/scripts/bootmenu/createbootmenu.phtml deleted file mode 100644 index 2d2c2df..0000000 --- a/application/modules/dev/views/scripts/bootmenu/createbootmenu.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->createbootmenuForm->setAction($this->url()); -echo $this->createbootmenuForm; -?> diff --git a/application/modules/dev/views/scripts/bootmenu/editbootmenu.phtml b/application/modules/dev/views/scripts/bootmenu/editbootmenu.phtml deleted file mode 100644 index b7adc4a..0000000 --- a/application/modules/dev/views/scripts/bootmenu/editbootmenu.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->editbootmenuForm->setAction($this->url()); -echo $this->editbootmenuForm; -?> diff --git a/application/modules/dev/views/scripts/bootmenu/editbootmenuentry.phtml b/application/modules/dev/views/scripts/bootmenu/editbootmenuentry.phtml deleted file mode 100644 index 5680d65..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/bootmenu/index.phtml b/application/modules/dev/views/scripts/bootmenu/index.phtml deleted file mode 100644 index 3eb3b0c..0000000 --- a/application/modules/dev/views/scripts/bootmenu/index.phtml +++ /dev/null @@ -1,134 +0,0 @@ -<h1>BootMenu</h1> -<?php echo $this->formButton('createbootmenu', 'Create BootMenu', array( - 'onclick' => 'self.location="/dev/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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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>kclappend</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="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'resource', - 'action' => 'getbootmenuentry', - 'bootmenuentryID' => $bootmenuentry->getID(), - 'bootosID' => $bootmenuentry->getBootosID(), - 'alpha' => $_SESSION['alphasessionID'] - ), - 'default', - true, false) ?>"><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->getKclappend()); ?></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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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/modules/dev/views/scripts/bootos/createbootos.phtml b/application/modules/dev/views/scripts/bootos/createbootos.phtml deleted file mode 100644 index 3d35695..0000000 --- a/application/modules/dev/views/scripts/bootos/createbootos.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->createbootosForm->setAction($this->url()); -echo $this->createbootosForm; -?> diff --git a/application/modules/dev/views/scripts/bootos/editbootos.phtml b/application/modules/dev/views/scripts/bootos/editbootos.phtml deleted file mode 100644 index 43813de..0000000 --- a/application/modules/dev/views/scripts/bootos/editbootos.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->editbootosForm->setAction($this->url()); -echo $this->editbootosForm; -?> diff --git a/application/modules/dev/views/scripts/bootos/index.phtml b/application/modules/dev/views/scripts/bootos/index.phtml deleted file mode 100644 index 2f7f86f..0000000 --- a/application/modules/dev/views/scripts/bootos/index.phtml +++ /dev/null @@ -1,80 +0,0 @@ -<h1>BootOS</h1> -<?php echo $this->formButton('createbootos', 'Create BootOS', array( - 'onclick' => 'self.location="/dev/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=3>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> - <?php if($this->update[$bootos->getID()]==true): ?> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'bootos', - 'action' => 'updatebootos', - 'bootosID' => $bootos->getID() - ), - 'default', - true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> - <?php else: ?> - <td class='action'><img src='/media/img/update_grey.png' alt='No updates available' /></td> - <?php endif; ?> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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/modules/dev/views/scripts/client/addclient.phtml b/application/modules/dev/views/scripts/client/addclient.phtml deleted file mode 100644 index e5b0bcf..0000000 --- a/application/modules/dev/views/scripts/client/addclient.phtml +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -echo $this->addclient; diff --git a/application/modules/dev/views/scripts/client/editclient.phtml b/application/modules/dev/views/scripts/client/editclient.phtml deleted file mode 100644 index 94d6b34..0000000 --- a/application/modules/dev/views/scripts/client/editclient.phtml +++ /dev/null @@ -1,3 +0,0 @@ -<?php - -echo $this->editclient; diff --git a/application/modules/dev/views/scripts/client/index.phtml b/application/modules/dev/views/scripts/client/index.phtml deleted file mode 100644 index 612e23b..0000000 --- a/application/modules/dev/views/scripts/client/index.phtml +++ /dev/null @@ -1,48 +0,0 @@ -<h1>Clients</h1> -<?php echo $this->formButton('createbootos', 'Create Client', array( - 'onclick' => 'self.location="/dev/client/addclient"', - 'class' => 'addbutton'))?> - -<?php if ($this->clients): ?> - <table> - <tr> - <th>ID</th> - <th>GroupID</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><?php echo $this->escape($client->getGroupID()) ?></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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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/modules/dev/views/scripts/client/removeclient.phtml b/application/modules/dev/views/scripts/client/removeclient.phtml deleted file mode 100644 index 7b5f64f..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/config/createconfig.phtml b/application/modules/dev/views/scripts/config/createconfig.phtml deleted file mode 100644 index e6edf7b..0000000 --- a/application/modules/dev/views/scripts/config/createconfig.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->createconfigForm->setAction($this->url()); -echo $this->createconfigForm; -?> diff --git a/application/modules/dev/views/scripts/config/editconfig.phtml b/application/modules/dev/views/scripts/config/editconfig.phtml deleted file mode 100644 index 4971f2e..0000000 --- a/application/modules/dev/views/scripts/config/editconfig.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->editconfigForm->setAction($this->url()); -echo $this->editconfigForm; -?> diff --git a/application/modules/dev/views/scripts/config/index.phtml b/application/modules/dev/views/scripts/config/index.phtml deleted file mode 100644 index 2191f6a..0000000 --- a/application/modules/dev/views/scripts/config/index.phtml +++ /dev/null @@ -1,52 +0,0 @@ -<h1>Config</h1> -<?php echo $this->formButton('createconfig', 'Create Config', array( - 'onclick' => 'self.location="/dev/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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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/modules/dev/views/scripts/error/error.phtml b/application/modules/dev/views/scripts/error/error.phtml deleted file mode 100644 index 1997506..0000000 --- a/application/modules/dev/views/scripts/error/error.phtml +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>Zend Framework Default Application</title> -</head> -<body> - <h1>An error occurred</h1> - <h2><?php echo $this->message ?></h2> - - <?php if (isset($this->exception)): ?> - - <h3>Exception information:</h3> - <p> - <b>Message:</b> <?php echo $this->exception->getMessage() ?> - </p> - - <h3>Stack trace:</h3> - <pre><?php echo $this->exception->getTraceAsString() ?> - </pre> - - <h3>Request Parameters:</h3> - <pre><?php echo var_export($this->request->getParams(), true) ?> - </pre> - <?php endif ?> - -</body> -</html> diff --git a/application/modules/dev/views/scripts/filter/addfilter.phtml b/application/modules/dev/views/scripts/filter/addfilter.phtml deleted file mode 100644 index 40b4ccf..0000000 --- a/application/modules/dev/views/scripts/filter/addfilter.phtml +++ /dev/null @@ -1,3 +0,0 @@ -<?php -#$this->addfilterform->setAction($this->url()); -echo $this->addfilterform; diff --git a/application/modules/dev/views/scripts/filter/addfilterentry.phtml b/application/modules/dev/views/scripts/filter/addfilterentry.phtml deleted file mode 100644 index 8bf501a..0000000 --- a/application/modules/dev/views/scripts/filter/addfilterentry.phtml +++ /dev/null @@ -1,3 +0,0 @@ -<?php -$this->editfilterform->setAction($this->url()); -echo $this->editfilterform; diff --git a/application/modules/dev/views/scripts/filter/editfilter.phtml b/application/modules/dev/views/scripts/filter/editfilter.phtml deleted file mode 100644 index 8bc38f7..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/filter/editfilterentry.phtml b/application/modules/dev/views/scripts/filter/editfilterentry.phtml deleted file mode 100644 index 038f16a..0000000 --- a/application/modules/dev/views/scripts/filter/editfilterentry.phtml +++ /dev/null @@ -1,2 +0,0 @@ -<?php -echo $this->editfilterform; diff --git a/application/modules/dev/views/scripts/filter/evaluate.phtml b/application/modules/dev/views/scripts/filter/evaluate.phtml deleted file mode 100644 index e69de29..0000000 --- a/application/modules/dev/views/scripts/filter/evaluate.phtml +++ /dev/null diff --git a/application/modules/dev/views/scripts/filter/index.phtml b/application/modules/dev/views/scripts/filter/index.phtml deleted file mode 100644 index fd46cd7..0000000 --- a/application/modules/dev/views/scripts/filter/index.phtml +++ /dev/null @@ -1,122 +0,0 @@ -<h1>Filters</h1> -<?php echo $this->formButton('createconfig', 'Create Filter', array( - 'onclick' => 'self.location="/dev/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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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(array('filterID' => $filter->getID()),true); - ?> - <?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( - 'module' => 'dev', - 'controller' => 'filter', - 'action' => 'editfilterentry', - 'filterentriesID' => $filterentry['filterentriesID'] - ), - 'default', - true) ?>"><img src='/media/img/edit.png' alt='Edit Filterentry'/></a></td> - <td class='action'><a href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'filter', - 'action' => 'removefilterentry', - 'filterentriesID' => $filterentry['filterentriesID'] - ), - 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete Filterentry'/></a></td> - </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="/dev/filter/testevaluate"', - 'class' => 'addbutton'))?> diff --git a/application/modules/dev/views/scripts/filter/testevaluate.phtml b/application/modules/dev/views/scripts/filter/testevaluate.phtml deleted file mode 100644 index 8a10629..0000000 --- a/application/modules/dev/views/scripts/filter/testevaluate.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<h1>Test Filters</h1> - -<?php -echo $this->filterevaluate; diff --git a/application/modules/dev/views/scripts/group/add.phtml b/application/modules/dev/views/scripts/group/add.phtml deleted file mode 100644 index 588ce31..0000000 --- a/application/modules/dev/views/scripts/group/add.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Add Group</h1> -<?php -$this->addForm->setAction($this->url()); -echo $this->addForm; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/group/edit.phtml b/application/modules/dev/views/scripts/group/edit.phtml deleted file mode 100644 index 6b042e1..0000000 --- a/application/modules/dev/views/scripts/group/edit.phtml +++ /dev/null @@ -1,11 +0,0 @@ -<h1>Edit Group</h1> -<?php -if(isset($this->addForm)) { - $this->addForm->setAction('/dev/group/add'); - echo $this->addForm; -} -else { - $this->editForm->setAction($this->url()); - echo $this->editForm; -} -?> diff --git a/application/modules/dev/views/scripts/group/index.phtml b/application/modules/dev/views/scripts/group/index.phtml deleted file mode 100644 index a3d1269..0000000 --- a/application/modules/dev/views/scripts/group/index.phtml +++ /dev/null @@ -1,57 +0,0 @@ -<h1>Groups</h1> -<?php echo $this->formButton('addgroup', 'Add Group', array( - 'onclick' => 'self.location="/dev/group/add"', - 'class' => 'addbutton'))?> -<table> - <tr> - <th>Title</th> - <th colspan=3>Actions</th> - </tr> - <?php - $count = 0; - foreach($this->groupList as $group) { - ?> - <tr class="entry"> - <td><?php echo $group->getTitle(); ?></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'group', - 'action' => 'show', - 'groupID' => $group->getID() - ), - 'default', - true) ?>"> <img src='/media/img/show.png' alt='Show Group' /></a></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'group', - 'action' => 'edit', - 'groupID' => $group->getID() - ), - 'default', - true) ?>"> <img src='/media/img/edit.png' alt='Edit Group' /></a></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'group', - 'action' => 'delete', - 'groupID' => $group->getID() - ), - 'default', - true) ?>"> <img src='/media/img/delete.png' alt='Delete Group' /></a> - </td> - </tr> - <?php - $count++; - } - ?> -</table> -<div> -<?php echo $this->formButton('linkgroups', 'Link Groups', array( - 'onclick' => 'self.location="/dev/group/link"', - 'class' => 'addbutton'))?> -</div> diff --git a/application/modules/dev/views/scripts/group/link.phtml b/application/modules/dev/views/scripts/group/link.phtml deleted file mode 100644 index 5bb2a9d..0000000 --- a/application/modules/dev/views/scripts/group/link.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Link Groups</h1> -<?php -$this->linkForm->setAction($this->url()); -echo $this->linkForm; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/group/show.phtml b/application/modules/dev/views/scripts/group/show.phtml deleted file mode 100644 index f8fbe1e..0000000 --- a/application/modules/dev/views/scripts/group/show.phtml +++ /dev/null @@ -1,123 +0,0 @@ -<h1>Group Details</h1> -<?php -if($this->groupID) { - ?> - <?php echo $this->formButton('deletegroup', 'Delete', array( - 'onclick' => 'self.location="/dev/group/delete/groupID/' . $this->group->getID() .'"', - 'class' => 'rightbutton'))?> - <?php echo $this->formButton('editgroup', 'Edit', array( - 'onclick' => 'self.location="/dev/group/edit/groupID/' . $this->group->getID() .'"', - 'class' => 'rightbutton'))?> -<span class="clear"></span> -<table> - <tr> - <th>Title</th> - <th>Description</th> - </tr> - <tr class="entry"> - <td><?php echo $this->group->getTitle(); ?></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 /> -<h2>Requests:</h2> -<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 class="entry"> - <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="/dev/group/grantperson" method="post"><input - type="hidden" name="grouprequestID" - value="<?php echo $grouprequestID; ?>" /> <?php printRoleSelect($this->roleList); ?> - <input type="image" src='/media/img/save.png' alt='Grant Person' - name="confirm" value="confirm" /></form> - </td> - </tr> - <?php - } - ?> -</table> - <?php - } - if(isset($this->membersList)) { - ?> -<br /> -<h2>Members:</h2> -<table> - <tr> - <th>Firstname</th> - <th>Name</th> - <th>email</th> - <th>city</th> - <th>revoke</th> - </tr> - - <?php - foreach($this->membersList as $member) { - $membershipID = $member['membershipID']; - $person = $member['person']; - ?> - <tr class="entry"> - <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 class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'group', - 'action' => 'revokeperson', - 'membershipID' => $membershipID, - ), - 'default', - true) ?>"> <img src='/media/img/delete.png' alt='Delete Group' /></a> - </td> - </tr> - <?php - } - ?> -</table> - <?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>"; -} -?> -<br /><br /><br /><br /><br />
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/index/index.phtml b/application/modules/dev/views/scripts/index/index.phtml deleted file mode 100644 index 57e6edb..0000000 --- a/application/modules/dev/views/scripts/index/index.phtml +++ /dev/null @@ -1 +0,0 @@ -<h1>Welcome</h1> diff --git a/application/modules/dev/views/scripts/person/edit.phtml b/application/modules/dev/views/scripts/person/edit.phtml deleted file mode 100644 index 3e666d4..0000000 --- a/application/modules/dev/views/scripts/person/edit.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Edit Person</h1> -<?php -$this->editForm->setAction($this->url()); -echo $this->editForm; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/person/request.phtml b/application/modules/dev/views/scripts/person/request.phtml deleted file mode 100644 index 91a625b..0000000 --- a/application/modules/dev/views/scripts/person/request.phtml +++ /dev/null @@ -1,7 +0,0 @@ -<h1>Request Membership</h1> -<?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/modules/dev/views/scripts/person/show.phtml b/application/modules/dev/views/scripts/person/show.phtml deleted file mode 100644 index b0c6fc1..0000000 --- a/application/modules/dev/views/scripts/person/show.phtml +++ /dev/null @@ -1,55 +0,0 @@ -<h1>Person</h1> -<?php echo $this->formButton('editperson', 'Edit', array( - 'onclick' => 'self.location="/dev/person/edit/"', - 'class' => 'rightbutton'))?> -<br /><br /> -<div class="personColorDiv"><span class="bold">Title:</span> <?php echo $this->person->getTitle(); ?></div> -<div class="personDiv"><span class="bold">Name:</span> <?php echo $this->person->getName(); ?></div> -<div class="personColorDiv"><span class="bold">Firstname:</span> <?php echo $this->person->getFirstname(); ?></div> -<div class="personDiv"><span class="bold">Street:</span> <?php echo $this->person->getStreet(); ?></div> -<div class="personColorDiv"><span class="bold">Housenumber:</span> <?php echo $this->person->getHousenumber(); ?></div> -<div class="personDiv"><span class="bold">City:</span> <?php echo $this->person->getCity(); ?></div> -<div class="personColorDiv"><span class="bold">Postalcode:</span> <?php echo $this->person->getPostalcode(); ?></div> -<div class="personDiv"><span class="bold">Email:</span> <?php echo $this->person->getEmail(); ?></div> -<div class="personColorDiv"><span class="bold">Last Login Date:</span> <?php if( $this->person->getLogindate()) echo date ('d. F Y - H:i', $this->person->getLogindate()) . " Uhr"; ?></div> -<div class="personDiv"><span class="bold">Register Date:</span> <?php echo date ('d. F Y - H:i', $this->person->getRegisterdate()) . ' Uhr'; ?></div> -<?php -if(isset($this->groups)) { - ?> -<br /> -<h2>Member in the following Groups:</h2> -<table> -<?php -foreach($this->groups as $group) { - ?> - <tr> - <th>Title</th> - <th>Description</th> - <th>Leave</th> - </tr> - <tr> - <td><?php echo $group['title']; ?></td> - <td><?php echo $group['description']; ?></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'person', - 'action' => 'leave', - 'membershipID' => $group['membershipID'] - ), - 'default', - true) ?>"> <img src='/media/img/delete.png' alt='Delete Group' /></a> - </td> - </tr> - <?php -} -} -?> -</table> -<?php echo $this->formButton('addtogroup', 'Add to additional -Groups', array( - 'onclick' => 'self.location="/dev/person/request/"', - 'class' => 'addbutton')); -?> -<br /><br /><br /><br /><br />
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/pool/createpool.phtml b/application/modules/dev/views/scripts/pool/createpool.phtml deleted file mode 100644 index 305b36e..0000000 --- a/application/modules/dev/views/scripts/pool/createpool.phtml +++ /dev/null @@ -1,2 +0,0 @@ -<?php -echo $this->addpool; diff --git a/application/modules/dev/views/scripts/pool/deletepool.phtml b/application/modules/dev/views/scripts/pool/deletepool.phtml deleted file mode 100644 index 622e663..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/pool/editpool.phtml b/application/modules/dev/views/scripts/pool/editpool.phtml deleted file mode 100644 index 359a5f9..0000000 --- a/application/modules/dev/views/scripts/pool/editpool.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<h1>Edit Pool</h1> -<?php - -echo $this->editpoolform; diff --git a/application/modules/dev/views/scripts/pool/index.phtml b/application/modules/dev/views/scripts/pool/index.phtml deleted file mode 100644 index cd49048..0000000 --- a/application/modules/dev/views/scripts/pool/index.phtml +++ /dev/null @@ -1,131 +0,0 @@ -<h1>Pools</h1> -<?php echo $this->formButton('createconfig', 'Create Pool', array( - 'onclick' => 'self.location="/dev/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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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(array('poolID' => $pool->getID()),true); - ?> - <?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( - 'module' => 'dev', - '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( - 'module' => 'dev', - '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/modules/dev/views/scripts/pool/linkclient.phtml b/application/modules/dev/views/scripts/pool/linkclient.phtml deleted file mode 100644 index cbd2dd4..0000000 --- a/application/modules/dev/views/scripts/pool/linkclient.phtml +++ /dev/null @@ -1,3 +0,0 @@ -<h1>Link Clients</h1> -<?php -echo $this->poolclient; diff --git a/application/modules/dev/views/scripts/pool/unlinkclient.phtml b/application/modules/dev/views/scripts/pool/unlinkclient.phtml deleted file mode 100644 index 35aa9c5..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/preboot/createpreboot.phtml b/application/modules/dev/views/scripts/preboot/createpreboot.phtml deleted file mode 100644 index 19d1595..0000000 --- a/application/modules/dev/views/scripts/preboot/createpreboot.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->createprebootForm->setAction($this->url()); -echo $this->createprebootForm; -?> diff --git a/application/modules/dev/views/scripts/preboot/editpreboot.phtml b/application/modules/dev/views/scripts/preboot/editpreboot.phtml deleted file mode 100644 index a8f9c42..0000000 --- a/application/modules/dev/views/scripts/preboot/editpreboot.phtml +++ /dev/null @@ -1,4 +0,0 @@ -<?php -$this->editprebootForm->setAction($this->url()); -echo $this->editprebootForm; -?> diff --git a/application/modules/dev/views/scripts/preboot/index.phtml b/application/modules/dev/views/scripts/preboot/index.phtml deleted file mode 100644 index eec8f1b..0000000 --- a/application/modules/dev/views/scripts/preboot/index.phtml +++ /dev/null @@ -1,57 +0,0 @@ -<h1>Preboot</h1> -<?php echo $this->formButton('createpreboot', 'Create PreBoot', array( - 'onclick' => 'self.location="/dev/preboot/createpreboot"', - 'class' => 'addbutton'))?> - -<table> - <tr> - <th>ID</th> - <th>Title</th> - <th>GroupID</th> - <th>MembershipID</th> - <th>Preboot Path</th> - <th colspan=3>Actions</th> - </tr> - <?php if(count($this->prebootlist)==0) - echo "</table> There are no Preboot entries to display." ?> - <?php foreach ($this->prebootlist as $preboot): ?> - <tr class=entry> - <td><?php echo $this->escape($preboot->getID()); ?></td> - <td><?php echo $this->escape($preboot->getTitle()); ?></td> - <td><?php echo $this->escape($preboot->getGroupID()); ?></td> - <td><?php echo $this->escape($preboot->getMembershipID()); ?></td> - <td><?php echo $this->escape($preboot->getPath_preboot()); ?></td> - <?php if($this->update[$preboot->getID()]==true): ?> - <td class='action'><a href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'preboot', - 'action' => 'updatepreboot', - 'prebootID' => $preboot->getID() - ), - 'default', - true, false) ?>"><img src='/media/img/update.png' alt='Updates available' /></a></td> - <?php else: ?> - <td class='action'><img src='/media/img/update_grey.png' alt='No updates available' /></td> - <?php endif; ?> - <td class='action'><a href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'preboot', - 'action' => 'editpreboot', - 'prebootID' => $preboot->getID() - ), - 'default', - true, false) ?>"><img src='/media/img/edit.png' alt='Edit Preboot' /></a></td> - <td class='action'><a href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'preboot', - 'action' => 'deletepreboot', - 'prebootID' => $preboot->getID() - ), - 'default', - true) ?>"><img src='/media/img/delete.png' alt='Delete Preboot'/></a></td> - </tr> - <?php endforeach; ?> -</table>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/resource/index.phtml b/application/modules/dev/views/scripts/resource/index.phtml deleted file mode 100644 index e69de29..0000000 --- a/application/modules/dev/views/scripts/resource/index.phtml +++ /dev/null diff --git a/application/modules/dev/views/scripts/role/add.phtml b/application/modules/dev/views/scripts/role/add.phtml deleted file mode 100644 index 23d4c55..0000000 --- a/application/modules/dev/views/scripts/role/add.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Add Role</h1> -<?php -$this->addForm->setAction($this->url()); -echo $this->addForm; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/role/edit.phtml b/application/modules/dev/views/scripts/role/edit.phtml deleted file mode 100644 index 59482f0..0000000 --- a/application/modules/dev/views/scripts/role/edit.phtml +++ /dev/null @@ -1,11 +0,0 @@ -<h1>Edit Role</h1> -<?php -if(isset($this->addForm)) { - $this->addForm->setAction('/etc/role/add'); - echo $this->addForm; -} -else { - $this->editForm->setAction($this->url()); - echo $this->editForm; -} -?> diff --git a/application/modules/dev/views/scripts/role/groupselect.phtml b/application/modules/dev/views/scripts/role/groupselect.phtml deleted file mode 100644 index d1c08fd..0000000 --- a/application/modules/dev/views/scripts/role/groupselect.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Select Group</h1> -<?php -$this->groupSelectForm->setAction($this->url()); -echo $this->groupSelectForm; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/role/index.phtml b/application/modules/dev/views/scripts/role/index.phtml deleted file mode 100644 index 59b66d7..0000000 --- a/application/modules/dev/views/scripts/role/index.phtml +++ /dev/null @@ -1,61 +0,0 @@ -<?php -if($this->groupID) { - ?> -<h1>Roles</h1> - <?php echo $this->formButton('addrole', 'Add Role', array( - 'onclick' => 'self.location="/dev/role/add"', - 'class' => 'addbutton'))?> -<table> - <tr> - <th>Title</th> - <th colspan=3>Actions</th> - </tr> - <?php - $count = 0; - foreach($this->roleList as $role) { - ?> - <tr class="entry"> - <td><?php echo $role['title'] ?></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'role', - 'action' => 'show', - 'roleID' => $role['roleID'] - ), - 'default', - true) ?>"> <img src='/media/img/show.png' alt='Show Group' /></a></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'role', - 'action' => 'edit', - 'roleID' => $role['roleID'] - ), - 'default', - true) ?>"> <img src='/media/img/edit.png' alt='Edit Group' /></a></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'role', - 'action' => 'delete', - 'roleID' => $role['roleID'] - ), - 'default', - true) ?>"> <img src='/media/img/delete.png' alt='Delete Group' /></a> - </td> - </tr> - <?php - $count++; - } - ?> -</table> -<?php echo $this->formButton('changeGroup', 'Change Group', array( - 'onclick' => 'self.location="/dev/role/changegroup"', - 'class' => 'rightbutton'))?> -<?php -} -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/role/linkright.phtml b/application/modules/dev/views/scripts/role/linkright.phtml deleted file mode 100644 index 38c0d45..0000000 --- a/application/modules/dev/views/scripts/role/linkright.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<h1>Add Right</h1> -<?php -$this->linkForm->setAction($this->url()); -echo $this->linkForm; -?>
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/role/show.phtml b/application/modules/dev/views/scripts/role/show.phtml deleted file mode 100644 index 38e6023..0000000 --- a/application/modules/dev/views/scripts/role/show.phtml +++ /dev/null @@ -1,69 +0,0 @@ -<h1>Role Details</h1> -<?php -if($this->roleID) { - ?> - <?php echo $this->formButton('deleterole', 'Delete', array( - 'onclick' => 'self.location="/dev/role/delete/roleID/' . $this->role->getID() .'"', - 'class' => 'rightbutton'))?> - <?php echo $this->formButton('editrole', 'Edit', array( - 'onclick' => 'self.location="/dev/role/edit/roleID/' . $this->role->getID() .'"', - 'class' => 'rightbutton'))?> -<span class="clear"></span> -<table> - <tr> - <th>Title</th> - <th>Description</th> - <th>Inheritance</th> - </tr> - <tr class="entry"> - <td><?php echo $this->role->getTitle(); ?></td> - <td><?php echo $this->role->getDescription(); ?></td> - <td><?php if($this->role->getInheritance() == 1) echo "yes"; else echo "no"; ?></td> - </tr> -</table> -<br /> -<h2>Rights:</h2> - <?php echo $this->formButton('linkright', 'Add Right', array( - 'onclick' => 'self.location="/dev/role/linkright/roleID/' . $this->role->getID() .'"', - 'class' => 'addbutton'))?> - <?php if(isset($this->rightsList)) { - ?> -<table> - <tr> - <th>Title</th> - <th>Description</th> - <th>Remove</th> - </tr> - - <?php - foreach($this->rightsList as $right) { - ?> - <tr class="entry"> - <td><?php echo $right->getTitle(); ?></td> - <td><?php echo $right->getDescription(); ?></td> - <td class='action'><a - href="<?php echo $this->url( - array( - 'module' => 'dev', - 'controller' => 'role', - 'action' => 'unlinkright', - 'rightrolesID' => $this->roleID . '-' . $right->getID(), - ), - 'default', - true) ?>"> <img src='/media/img/delete.png' alt='Remove Right' /></a> - </td> - </tr> - <?php - } - ?> -</table> - <?php - } else { - ?> -<br /> -<center> -<h3>No Rights have been added!</h3> -</center> - <?php - } -}
\ No newline at end of file diff --git a/application/modules/dev/views/scripts/session/createsession.phtml b/application/modules/dev/views/scripts/session/createsession.phtml deleted file mode 100644 index 11fe7ce..0000000 --- a/application/modules/dev/views/scripts/session/createsession.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<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 deleted file mode 100644 index 57f8698..0000000 --- a/application/modules/dev/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/modules/dev/views/scripts/session/editsession.phtml b/application/modules/dev/views/scripts/session/editsession.phtml deleted file mode 100644 index 88fb273..0000000 --- a/application/modules/dev/views/scripts/session/editsession.phtml +++ /dev/null @@ -1,5 +0,0 @@ -<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 deleted file mode 100644 index 32f9ae9..0000000 --- a/application/modules/dev/views/scripts/session/index.phtml +++ /dev/null @@ -1,51 +0,0 @@ -<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> |
