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/GroupAdd.php | 73 ------------------------------ 1 file changed, 73 deletions(-) delete mode 100644 application/modules/dev/forms/GroupAdd.php (limited to 'application/modules/dev/forms/GroupAdd.php') diff --git a/application/modules/dev/forms/GroupAdd.php b/application/modules/dev/forms/GroupAdd.php deleted file mode 100644 index 9349b17..0000000 --- a/application/modules/dev/forms/GroupAdd.php +++ /dev/null @@ -1,73 +0,0 @@ -grouplist = $grouplist; - - } - - - public function init() { - $this->setName("GroupAdd"); - $this->setMethod('post'); - - $this->addElement('text', 'title', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Title:', - )); - - $this->addElement('text', 'description', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 140)), - ), - 'required' => false, - 'label' => 'Description:', - )); - - $groupfield = $this->createElement('select', 'superordinatedGroupID'); - $groupfield ->setLabel('superordinated Group:'); - - $groupfield->addMultiOption('-1', '---- none ----'); - - if(count($this->grouplist) > 0) { - foreach($this->grouplist as $group => $g) { - $groupfield->addMultiOption($g->getID(), $g->getTitle()); - } - } - $groupfield->setRegisterInArrayValidator(false); - $this->addElement($groupfield); - - $this->addElement('submit', 'add', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Add', - )); - - $this->addElement('button', 'cancel', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Cancel', - 'onclick' => 'location.href="javascript:history.back();"', - )); - } - - -} - -- cgit v1.2.3-55-g7522