summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 53e5ec7)
raw | patch | inline | side by side (parent: 53e5ec7)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Oct 2010 08:11:43 +0000 (08:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Oct 2010 08:11:43 +0000 (08:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19881 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc | patch | blob | history | |
gosa-plugins/goto/admin/systems/goto/Config/class_TemplateWidget.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc
index 484b701f38241fb5948229ab8d4b01f62aee0ed6..3c3bc88d90b13f87247dcc31d81dc4f840d65040 100644 (file)
// Prepare the value for the widget
$value = $values[$name];
$syntax = (isset($item['syntax']))? $item['syntax']: "";
-
+
// Create the new widget.
$this->widgets[$name] = new $widgetClassName($this->config, $name,
$value,
diff --git a/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateWidget.inc b/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateWidget.inc
index 670fbed18c22070e680251d35c09cd421fb5ac19..899b587e0915a97e271c82b776124813670dad1f 100644 (file)
$this->description = $description;
$this->required = $required;
$this->type = $type;
+ $this->syntax = $syntax;
$this->display = $display;
$class = get_class();
$this->postName = "{$class}_{$this->name}";