summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Pool.php
diff options
context:
space:
mode:
authorSimon2011-03-31 17:28:01 +0200
committerSimon2011-03-31 17:28:01 +0200
commit9be5110682262d8933b93043790c715c3b848a7a (patch)
tree428129a77dc7ede00a7422d182c727ee8444b09f /application/modules/user/forms/Pool.php
parentGraph-Anzeige gefixxt (diff)
downloadpbs2-9be5110682262d8933b93043790c715c3b848a7a.tar.gz
pbs2-9be5110682262d8933b93043790c715c3b848a7a.tar.xz
pbs2-9be5110682262d8933b93043790c715c3b848a7a.zip
pagination auf client, pool und filter hinzugefügt
Diffstat (limited to 'application/modules/user/forms/Pool.php')
-rw-r--r--application/modules/user/forms/Pool.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/application/modules/user/forms/Pool.php b/application/modules/user/forms/Pool.php
index 909bdd6..b1c4cbc 100644
--- a/application/modules/user/forms/Pool.php
+++ b/application/modules/user/forms/Pool.php
@@ -42,13 +42,21 @@ class user_Form_Pool extends Zend_Form
));
$this->addElement('button', 'Cancel', array(
- 'onclick' => 'self.location="/user/pool"'
+ 'onclick' => 'self.location="/user/pool/page/'.$this->page.'"'
));
+
+ $this->addElement('hidden','page', array(
+ 'value' => $this->page
+ ));
}
private $buttontext = 'Save';
function setButtontext($v){
$this->buttontext = $v;
}
+ private $page;
+ function setPage($page){
+ $this->page = $page;
+ }
}