summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/bootos
diff options
context:
space:
mode:
authormichael pereira2011-03-05 18:59:46 +0100
committermichael pereira2011-03-05 18:59:46 +0100
commitaa1aea290b8034e3187a4f223cacb53ea7837a31 (patch)
treefb1140701f4f7acddae9a7790bc91b7a9c253be3 /application/views/scripts/bootos
parentfilter-oberffäche fertig, nun zur auswahl des bootmenus && funktion toArray ... (diff)
downloadpbs2-aa1aea290b8034e3187a4f223cacb53ea7837a31.tar.gz
pbs2-aa1aea290b8034e3187a4f223cacb53ea7837a31.tar.xz
pbs2-aa1aea290b8034e3187a4f223cacb53ea7837a31.zip
BootOS create, edit und delete done
Diffstat (limited to 'application/views/scripts/bootos')
-rw-r--r--application/views/scripts/bootos/editbootos.phtml5
-rw-r--r--application/views/scripts/bootos/index.phtml42
2 files changed, 35 insertions, 12 deletions
diff --git a/application/views/scripts/bootos/editbootos.phtml b/application/views/scripts/bootos/editbootos.phtml
index f36d3d0..43813de 100644
--- a/application/views/scripts/bootos/editbootos.phtml
+++ b/application/views/scripts/bootos/editbootos.phtml
@@ -1 +1,4 @@
-<br /><br /><center>View script for controller <b>Bootos</b> and script/action name <b>editbootos</b></center> \ No newline at end of file
+<?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
index 2fef182..828a8bf 100644
--- a/application/views/scripts/bootos/index.phtml
+++ b/application/views/scripts/bootos/index.phtml
@@ -15,20 +15,40 @@
</tr>
<?php foreach ($this->bootoslist as $bootos): ?>
<tr>
- <td><?php echo $bootos->getID(); ?></td>
- <td><?php echo $bootos->getTitle(); ?></td>
- <td><?php echo $bootos->getGroupID(); ?></td>
- <td><?php echo $bootos->getConfigID(); ?></td>
- <td><?php echo $bootos->getPath_init(); ?></td>
- <td><?php echo $bootos->getPath_kernel(); ?></td>
- <td><?php echo $bootos->getDefaultkcl(); ?></td>
- <td><?php echo $bootos->getDescription(); ?></td>
- <td><?php echo $bootos->getCreated(); ?></td>
- <td><?php echo $bootos->getExpires(); ?></td>
- <td><?php echo $bootos->getPublic(); ?></td>
+ <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->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($bootos->getCreated()); ?></td>
+ <td><?php echo $this->escape($bootos->getExpires()); ?></td>
+ <td><?php echo $this->escape($bootos->getPublic()); ?></td>
+ <td><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'bootos',
+ 'action' => 'editbootos',
+ 'bootosID' => $bootos->getID()
+ ),
+ 'default',
+ true, false) ?>">Edit BootOS</a></td>
+ <td><a href="<?php echo $this->url(
+ array(
+ 'controller' => 'bootos',
+ 'action' => 'deletebootos',
+ 'bootosID' => $bootos->getID()
+ ),
+ 'default',
+ true) ?>">Delete BootOS</a></td>
</tr>
<?php endforeach; ?>
</table>
+<br/>
+<?php echo $this->formButton('createbootos', 'Create BootOS', array(
+ 'onclick' => 'self.location="/bootos/createbootos"'))?>
+