From 9be5110682262d8933b93043790c715c3b848a7a Mon Sep 17 00:00:00 2001 From: Simon Date: Thu, 31 Mar 2011 17:28:01 +0200 Subject: pagination auf client, pool und filter hinzugefügt --- application/modules/user/forms/Client.php | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'application/modules/user/forms/Client.php') 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; + } } -- cgit v1.2.3-55-g7522