summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/forms/LinkRight.php
diff options
context:
space:
mode:
authormichael pereira2011-03-29 11:01:35 +0200
committermichael pereira2011-03-29 11:01:35 +0200
commitecb5c8d8c31ad70bb24e0ea1cfb6110bcd0a96bb (patch)
tree4b40a4178c2dc3bd3fe21730a29dd07bb8742790 /application/modules/dev/forms/LinkRight.php
parentPreboot User Controller fertig, ACL fehlt noch (diff)
parentselectmembership von auth zu person verschoben fbgui module (diff)
downloadpbs2-ecb5c8d8c31ad70bb24e0ea1cfb6110bcd0a96bb.tar.gz
pbs2-ecb5c8d8c31ad70bb24e0ea1cfb6110bcd0a96bb.tar.xz
pbs2-ecb5c8d8c31ad70bb24e0ea1cfb6110bcd0a96bb.zip
zfconf
Diffstat (limited to 'application/modules/dev/forms/LinkRight.php')
-rw-r--r--application/modules/dev/forms/LinkRight.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/modules/dev/forms/LinkRight.php b/application/modules/dev/forms/LinkRight.php
index 8b9c3a9..0745791 100644
--- a/application/modules/dev/forms/LinkRight.php
+++ b/application/modules/dev/forms/LinkRight.php
@@ -32,14 +32,14 @@ class dev_Form_LinkRight extends Zend_Form
$this->addElement('submit', 'link', array(
'required' => false,
'ignore' => true,
- 'label' => 'Add Right',
+ 'label' => 'Add',
));
$this->addElement('button', 'cancel', array(
'required' => false,
'ignore' => true,
'label' => 'Cancel',
- 'onclick' => 'location.href="/dev/role/show/roleID/' . $this->roleID . '"',
+ 'onclick' => 'location.href="' . $_SERVER['HTTP_REFERER'] . '"',
));
}