diff options
| author | michael pereira | 2011-03-06 14:03:34 +0100 |
|---|---|---|
| committer | michael pereira | 2011-03-06 14:03:34 +0100 |
| commit | 7c96b41efeaa4da9be04df54e9bc19520e29a880 (patch) | |
| tree | b860371a166fa7ddd4fa1b8ea7b278a77433b1d5 /application | |
| parent | sql-files aufgeräumt && filter geändert (diff) | |
| download | pbs2-7c96b41efeaa4da9be04df54e9bc19520e29a880.tar.gz pbs2-7c96b41efeaa4da9be04df54e9bc19520e29a880.tar.xz pbs2-7c96b41efeaa4da9be04df54e9bc19520e29a880.zip | |
zfproject angepasst
Diffstat (limited to 'application')
| -rw-r--r-- | application/controllers/BootmenuController.php | 42 | ||||
| -rw-r--r-- | application/controllers/ConfigController.php | 21 | ||||
| -rw-r--r-- | application/forms/ConfigCreate.php | 13 | ||||
| -rw-r--r-- | application/views/scripts/auth/recoverPassword.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/bootmenu/editbootmenu.phtml | 1 | ||||
| -rw-r--r-- | application/views/scripts/config/createconfig.phtml | 2 | ||||
| -rw-r--r-- | application/views/scripts/config/editconfig.phtml | 2 | ||||
| -rw-r--r-- | application/views/scripts/config/index.phtml | 38 |
8 files changed, 92 insertions, 28 deletions
diff --git a/application/controllers/BootmenuController.php b/application/controllers/BootmenuController.php index b365dc9..20f471e 100644 --- a/application/controllers/BootmenuController.php +++ b/application/controllers/BootmenuController.php @@ -13,6 +13,48 @@ class BootmenuController extends Zend_Controller_Action // action body } + public function addbootmenuentryAction() + { + // action body + } + + public function createbootmenuAction() + { + // action body + } + + public function editbootmenuAction() + { + // action body + } + + public function editbootmenuentryAction() + { + // action body + } + + public function removebootmenuentryAction() + { + // action body + } + + public function deletebootmenuAction() + { + // action body + } + } + + + + + + + + + + + + diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index 4413ee7..61d58f1 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -13,6 +13,27 @@ class ConfigController extends Zend_Controller_Action // action body } + public function createconfigAction() + { + // action body + } + + public function editconfigAction() + { + // action body + } + + public function deleteconfigAction() + { + // action body + } + } + + + + + + diff --git a/application/forms/ConfigCreate.php b/application/forms/ConfigCreate.php new file mode 100644 index 0000000..2c9516d --- /dev/null +++ b/application/forms/ConfigCreate.php @@ -0,0 +1,13 @@ +<?php + +class Application_Form_ConfigAdd extends Zend_Form +{ + + public function init() + { + /* Form Elements & Other Definitions Here ... */ + } + + +} + diff --git a/application/views/scripts/auth/recoverPassword.phtml b/application/views/scripts/auth/recoverPassword.phtml new file mode 100644 index 0000000..e133420 --- /dev/null +++ b/application/views/scripts/auth/recoverPassword.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Auth</b> and script/action name <b>recoverPassword</b></center>
\ No newline at end of file diff --git a/application/views/scripts/bootmenu/editbootmenu.phtml b/application/views/scripts/bootmenu/editbootmenu.phtml new file mode 100644 index 0000000..3274ee4 --- /dev/null +++ b/application/views/scripts/bootmenu/editbootmenu.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Bootmenu</b> and script/action name <b>editbootfilter</b></center>
\ No newline at end of file diff --git a/application/views/scripts/config/createconfig.phtml b/application/views/scripts/config/createconfig.phtml index 4b30490..5b92915 100644 --- a/application/views/scripts/config/createconfig.phtml +++ b/application/views/scripts/config/createconfig.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>config</b> and script/action name <b>createconfig</b></center>
\ No newline at end of file +<br /><br /><center>View script for controller <b>Config</b> and script/action name <b>createconfig</b></center>
\ No newline at end of file diff --git a/application/views/scripts/config/editconfig.phtml b/application/views/scripts/config/editconfig.phtml index c1c0d06..0e002b7 100644 --- a/application/views/scripts/config/editconfig.phtml +++ b/application/views/scripts/config/editconfig.phtml @@ -1 +1 @@ -<br /><br /><center>View script for controller <b>config</b> and script/action name <b>editconfig</b></center>
\ No newline at end of file +<br /><br /><center>View script for controller <b>Config</b> and script/action name <b>editconfig</b></center>
\ No newline at end of file diff --git a/application/views/scripts/config/index.phtml b/application/views/scripts/config/index.phtml index d404906..a91cb9c 100644 --- a/application/views/scripts/config/index.phtml +++ b/application/views/scripts/config/index.phtml @@ -4,40 +4,26 @@ <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>Changed</th> - <th>Expires</th> - <th>Public</th> + <th>Shellscript</th> </tr> - <?php foreach ($this->bootoslist as $bootos): ?> + <?php foreach ($this->configlist as $config): ?> <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($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->getShellscript()); ?></td> <td><a href="<?php echo $this->url( array( - 'controller' => 'bootos', - 'action' => 'editbootos', - 'bootosID' => $bootos->getID() + 'controller' => 'config', + 'action' => 'editconfig', + 'configID' => $config->getID() ), 'default', - true, false) ?>">Edit BootOS</a></td> + true, false) ?>">Edit Config</a></td> <td><a href="<?php echo $this->url( array( - 'controller' => 'bootos', - 'action' => 'deletebootos', + 'controller' => 'config', + 'action' => 'deleteconfig', 'bootosID' => $bootos->getID() ), 'default', |
