Code

Fixed distribution plans
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Apr 2011 14:19:28 +0000 (14:19 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 14 Apr 2011 14:19:28 +0000 (14:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20737 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto-ng/admin/newConfigManagement/class_newConfigManagement.inc
gosa-plugins/goto-ng/admin/newConfigManagement/goto/Config/root.tpl

index e10e16a99bbc2c27da4cfd7259eb4f6b00147d8b..76272c1548ec9db69d2ff26930dadaa649200ff5 100644 (file)
@@ -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';
index 701d12949a2f35997cf34f18221119e33cf75d44..b936c01873a8f827add18a625824fabc625ea158 100644 (file)
@@ -5,8 +5,8 @@
         <td>{$name}</td>
     </tr>
     <tr>
-        <td>{$typeName}</td>
-        <td>{$type}</td>
+        <td>{$installation_methodName}</td>
+        <td>{$installation_method}</td>
     </tr>
 </table>
 {else if $type == 'Release'}