Code

Updated Config mangement
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 May 2011 13:11:33 +0000 (13:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 May 2011 13:11:33 +0000 (13:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20851 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/Device/class_DeviceConfig.inc

index 96825d548b782793a55055a7026478a89a261111..9ef1819447486d5a7ad0625c0847ac6c8b5f11ea 100644 (file)
@@ -40,7 +40,7 @@ class DeviceConfig extends plugin
         $this->assignableElementsList->setWidth("100%");
         $this->assignableElementsList->setHeight("200px");
         $this->assignableElementsList->setHeader(array(_("Name")));
-        $this->assignableElementsList->setColspecs(array('*'));
+        $this->assignableElementsList->setColspecs(array('*','*','20'));
         $this->assignableElementsList->setAcl('rwcdm');
 
         // Create used Elements list.
@@ -51,7 +51,7 @@ class DeviceConfig extends plugin
         $this->usedElementsList->setWidth("100%");
         $this->usedElementsList->setHeight("200px");
         $this->usedElementsList->setHeader(array(_("Name")));
-        $this->usedElementsList->setColspecs(array('*'));
+        $this->usedElementsList->setColspecs(array('*','*','20'));
         $this->usedElementsList->setAcl('rwcdm');
 
         // Create parameter Elements list.
@@ -61,8 +61,8 @@ class DeviceConfig extends plugin
         $this->parameterList->setEditable(FALSE);
         $this->parameterList->setWidth("100%");
         $this->parameterList->setHeight("200px");
-        $this->parameterList->setHeader(array(_("Type")));
-        $this->parameterList->setColspecs(array('*'));
+        $this->parameterList->setHeader(array(_("Name"), _("Description"), _("Value")));
+        $this->parameterList->setColspecs(array('*','*','350px'));
         $this->parameterList->setAcl('rwcdm');
     }
 
@@ -198,7 +198,7 @@ class DeviceConfig extends plugin
 
                 // Create template widget on demand.
                 if(!isset($this->parameterWidgets[$param])){
-                    $this->parameterWidgets[$param] = new TemplateWidget_string($this->config, $param, $value, 
+                    $this->parameterWidgets[$param] = new TemplateWidget_stringLong($this->config, $param, $value, 
                             $desc, '', FALSE, 'string', $param);
                 }
                 $w = $this->parameterWidgets[$param];