Code

Added fixed for FAItemplates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Jul 2010 13:15:04 +0000 (13:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Jul 2010 13:15:04 +0000 (13:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18944 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiTemplate.inc

index a1dbc7413535e20e66f52775996c028546b9381c..a9c050ae9be30be9155ca997a47e28e3c2859f30 100644 (file)
@@ -72,10 +72,10 @@ class faiTemplate extends plugin
     $this->templateList->setDeleteable(true);
     $this->templateList->setEditable(true);
     $this->templateList->setWidth("100%");
-    $this->templateList->setHeight("120px");
-    $this->templateList->setColspecs(array('200px','*'));
-    $this->templateList->setHeader(array(_("Name"),_("Download")));
-    $this->templateList->setDefaultSortColumn(1);
+    $this->templateList->setHeight("220px");
+    $this->templateList->setColspecs(array('*','18px'));
+    $this->templateList->setHeader(array(_("Name"),""));
+    $this->templateList->setDefaultSortColumn(0);
 
   }
 
@@ -280,6 +280,7 @@ class faiTemplate extends plugin
     $this->templateList->setAcl($acl,preg_match('/^freeze/', $this->FAIstate));
 
     $tmp = $this->getList(true);
+    $data = $lData = array();
     foreach($this->SubObjects as $key => $name){
 
       /* Skip removed entries */