summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/forms/LinkRight.php
diff options
context:
space:
mode:
authorBjörn Geiger2011-03-28 16:51:10 +0200
committerBjörn Geiger2011-03-28 16:51:10 +0200
commit04c69f27f49c3f40888ee4938388413b07ad5e09 (patch)
tree4c4300fa8ecfcbab7eb29243dd9bb5d8d4447471 /application/modules/dev/forms/LinkRight.php
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-04c69f27f49c3f40888ee4938388413b07ad5e09.tar.gz
pbs2-04c69f27f49c3f40888ee4938388413b07ad5e09.tar.xz
pbs2-04c69f27f49c3f40888ee4938388413b07ad5e09.zip
überschriften hinzugefügt, andere Fehler korrigiert
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'] . '"',
));
}