From 0033cec593e82c39cac9b1d0de5c1f9f6f7209e1 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 1 Apr 2011 13:56:31 +0200 Subject: pagination in Bootos & Bootiso --- application/modules/user/forms/Bootos.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'application/modules/user/forms/Bootos.php') diff --git a/application/modules/user/forms/Bootos.php b/application/modules/user/forms/Bootos.php index 5fa890a..3e45f05 100644 --- a/application/modules/user/forms/Bootos.php +++ b/application/modules/user/forms/Bootos.php @@ -7,6 +7,7 @@ class user_Form_Bootos extends Zend_Form private $action; private $rights; private $groupdepth; + private $page; public function setRights($rights){ $this->rights = $rights; @@ -22,6 +23,9 @@ class user_Form_Bootos extends Zend_Form public function setGroupdepth($groupdepth){ $this->groupdepth = $groupdepth; } + public function setPage($page){ + $this->page = $page; + } public function init() { @@ -139,7 +143,7 @@ class user_Form_Bootos extends Zend_Form )); $this->addElement('button', 'Cancel', array( - 'onclick' => 'self.location="/user/bootos"' + 'onclick' => 'self.location="/user/bootos/page/'.$this->page.'"' )); ?> -- cgit v1.2.3-55-g7522