From 9cac0840b8f94c4f251b915c54db175d9bb9c941 Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 25 Nov 2005 10:40:52 +0000 Subject: [PATCH] fixed list bug. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2063 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackageEntry.inc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc index 741a076fb..dcf202f0e 100644 --- a/plugins/admin/fai/class_faiPackageEntry.inc +++ b/plugins/admin/fai/class_faiPackageEntry.inc @@ -46,11 +46,11 @@ class faiPackageEntry extends plugin $divlist = new divlist("PackageEntry"); $divlist->SetSummary(_("This list displays all assigned package names for this repository settings.")); - $divlist->SetEntriesPerPage(20); - $divlist->SetHeader(array(array("string"=>" "), - array("string"=>"Name"), - array("string"=>"Version"), - array("string"=>"Description","attach"=>"style='border-right:0px;'"))); + $divlist->SetEntriesPerPage(0); + $divlist->SetHeader(array(array("string" => " ", "attach" => "style='text-align:center;width:20px;'"), + array("string"=>"Name", "attach" => "style=''"), + array("string"=>"Version", "attach", "style='width:152px;'"), + array("string"=>"Description", "attach" => "style='width:60px;border-right:0px;text-align:right;'"))); if(isset($_GET['search'])){ $this->searchStrPKG= $_GET['search']."*"; @@ -124,10 +124,10 @@ class faiPackageEntry extends plugin $cnt ++ ; $chkbox = " "; - $divlist->AddEntry(array(array("string"=>$chkbox), - array("string"=>$pkg[0]), - array("string"=>$pkg[1]), - array("string"=>$pkg[3],"attach"=>"style='border-right:0px'"))); + $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"), + array("string"=>$pkg[0], "attach" => "style=''"), + array("string"=>$pkg[1], "attach" => "style='width:152px;'"), + array("string"=>$pkg[3], "attach" => "style='width:60px;border-right:0px;text-align:right;'"))); } } } -- 2.30.2