From 6a40f62e725422705c41526eb373cca9e838e1f8 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 26 Jan 2006 11:54:57 +0000 Subject: [PATCH] Some fixed for divlist .... git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2584 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackageEntry.inc | 6 +++--- plugins/admin/fai/faiPackageEntry.tpl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc index 614ea9dd3..e4049b865 100644 --- a/plugins/admin/fai/class_faiPackageEntry.inc +++ b/plugins/admin/fai/class_faiPackageEntry.inc @@ -46,7 +46,7 @@ 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->SetEntriesPerPage(0); $divlist->SetHeight("650px;"); $divlist->SetHeader(array(array("string" => " ", "attach" => "style='text-align:center;width:20px;'"), array("string" => "Name", "attach" => "style='width:180px;'"), @@ -128,8 +128,8 @@ $CHKS = ""; $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"), 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;'"))); + array("string"=>htmlentities($pkg[1])), + array("string"=>htmlentities($pkg[3]), "attach" => "style='width:221px;border-right:0px;text-align:left;'"))); } } } diff --git a/plugins/admin/fai/faiPackageEntry.tpl b/plugins/admin/fai/faiPackageEntry.tpl index e9634f1f1..927b2b764 100644 --- a/plugins/admin/fai/faiPackageEntry.tpl +++ b/plugins/admin/fai/faiPackageEntry.tpl @@ -22,7 +22,7 @@ [i]{t}Information{/t}

-
+
{t}This menu allows you to select multiple packages to add them to the currently edited package list.{/t}

-- 2.30.2