summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms
diff options
context:
space:
mode:
authorSimon2011-04-14 13:39:56 +0200
committerSimon2011-04-14 13:39:56 +0200
commit4ef5ef67e07245296fe73d3948d9526338bced63 (patch)
tree9317e60083f3279397c9f48aabc421ad65660457 /application/modules/user/forms
parentEs werden keine Sessions mehr angelegt wenn ein Admin die Bootmenuentries tes... (diff)
downloadpbs2-4ef5ef67e07245296fe73d3948d9526338bced63.tar.gz
pbs2-4ef5ef67e07245296fe73d3948d9526338bced63.tar.xz
pbs2-4ef5ef67e07245296fe73d3948d9526338bced63.zip
Ticket #207 - Graph wird beim verlinken angezeigt
Diffstat (limited to 'application/modules/user/forms')
-rw-r--r--application/modules/user/forms/GroupLink.php25
1 files changed, 14 insertions, 11 deletions
diff --git a/application/modules/user/forms/GroupLink.php b/application/modules/user/forms/GroupLink.php
index 9bddb19..9aba5a4 100644
--- a/application/modules/user/forms/GroupLink.php
+++ b/application/modules/user/forms/GroupLink.php
@@ -13,28 +13,31 @@ class user_Form_GroupLink extends Zend_Form
{
$this->setName("GroupLink");
$this->setMethod('post');
-
- $groupfield = $this->createElement('select','groupID');
- $groupfield ->setLabel('Group:');
+
+/*
+ $groupfield1 = $this->createElement('select','superordinatedGroupID');
+ $groupfield1 ->setLabel('Parent Group:');
if(count($this->grouplist)>0){
foreach($this->grouplist as $group => $g){
- $groupfield->addMultiOption($g->getID(), $g->getTitle());
+ $groupfield1->addMultiOption($g->getID(), $g->getTitle());
}
}
- $groupfield->setRegisterInArrayValidator(false);
- $this->addElement($groupfield);
+ $groupfield1->setRegisterInArrayValidator(false);
+ $this->addElement($groupfield1);
+ */
- $groupfield1 = $this->createElement('select','superordinatedGroupID');
- $groupfield1 ->setLabel('superordinated Group:');
+ $groupfield = $this->createElement('select','groupID');
+ $groupfield ->setLabel('Group:');
+ $groupfield->setAttrib('onchange', "reloadGraph();");
if(count($this->grouplist)>0){
foreach($this->grouplist as $group => $g){
- $groupfield1->addMultiOption($g->getID(), $g->getTitle());
+ $groupfield->addMultiOption($g->getID(), $g->getTitle());
}
}
- $groupfield1->setRegisterInArrayValidator(false);
- $this->addElement($groupfield1);
+ $groupfield->setRegisterInArrayValidator(false);
+ $this->addElement($groupfield);
$this->addElement('submit', 'link', array(
'required' => false,