summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4f28500)
raw | patch | inline | side by side (parent: 4f28500)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Apr 2011 14:18:27 +0000 (14:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 6 Apr 2011 14:18:27 +0000 (14:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20660 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc | patch | blob | history | |
gosa-plugins/goto/admin/ConfigManagement/class_TemplateEngine.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc
index 5f0c18ca7ccd17bfe8e89b96103b4d4e4ae3f927..af9bbf554e749387c87dc0d1c1f4785672e4045e 100644 (file)
// Try to initialize
$this->init();
+ $this->setInstallMethod('puppet');
$this->rebuildListing();
}
diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_TemplateEngine.inc b/gosa-plugins/goto/admin/ConfigManagement/class_TemplateEngine.inc
index 577079f2900e74385b019d679d3c995a55639889..f6d7c961fd0165e09e7e050dfeb230a843ba9e82 100644 (file)
}
// Prepare the value for the widget
+ if(!isset($values[$name])) $values[$name] = $item['default'];
+
$value = $values[$name];
$syntax = (isset($item['syntax']))? $item['syntax']: "";
$providedValues = (isset($item['values']))? $item['values']: array();