summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms/Bootiso.php
diff options
context:
space:
mode:
authorSimon2011-04-21 14:04:59 +0200
committerSimon2011-04-21 14:04:59 +0200
commitb341e58395139a49a95175e0bdc9e3f0458f675d (patch)
treefd1ebb785e32de46fa40902a2c51ca62e44f1654 /application/modules/user/forms/Bootiso.php
parentFehler in sql korrigiert (diff)
parentMerge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2 (diff)
downloadpbs2-b341e58395139a49a95175e0bdc9e3f0458f675d.tar.gz
pbs2-b341e58395139a49a95175e0bdc9e3f0458f675d.tar.xz
pbs2-b341e58395139a49a95175e0bdc9e3f0458f675d.zip
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/user/forms/Bootiso.php')
-rw-r--r--application/modules/user/forms/Bootiso.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/application/modules/user/forms/Bootiso.php b/application/modules/user/forms/Bootiso.php
index 6ec9eb7..af474b5 100644
--- a/application/modules/user/forms/Bootiso.php
+++ b/application/modules/user/forms/Bootiso.php
@@ -50,6 +50,17 @@ class user_Form_Bootiso extends Zend_Form
'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:',
+ ));
+
$prebootfield = $this->createElement('select','prebootID');
$prebootfield->setLabel('Preboot:');
$prebootfield->setAttrib('readOnly', $meta);
@@ -77,7 +88,7 @@ class user_Form_Bootiso extends Zend_Form
'readOnly' => $meta,
'value' => $serial
));
-
+
$date = new DateTime();
$date->add(new DateInterval('P1Y'));
$this->addElement('text', 'expires', array(