summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3fd65bd)
raw | patch | inline | side by side (parent: 3fd65bd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Apr 2011 15:32:39 +0000 (15:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 20 Apr 2011 15:32:39 +0000 (15:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20761 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
index 7c38705c922227f6268a0b9d3bcc4eafe59d1f0d..21d6bd22bc7900cb5e630ca82bad1dd0511f61d3 100644 (file)
// Define distribution paramters.
$dOpt1 = array('description' => _('Name'), 'default' => '', 'value' => '', 'required' => true,
- 'type' => 'string', 'display' => _('Name'));
+ 'type' => 'string', 'display' => _('Name'), 'initiallyEditableOnly' => TRUE);
$dOpt2 = array('description' => _('Distribution type'), 'default' => 'deb', 'value' => 'deb', 'required' => true,
- 'type' => 'combobox', 'display' => _('Distribution type'), 'values' => array("deb" => 'deb', "rpm" => 'rpm'));
+ 'type' => 'combobox', 'display' => _('Distribution type'),
+ 'values' => array("deb" => 'deb', "rpm" => 'rpm'), 'initiallyEditableOnly' => TRUE);
$dOpt3 = array('description' => _('Mirror Url'), 'default' => '', 'value' => '', 'required' => false,
'type' => 'string', 'display' => _('Mirror Url'));
$dOpt4 = array('description' => _('Method'), 'default' => 'puppet', 'value' => 'puppet', 'required' => false,
$dOpt5 = array('description' => _('Architecture'), 'default' => '', 'value' => '', 'required' => false,
'type' => 'list', 'display' => _('Architecture'));
$dOpt6 = array('description' => _('Component'), 'default' => '', 'value' => '', 'required' => false,
- 'type' => 'list', 'display' => _('Component'));
+ 'type' => 'list', 'display' => _('Component'), 'initiallyEditableOnly' => TRUE);
$dOpt7 = array('description' => _('Mirror sources'), 'default' => '', 'value' => '', 'required' => false,
'type' => 'checkbox', 'display' => _('Mirror sources'));
$this->TemplateEngine->load($this->itemConfig);
$this->TemplateEngine->setTemplate($method.".tpl");
- $this->TemplateEngine->setValues($item['type'],$item['values']);
+ $this->TemplateEngine->editItem($item['type'],$item['values']);
$this->listing->setDialogObject($this->TemplateEngine);
$this->currentObject = $item;
}
if($this->cfgItemMap[$type] != 'root'){
$method = $this->cfgItemMap[$type];
$this->TemplateEngine->setTemplate($method.".tpl");
- $this->TemplateEngine->setValues($type,array());
+ $this->TemplateEngine->createItem($type,array());
$this->listing->setDialogObject($this->TemplateEngine);
$this->currentObject = NULL;
}else{
$this->TemplateEngine->setTemplate("root.tpl");
- $this->TemplateEngine->setValues($type,array());
+ $this->TemplateEngine->createItem($type,array());
$this->listing->setDialogObject($this->TemplateEngine);
$this->currentObject = NULL;
}