From: hickert Date: Fri, 1 Oct 2010 08:11:43 +0000 (+0000) Subject: Updated widget checks X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d89969754d614068ce35e6651aeb18008bb4ad1e;p=gosa.git Updated widget checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19881 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 484b701f3..3c3bc88d9 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateEngine.inc @@ -86,7 +86,7 @@ class TemplateEngine // 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 670fbed18..899b587e0 100644 --- a/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateWidget.inc +++ b/gosa-plugins/goto/admin/systems/goto/Config/class_TemplateWidget.inc @@ -31,6 +31,7 @@ class TemplateWidget $this->description = $description; $this->required = $required; $this->type = $type; + $this->syntax = $syntax; $this->display = $display; $class = get_class(); $this->postName = "{$class}_{$this->name}";