summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
authormichael pereira2011-04-01 16:51:07 +0200
committermichael pereira2011-04-01 16:51:07 +0200
commit0576a9832661cfbfb29e1d59b72f092740388fa7 (patch)
tree2cbd79177900de8b8ede455156c2e13a20c94697 /application/modules/user/forms/Preboot.php
parentBootmenu & BootOs Controller (diff)
parentPagination in ettlichen Controllern + aufgeräumt (diff)
downloadpbs2-0576a9832661cfbfb29e1d59b72f092740388fa7.tar.gz
pbs2-0576a9832661cfbfb29e1d59b72f092740388fa7.tar.xz
pbs2-0576a9832661cfbfb29e1d59b72f092740388fa7.zip
merge
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.'"'
));
}