summaryrefslogtreecommitdiffstats
path: root/application/modules/user
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user')
-rw-r--r--application/modules/user/controllers/PrebootController.php4
-rw-r--r--application/modules/user/forms/Preboot.php5
2 files changed, 6 insertions, 3 deletions
diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php
index f462b27..a22ae18 100644
--- a/application/modules/user/controllers/PrebootController.php
+++ b/application/modules/user/controllers/PrebootController.php
@@ -106,8 +106,6 @@ class User_PrebootController extends Zend_Controller_Action {
$preboottypeMapper = new Application_Model_PreBootTypeMapper();
$preboottype = $preboottypeMapper->fetchAll();
-
- print_a($preboottype);
if (!isset($_POST["createpreboot"])) {
$prebootForm = new user_Form_Preboot(array(
@@ -159,7 +157,7 @@ class User_PrebootController extends Zend_Controller_Action {
}
}
- // $this->view->prebootForm = $prebootForm;
+ $this->view->prebootForm = $prebootForm;
}
public function editprebootAction() {
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php
index cff3e26..40af4fc 100644
--- a/application/modules/user/forms/Preboot.php
+++ b/application/modules/user/forms/Preboot.php
@@ -21,7 +21,12 @@ class user_Form_Preboot extends Zend_Form {
}
public function setPage($p) {
$this->page = $p;
+ }
+ public function setPreboottype($pt) {
+ $this->preboottype = $pt;
}
+
+
public function init() {
$this->setName($this->action);