diff options
| author | Simon | 2011-03-31 17:28:01 +0200 |
|---|---|---|
| committer | Simon | 2011-03-31 17:28:01 +0200 |
| commit | 9be5110682262d8933b93043790c715c3b848a7a (patch) | |
| tree | 428129a77dc7ede00a7422d182c727ee8444b09f /application/modules/user/forms/Client.php | |
| parent | Graph-Anzeige gefixxt (diff) | |
| download | pbs2-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/Client.php')
| -rw-r--r-- | application/modules/user/forms/Client.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/application/modules/user/forms/Client.php b/application/modules/user/forms/Client.php index 9f3926c..eb9aff6 100644 --- a/application/modules/user/forms/Client.php +++ b/application/modules/user/forms/Client.php @@ -42,17 +42,25 @@ class user_Form_Client extends Zend_Form 'required' => false, 'ignore' => true, 'label' => $this->buttontext, - )); + )); $this->addElement('button', 'Cancel', array( - 'onclick' => 'self.location="/user/client"' - )); + 'onclick' => 'self.location="/user/client/page/'.$this->page.'"' + )); + + $this->addElement('hidden','page', array( + 'value' => $this->page + )); } private $buttontext = 'Save'; private $groups; function setButtontext($v){ $this->buttontext = $v; } + private $page; + function setPage($page){ + $this->page = $page; + } } |
