diff options
| author | michael pereira | 2011-04-01 13:56:31 +0200 |
|---|---|---|
| committer | michael pereira | 2011-04-01 13:56:31 +0200 |
| commit | c6ba86b7bb05519d32296e62c1bce0fd2225e90a (patch) | |
| tree | eee0a011813b3dec8e8d05f49246b37551cb7e26 /application/modules/user/forms/Pool.php | |
| parent | bootmenu (diff) | |
| parent | Merge branch 'master' of ssh://git.openslx.org/lsfks/master-teamprojekt/pbs2 (diff) | |
| download | pbs2-c6ba86b7bb05519d32296e62c1bce0fd2225e90a.tar.gz pbs2-c6ba86b7bb05519d32296e62c1bce0fd2225e90a.tar.xz pbs2-c6ba86b7bb05519d32296e62c1bce0fd2225e90a.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms/Pool.php')
| -rw-r--r-- | application/modules/user/forms/Pool.php | 10 |
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..055d0a7 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/index/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; + } } |
