diff options
| author | Simon | 2011-03-16 13:01:52 +0100 |
|---|---|---|
| committer | Simon | 2011-03-16 13:01:52 +0100 |
| commit | 23356b4d986955a981c4b164bea553c2560aec4a (patch) | |
| tree | a023e77bf92a31ba314a5e58e3cf11861915e579 /application/modules/dev/forms/BootmenuEntriesAdd.php | |
| parent | Arbeiten am Clientcontroller, Membership in Auth gesetzt (diff) | |
| parent | Default KCL wird jetzt automatisch geupdated (diff) | |
| download | pbs2-23356b4d986955a981c4b164bea553c2560aec4a.tar.gz pbs2-23356b4d986955a981c4b164bea553c2560aec4a.tar.xz pbs2-23356b4d986955a981c4b164bea553c2560aec4a.zip | |
Merge branch 'master' of openslx.org:lsfks/master-teamprojekt/pbs2
Diffstat (limited to 'application/modules/dev/forms/BootmenuEntriesAdd.php')
| -rw-r--r-- | application/modules/dev/forms/BootmenuEntriesAdd.php | 21 |
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:'); |
