From 09e418a48ec818f7c276b9369803de0b3242d61c Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 14 Apr 2008 06:46:04 +0000 Subject: [PATCH] Updated FAI packages -Fixed list layout for package add git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10373 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc | 10 +++++----- gosa-plugins/fai/admin/fai/faiPackageEntry.tpl | 4 +--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc index 90af3bbf1..e90f48b4f 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPackageEntry.inc @@ -90,11 +90,11 @@ class faiPackageEntry extends plugin $divlist->SetPluginMode(); $divlist->SetSummary(_("This list displays all assigned package names for this repository settings.")); $divlist->SetEntriesPerPage(0); - $divlist->SetHeight("650px;"); + #$divlist->SetHeight("650px;"); $divlist->SetHeader(array(array("string" => " ", "attach" => "style='text-align:center;width:20px;'"), array("string" => "Name", "attach" => "style='width:180px;'"), - array("string" => "Version", "attach" ), - array("string" => "Description", "attach" => "style='width:240px;border-right:0px;text-align:left;'"))); + array("string" => "Version", "attach"=>"style='width:240px;'" ), + array("string" => "Description", "attach" => "style='border-right:0px;text-align:left;'"))); foreach($this->pkgs as $pkg){ if(in_array($pkg['PACKAGE'],$this->selected)){ @@ -106,8 +106,8 @@ class faiPackageEntry extends plugin "; $divlist->AddEntry(array(array("string"=>$chkbox, "attach" => "style='text-align:center;width:20px;'"), array("string"=>$pkg['PACKAGE'], "attach" => "style='width:180px;'"), - array("string"=>htmlentities($pkg['VERSION'])), - array("string"=>htmlentities($pkg['DESCRIPTION']), "attach" => "style='width:240px;border-right:0px;text-align:left;'"))); + array("string"=>"
".htmlentities($pkg['VERSION']), "attach" => "style='width:240px'"), + array("string"=>htmlentities($pkg['DESCRIPTION']), "attach" => "style='border-right:0px;text-align:left;'"))); } $smarty->assign("Section_boxes" , $Section_boxes); diff --git a/gosa-plugins/fai/admin/fai/faiPackageEntry.tpl b/gosa-plugins/fai/admin/fai/faiPackageEntry.tpl index 7d40a0289..d21e576c2 100644 --- a/gosa-plugins/fai/admin/fai/faiPackageEntry.tpl +++ b/gosa-plugins/fai/admin/fai/faiPackageEntry.tpl @@ -11,9 +11,7 @@
-
- {$failist} - +
{$failist}
-- 2.30.2