summaryrefslogtreecommitdiffstats
path: root/application/modules/dev/forms/BootmenuEntriesAdd.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/dev/forms/BootmenuEntriesAdd.php')
-rw-r--r--application/modules/dev/forms/BootmenuEntriesAdd.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/application/modules/dev/forms/BootmenuEntriesAdd.php b/application/modules/dev/forms/BootmenuEntriesAdd.php
index 2e1b677..ef6e909 100644
--- a/application/modules/dev/forms/BootmenuEntriesAdd.php
+++ b/application/modules/dev/forms/BootmenuEntriesAdd.php
@@ -54,6 +54,12 @@ class dev_Form_BootmenuEntriesAdd extends Zend_Form
$this->addElement($bootosfield);
+ $kclactive = $this->createElement('checkbox','kclactive');
+ #$kclactive->setAttrib('onChange', "document.getElementById('BootMenuEntryAdd').submit();");
+ $kclactive->setLabel('Use default KCL:');
+ $kclactive->setValue(true);
+ $this->addElement($kclactive);
+
$this->addElement('textarea', 'kcl', array(
'filters' => array('StringTrim'),
'validators' => array(
@@ -63,10 +69,25 @@ class dev_Form_BootmenuEntriesAdd extends Zend_Form
'cols' => 50,
'rows' => 5,
'label' => 'KCL:',
+ 'readOnly' => true,
'value' => $this->bootoslist[$_POST['bootosID']]->getDefaultkcl()
));
+
+
+ $this->addElement('textarea', 'kclappend', array(
+ 'filters' => array('StringTrim'),
+ 'validators' => array(
+ array('StringLength', false, array(0, 50)),
+ ),
+ 'required' => false,
+ 'cols' => 50,
+ 'rows' => 5,
+ 'label' => 'KCL-Append:'
+
+ ));
+
$defaultconfigid = $this->bootoslist[$_POST['bootosID']]->getConfigID();
$configfield = $this->createElement('select','configID');
$configfield->setLabel('Config:');