summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
authorSimon2011-04-01 16:34:13 +0200
committerSimon2011-04-01 16:34:13 +0200
commitcd230aefd78797219cb3814cda29fc8178520a22 (patch)
tree9e460a6493323e35a98fd9921be680c70a3c541d /application/modules/user/forms/Preboot.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-cd230aefd78797219cb3814cda29fc8178520a22.tar.gz
pbs2-cd230aefd78797219cb3814cda29fc8178520a22.tar.xz
pbs2-cd230aefd78797219cb3814cda29fc8178520a22.zip
Pagination in ettlichen Controllern + aufgeräumt
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.'"'
));
}