From 4edea51757de0d4b861ae4b322caef0b4e77b74c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 14 Apr 2011 14:19:28 +0000 Subject: [PATCH] Fixed distribution plans git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20737 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../class_newConfigManagement.inc | 14 +++++++------- .../admin/newConfigManagement/goto/Config/root.tpl | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc index e10e16a99..76272c154 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc @@ -45,13 +45,13 @@ class newConfigManagement extends plugin $items['Distribution']['options']['name']['required'] = true; $items['Distribution']['options']['name']['type'] = 'string'; $items['Distribution']['options']['name']['display'] = _('Name'); - $items['Distribution']['options']['type']['description'] = _("Distribution type"); - $items['Distribution']['options']['type']['default'] = "deb"; - $items['Distribution']['options']['type']['value'] = "deb"; - $items['Distribution']['options']['type']['values'] = array("deb" => 'deb', "rpm" => 'rpm'); - $items['Distribution']['options']['type']['required'] = true; - $items['Distribution']['options']['type']['type'] = 'combobox'; - $items['Distribution']['options']['type']['display'] = _('Distribution type'); + $items['Distribution']['options']['installation_method']['description'] = _("Distribution type"); + $items['Distribution']['options']['installation_method']['default'] = "deb"; + $items['Distribution']['options']['installation_method']['value'] = "deb"; + $items['Distribution']['options']['installation_method']['values'] = array("deb" => 'deb', "rpm" => 'rpm'); + $items['Distribution']['options']['installation_method']['required'] = true; + $items['Distribution']['options']['installation_method']['type'] = 'combobox'; + $items['Distribution']['options']['installation_method']['display'] = _('Distribution type'); $items['Release']['container'] = array('Release', '__CFG_ITEMS__'); $items['Release']['name'] = 'Release'; diff --git a/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.tpl b/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.tpl index 701d12949..b936c0187 100644 --- a/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.tpl +++ b/gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.tpl @@ -5,8 +5,8 @@ {$name} - {$typeName} - {$type} + {$installation_methodName} + {$installation_method} {else if $type == 'Release'} -- 2.30.2