Code

Updated widget checks
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Oct 2010 08:11:43 +0000 (08:11 +0000)
committerhickert <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
gosa-plugins/goto/admin/systems/goto/Config/class_TemplateWidget.inc

index 484b701f38241fb5948229ab8d4b01f62aee0ed6..3c3bc88d90b13f87247dcc31d81dc4f840d65040 100644 (file)
@@ -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,
index 670fbed18c22070e680251d35c09cd421fb5ac19..899b587e0915a97e271c82b776124813670dad1f 100644 (file)
@@ -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}";