summaryrefslogtreecommitdiffstats
path: root/application/modules/user/forms
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/forms')
-rw-r--r--application/modules/user/forms/BootmenuEntries.php5
-rw-r--r--application/modules/user/forms/Bootos.php2
2 files changed, 3 insertions, 4 deletions
diff --git a/application/modules/user/forms/BootmenuEntries.php b/application/modules/user/forms/BootmenuEntries.php
index 9a3cf6a..ded5cc5 100644
--- a/application/modules/user/forms/BootmenuEntries.php
+++ b/application/modules/user/forms/BootmenuEntries.php
@@ -126,17 +126,16 @@ class user_Form_BootmenuEntries extends Zend_Form
'description' => 'Chars left: ' . $kcllength
));
- $defaultconfigid = $this->bootoslist[$_POST['bootosID']]->getConfigID();
$configfield = $this->createElement('select','configID');
$configfield->setLabel('Config:');
$configfield->setAttrib('readOnly', $meta);
- $options = array('Preset' => array($defaultconfigid => 'default'), 'Custom' => array());
+ $options = array('Preset' => array('default' => 'default'), 'Custom' => array());
if(count($this->configlist)>0){
foreach($this->configlist as $k => $v){
foreach($v as $c)
- if($c->getID() != $defaultconfigid)
+ //if($c->getID() != $defaultconfigid)
$options[$k][$c->getID()] = $c->getTitle();
}
}
diff --git a/application/modules/user/forms/Bootos.php b/application/modules/user/forms/Bootos.php
index 81c16bf..1dd0d07 100644
--- a/application/modules/user/forms/Bootos.php
+++ b/application/modules/user/forms/Bootos.php
@@ -68,7 +68,7 @@ class user_Form_Bootos extends Zend_Form
'validators' => array(
array('StringLength', false, array(0, 250)),
),
- 'required' => flase,
+ 'required' => false,
'size' => 50,
'readOnly' => $meta,
'label' => 'Init-Path:',