From: hickert Date: Tue, 6 Jul 2010 13:15:04 +0000 (+0000) Subject: Added fixed for FAItemplates X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=af14b5aff338cd3f3ae7e364b64ee86c996144ea;p=gosa.git Added fixed for FAItemplates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18944 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc index a1dbc7413..a9c050ae9 100644 --- a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc +++ b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc @@ -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 */