diff options
| author | michael pereira | 2011-03-06 20:12:36 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-06 20:12:36 +0100 |
| commit | 0e017ebdc1edbbf230f0f0160f103c39ef675725 (patch) | |
| tree | e7848e531d30a01145f2f98d8a3189ea6699c54d /application/views | |
| parent | Config fertig (diff) | |
| download | pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.tar.gz pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.tar.xz pbs2-0e017ebdc1edbbf230f0f0160f103c39ef675725.zip | |
datenbank erweitert, BootMenu, Config fertig
Diffstat (limited to 'application/views')
5 files changed, 32 insertions, 32 deletions
diff --git a/application/views/scripts/bootmenu/createbootmenu.phtml b/application/views/scripts/bootmenu/createbootmenu.phtml index 1741819..2d2c2df 100644 --- a/application/views/scripts/bootmenu/createbootmenu.phtml +++ b/application/views/scripts/bootmenu/createbootmenu.phtml @@ -1 +1,4 @@ -<br /><br /><center>View script for controller <b>Bootmenu</b> and script/action name <b>createbootmenu</b></center>
\ No newline at end of file +<?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 index 3274ee4..b7adc4a 100644 --- a/application/views/scripts/bootmenu/editbootmenu.phtml +++ b/application/views/scripts/bootmenu/editbootmenu.phtml @@ -1 +1,4 @@ -<br /><br /><center>View script for controller <b>Bootmenu</b> and script/action name <b>editbootfilter</b></center>
\ No newline at end of file +<?php +$this->editbootmenuForm->setAction($this->url()); +echo $this->editbootmenuForm; +?> diff --git a/application/views/scripts/bootmenu/index.phtml b/application/views/scripts/bootmenu/index.phtml index d09bb34..3f29b9e 100644 --- a/application/views/scripts/bootmenu/index.phtml +++ b/application/views/scripts/bootmenu/index.phtml @@ -1,53 +1,41 @@ -<h1>BootOS</h1> +<h1>BootMenu</h1> <table border=1> <tr> <th>ID</th> <th>Title</th> <th>GroupID</th> - <th>ConfigID</th> - <th>Init</th> - <th>Kernel</th> - <th>Kcl</th> - <th>Description</th> + <th>MembershipID</th> <th>Changed</th> - <th>Expires</th> - <th>Public</th> </tr> - <?php foreach ($this->bootoslist as $bootos): ?> + <?php foreach ($this->bootmenulist as $bootmenu): ?> <tr> - <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(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><?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><a href="<?php echo $this->url( array( - 'controller' => 'bootos', - 'action' => 'editbootos', - 'bootosID' => $bootos->getID() + 'controller' => 'bootmenu', + 'action' => 'editbootmenu', + 'bootmenuID' => $bootmenu->getID() ), 'default', - true, false) ?>">Edit BootOS</a></td> + true, false) ?>">Edit BootMenu</a></td> <td><a href="<?php echo $this->url( array( - 'controller' => 'bootos', - 'action' => 'deletebootos', - 'bootosID' => $bootos->getID() + 'controller' => 'bootmenu', + 'action' => 'deletebootmenu', + 'bootmenuID' => $bootmenu->getID() ), 'default', - true) ?>">Delete BootOS</a></td> + true) ?>">Delete BootMenu</a></td> </tr> <?php endforeach; ?> </table> <br/> -<?php echo $this->formButton('createbootos', 'Create BootOS', array( - 'onclick' => 'self.location="/bootos/createbootos"'))?> +<?php echo $this->formButton('createbootmenu', 'Create BootMenu', array( + 'onclick' => 'self.location="/bootmenu/createbootmenu"'))?> diff --git a/application/views/scripts/bootos/index.phtml b/application/views/scripts/bootos/index.phtml index d09bb34..f7f6e0f 100644 --- a/application/views/scripts/bootos/index.phtml +++ b/application/views/scripts/bootos/index.phtml @@ -4,6 +4,7 @@ <th>ID</th> <th>Title</th> <th>GroupID</th> + <th>MembershipID</th> <th>ConfigID</th> <th>Init</th> <th>Kernel</th> @@ -18,6 +19,7 @@ <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> diff --git a/application/views/scripts/config/index.phtml b/application/views/scripts/config/index.phtml index ea6c381..5348387 100644 --- a/application/views/scripts/config/index.phtml +++ b/application/views/scripts/config/index.phtml @@ -4,14 +4,18 @@ <th>ID</th> <th>Title</th> <th>GroupID</th> + <th>MembershipID</th> <th>Shellscript</th> + <th>Changed</th> </tr> <?php foreach ($this->configlist as $config): ?> <tr> <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><a href="<?php echo $this->url( array( 'controller' => 'config', |
