From cd230aefd78797219cb3814cda29fc8178520a22 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 1 Apr 2011 16:34:13 +0200 Subject: Pagination in ettlichen Controllern + aufgerÀumt --- application/modules/user/forms/Preboot.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'application/modules/user/forms/Preboot.php') 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.'"' )); } -- cgit v1.2.3-55-g7522