summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Bootiso.php
diff options
context:
space:
mode:
authorSimon2011-04-01 16:34:13 +0200
committerSimon2011-04-01 16:34:13 +0200
commitcd230aefd78797219cb3814cda29fc8178520a22 (patch)
tree9e460a6493323e35a98fd9921be680c70a3c541d /application/modules/user/forms/Bootiso.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-cd230aefd78797219cb3814cda29fc8178520a22.tar.gz
pbs2-cd230aefd78797219cb3814cda29fc8178520a22.tar.xz
pbs2-cd230aefd78797219cb3814cda29fc8178520a22.zip
Pagination in ettlichen Controllern + aufgeräumt
Diffstat (limited to 'application/modules/user/forms/Bootiso.php')
-rw-r--r--application/modules/user/forms/Bootiso.php17
1 files changed, 6 insertions, 11 deletions
diff --git a/application/modules/user/forms/Bootiso.php b/application/modules/user/forms/Bootiso.php
index d080ac2..1facf94 100644
--- a/application/modules/user/forms/Bootiso.php
+++ b/application/modules/user/forms/Bootiso.php
@@ -7,7 +7,7 @@ class user_Form_Bootiso extends Zend_Form
private $groupdepth;
private $action;
private $rights;
- private $page;
+ private $page;
public function setRights($rights){
$this->rights = $rights;
@@ -21,10 +21,9 @@ class user_Form_Bootiso extends Zend_Form
public function setGroupdepth($groupdepth){
$this->groupdepth = $groupdepth;
}
- public function setPage($page){
- $this->page = $page;
- }
-
+ public function setPage($p){
+ $this->page = $p;
+ }
public function init()
{
@@ -112,12 +111,8 @@ class user_Form_Bootiso extends Zend_Form
));
$this->addElement('button', 'Cancel', array(
- 'onclick' => 'self.location="/user/bootiso/page/'.$this->page.'"'
- ));
-
- $this->addElement('hidden','page', array(
- 'value' => $this->page
- ));
+ 'onclick' => 'self.location="/user/bootiso/index/page/'.$this->page.'"'
+ ));
?>
<script>