diff options
Diffstat (limited to 'application/views/scripts/bootos')
| -rw-r--r-- | application/views/scripts/bootos/editbootos.phtml | 5 | ||||
| -rw-r--r-- | application/views/scripts/bootos/index.phtml | 42 |
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"'))?> + |
