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/Pool.php | 60 ---------------------------------- 1 file changed, 60 deletions(-) delete mode 100644 application/modules/dev/forms/Pool.php (limited to 'application/modules/dev/forms/Pool.php') diff --git a/application/modules/dev/forms/Pool.php b/application/modules/dev/forms/Pool.php deleted file mode 100644 index dd6e170..0000000 --- a/application/modules/dev/forms/Pool.php +++ /dev/null @@ -1,60 +0,0 @@ -setName("pool"); - $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('textarea', 'description', array( - 'filters' => array('StringTrim'), - 'required' => false, - 'label' => 'Description:', - )); - // TODO: Add target of Filter - - $this->addElement('text', 'location', array( - 'filters' => array('StringTrim'), - 'validators' => array( - array('StringLength', false, array(0, 50)), - ), - 'required' => true, - 'label' => 'Location:', - )); - - $this->addElement('submit', 'add', array( - 'required' => false, - 'ignore' => true, - 'label' => $this->buttontext, - )); - - $this->addElement('button', 'Cancel', array( - 'onclick' => 'self.location="/pool"' - )); - } - private $buttontext = 'Save'; - function setButtontext($v) { - $this->buttontext = $v; - } - - -} - -- cgit v1.2.3-55-g7522