From: hickert Date: Fri, 2 Dec 2005 07:12:10 +0000 (+0000) Subject: Fixed lists with pagenums X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5205d341743113a7395480cbf5f83cddfb486a8a;p=gosa.git Fixed lists with pagenums git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2196 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_divlist.inc b/include/class_divlist.inc index 203d22984..06b34845f 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -129,7 +129,7 @@ class divlist { $s_return = ""; // We need to construct a "body"-table that is width-of-scrollbar thinner than the "head"-table. - $s_return .= "\n
"; + $s_return .= "\n
"; // Only reduce width if we need a scrollbar (>19 Entries) if($this->_numEntries()>19) { diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc index 860b6707a..57e96f97d 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(0); + $divlist->SetEntriesPerPage(20); $divlist->SetHeight("650px;"); $divlist->SetHeader(array(array("string" => " ", "attach" => "style='text-align:center;width:20px;'"), - array("string" => "Name", "attach" => "style=''"), - array("string" => "Version", "attach" => "style='width:100px;'"), + array("string" => "Name", "attach" => "style='width:180px;'"), + array("string" => "Version", "attach" ), array("string" => "Description", "attach" => "style='width:240px;border-right:0px;text-align:left;'"))); if(isset($_GET['search'])){ @@ -126,9 +126,9 @@ class faiPackageEntry extends plugin $chkbox = " "; $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:100px;'"), - array("string"=>$pkg[3], "attach" => "style='width:240px;border-right:0px;text-align:left;'"))); + array("string"=>$pkg[0], "attach" => "style='width:180px;'"), + array("string"=>$pkg[1]), + array("string"=>$pkg[3], "attach" => "style='width:221px;border-right:0px;text-align:left;'"))); } } }