From 83767be80c29e3d3ca99f4a7d2eaab97f8256d1b Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Wed, 11 Jan 2012 15:22:32 +0100 Subject: remove unused stuff --- application/modules/dev/forms/GroupLink.php | 63 ----------------------------- 1 file changed, 63 deletions(-) delete mode 100644 application/modules/dev/forms/GroupLink.php (limited to 'application/modules/dev/forms/GroupLink.php') diff --git a/application/modules/dev/forms/GroupLink.php b/application/modules/dev/forms/GroupLink.php deleted file mode 100644 index 4ebfaa1..0000000 --- a/application/modules/dev/forms/GroupLink.php +++ /dev/null @@ -1,63 +0,0 @@ -grouplist = $grouplist; - - } - - public function init() { - $this->setName("GroupLink"); - $this->setMethod('post'); - - $groupfield = $this->createElement('select', 'groupID'); - $groupfield ->setLabel('Group:'); - - if(count($this->grouplist) > 0) { - foreach($this->grouplist as $group => $g) { - $groupfield->addMultiOption($g->getID(), $g->getTitle()); - } - } - $groupfield->setRegisterInArrayValidator(false); - $this->addElement($groupfield); - - $groupfield1 = $this->createElement('select', 'superordinatedGroupID'); - $groupfield1 ->setLabel('superordinated Group:'); - - if(count($this->grouplist) > 0) { - foreach($this->grouplist as $group => $g) { - $groupfield1->addMultiOption($g->getID(), $g->getTitle()); - } - } - $groupfield1->setRegisterInArrayValidator(false); - $this->addElement($groupfield1); - - $this->addElement('submit', 'link', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Link', - )); - - $this->addElement('button', 'cancel', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Cancel', - 'onclick' => 'location.href="javascript:history.back();"', - )); - } - - -} - -- cgit v1.2.3-55-g7522