summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/views/scripts/bootiso
diff options
context:
space:
mode:
authormichael pereira2011-03-15 11:35:00 +0100
committermichael pereira2011-03-15 11:35:00 +0100
commit3f9700079f95c7fb715e5c9363e48dce6c7c627f (patch)
tree17fe70fcfbe651a9c52194423a67bac5a9c692e9 /application/modules/dev/views/scripts/bootiso
parentRessource Controller (diff)
parentlinks korrigiert, dev ist nun lauffähig (diff)
downloadpbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.gz
pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.tar.xz
pbs2-3f9700079f95c7fb715e5c9363e48dce6c7c627f.zip
Ressource gelöscht
Diffstat (limited to 'application/modules/dev/views/scripts/bootiso')
-rw-r--r--application/modules/dev/views/scripts/bootiso/createbootiso.phtml4
-rw-r--r--application/modules/dev/views/scripts/bootiso/editbootiso.phtml4
-rw-r--r--application/modules/dev/views/scripts/bootiso/index.phtml58
3 files changed, 66 insertions, 0 deletions
diff --git a/application/modules/dev/views/scripts/bootiso/createbootiso.phtml b/application/modules/dev/views/scripts/bootiso/createbootiso.phtml
new file mode 100644
index 0000000..a5ad609
--- /dev/null
+++ b/application/modules/dev/views/scripts/bootiso/createbootiso.phtml
@@ -0,0 +1,4 @@
+<?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
new file mode 100644
index 0000000..9b04c95
--- /dev/null
+++ b/application/modules/dev/views/scripts/bootiso/editbootiso.phtml
@@ -0,0 +1,4 @@
+<?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
new file mode 100644
index 0000000..b119aff
--- /dev/null
+++ b/application/modules/dev/views/scripts/bootiso/index.phtml
@@ -0,0 +1,58 @@
+<h1>BootISO</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>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(
+ '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>
+
+
+
+
+
+
+