summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Preboot.php
diff options
context:
space:
mode:
authormichael pereira2011-04-21 14:03:56 +0200
committermichael pereira2011-04-21 14:03:56 +0200
commit583ccfa017f2a57776d70cf1b80a7dbb1228124c (patch)
treec58419423f503e31ec06b547e6c2ec4fbe554109 /application/modules/user/forms/Preboot.php
parentmerges (diff)
downloadpbs2-583ccfa017f2a57776d70cf1b80a7dbb1228124c.tar.gz
pbs2-583ccfa017f2a57776d70cf1b80a7dbb1228124c.tar.xz
pbs2-583ccfa017f2a57776d70cf1b80a7dbb1228124c.zip
updates raus
Diffstat (limited to 'application/modules/user/forms/Preboot.php')
-rw-r--r--application/modules/user/forms/Preboot.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/application/modules/user/forms/Preboot.php b/application/modules/user/forms/Preboot.php
index 0b69c12..634b2b7 100644
--- a/application/modules/user/forms/Preboot.php
+++ b/application/modules/user/forms/Preboot.php
@@ -41,14 +41,24 @@ class user_Form_Preboot extends Zend_Form
'required' => true,
'label' => 'Title:',
));
+
+ $this->addElement('textarea', 'description', array(
+ 'filters' => array('StringTrim'),
+ 'validators' => array(
+ array('StringLength', false, array(0, 50)),
+ ),
+ 'required' => false,
+ 'rows' => 5,
+ 'cols' => 50,
+ 'label' => 'Description:',
+ ));
- $this->addElement('file', 'prebootfile', array(
+ $this->addElement('file', 'preboot', array(
'required' => true,
'readOnly' => $meta,
'label' => 'Preboot:',
));
-
if($this->action == "createpreboot")
$label = "Create Preboot";
else