summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Bootos.php
diff options
context:
space:
mode:
authorSimon2011-04-01 13:56:31 +0200
committerSimon2011-04-01 13:56:31 +0200
commit0033cec593e82c39cac9b1d0de5c1f9f6f7209e1 (patch)
treede1f68c58cdf0d0ab97c425251bf0d9923f0d9af /application/modules/user/forms/Bootos.php
parentPagination in Bootiso (diff)
downloadpbs2-0033cec593e82c39cac9b1d0de5c1f9f6f7209e1.tar.gz
pbs2-0033cec593e82c39cac9b1d0de5c1f9f6f7209e1.tar.xz
pbs2-0033cec593e82c39cac9b1d0de5c1f9f6f7209e1.zip
pagination in Bootos & Bootiso
Diffstat (limited to 'application/modules/user/forms/Bootos.php')
-rw-r--r--application/modules/user/forms/Bootos.php6
1 files changed, 5 insertions, 1 deletions
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.'"'
));
?>