summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
-rw-r--r--application/modules/user/forms/Preboot.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php
index cc437c5..2b8ccff 100644
--- a/application/modules/user/forms/Preboot.php
+++ b/application/modules/user/forms/Preboot.php
@@ -5,14 +5,17 @@ class user_Form_Preboot extends Zend_Form
private $action;
private $rights;
+ private $page;
public function setRights($rights){
$this->rights = $rights;
}
public function setAction($action){
- $this->action = $action;
-
+ $this->action = $action;
}
+ public function setPage($p){
+ $this->page = $p;
+ }
public function init()
{
@@ -53,8 +56,8 @@ class user_Form_Preboot extends Zend_Form
'label' => $label,
));
- $this->addElement('button', 'Cancel', array(
- 'onclick' => 'self.location="/user/preboot"'
+ $this->addElement('button', 'Cancel', array(
+ 'onclick' => 'self.location="/user/preboot/index/page/'.$this->page.'"'
));
}