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/PrebootEdit.php | 67 --------------------------- 1 file changed, 67 deletions(-) delete mode 100644 application/modules/dev/forms/PrebootEdit.php (limited to 'application/modules/dev/forms/PrebootEdit.php') diff --git a/application/modules/dev/forms/PrebootEdit.php b/application/modules/dev/forms/PrebootEdit.php deleted file mode 100644 index cb9e622..0000000 --- a/application/modules/dev/forms/PrebootEdit.php +++ /dev/null @@ -1,67 +0,0 @@ -grouplist = $grouplist; - - } - - public function init() { - $this->setName("PreBootEdit"); - $this->setMethod('post'); - - $this->addElement('text', 'title', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Title:', - )); - - $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); - - $this->addElement('text', 'path_preboot', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 240)), - ), - 'required' => true, - 'size' => 50, - 'label' => 'Path to Preboot:', - )); - - $this->addElement('submit', 'editpreboot', array( - 'required' => false, - 'ignore' => true, - 'label' => 'Edit Preboot', - )); - - $this->addElement('button', 'Cancel', array( - 'onclick' => 'self.location="/dev/preboot"' - )); - - } -} - -- cgit v1.2.3-55-g7522