summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
-rw-r--r--application/modules/user/forms/Preboot.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php
index 49faf0d..0b69c12 100644
--- a/application/modules/user/forms/Preboot.php
+++ b/application/modules/user/forms/Preboot.php
@@ -42,17 +42,13 @@ class user_Form_Preboot extends Zend_Form
'label' => 'Title:',
));
- $this->addElement('text', 'path_preboot', array(
- 'filters' => array('StringTrim'),
- 'validators' => array(
- array('StringLength', false, array(0, 240)),
- ),
+ $this->addElement('file', 'prebootfile', array(
'required' => true,
- 'size' => 50,
'readOnly' => $meta,
- 'label' => 'Path to Preboot:',
+ 'label' => 'Preboot:',
));
+
if($this->action == "createpreboot")
$label = "Create Preboot";
else