summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
authormichael pereira2011-04-20 18:35:39 +0200
committermichael pereira2011-04-20 18:35:39 +0200
commit3df435742ef6d814f411ab9f4d405cc06eba1dab (patch)
tree48e047451ac032fe8f61e700ea530d0eb7936f0f /application/modules/user/forms/Preboot.php
parentResource Controller fix (diff)
downloadpbs2-3df435742ef6d814f411ab9f4d405cc06eba1dab.tar.gz
pbs2-3df435742ef6d814f411ab9f4d405cc06eba1dab.tar.xz
pbs2-3df435742ef6d814f411ab9f4d405cc06eba1dab.zip
API + Fixes
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