From b3dd01668b03b0ae6942734f12e86dc443ca0550 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 14 Sep 2007 13:29:09 +0000 Subject: [PATCH] Fixed fai script list. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7298 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiScript.inc | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/plugins/admin/fai/class_faiScript.inc b/plugins/admin/fai/class_faiScript.inc index f1d199e6f..ac945d890 100644 --- a/plugins/admin/fai/class_faiScript.inc +++ b/plugins/admin/fai/class_faiScript.inc @@ -275,7 +275,7 @@ class faiScript extends plugin Containing FAIscripts */ $divlist = new divlist("FAIscripts"); - + $divlist -> SetEntriesPerPage(0); $plug = $_GET['plug']; if($this->sort_order == "up"){ @@ -294,9 +294,12 @@ class faiScript extends plugin $divlist->SetHeader(array( array("string"=>""._("Name").$sort_name.""), - array("string"=>"".$sort_prio._("Priority").""), - array("string"=>_("Download")), - array("string"=>_("Action")))); + array("string"=>"".$sort_prio._("Priority")."", + "attach" => "style='width:100px;'"), + array("string"=>_("Download"), + "attach" => "style='width:100px;'"), + array("string"=>_("Action"), + "attach"=>"style='border-right: 0px;width:100px;text-align:right;'"))); $divlist->SetHeight(300); $divlist->SetWidth("100%"); @@ -319,10 +322,10 @@ class faiScript extends plugin } $divlist->AddEntry(array( array("string"=>"".$name['name'].""), - array("string"=>$name['FAIpriority'] , "attach" => "style='width:20px;'"), - array("string"=>$down , "attach" => "style='width:20px;'"), + array("string"=>$name['FAIpriority'] , "attach" => "style='width:100px;'"), + array("string"=>$down , "attach" => "style='width:100px;'"), array("string"=>str_replace("%s",base64_encode($key),$img_edit.$img_remo), - "attach"=>"style='border-right: 0px;width:50px;text-align:right;'"))); + "attach"=>"style='border-right: 0px;width:100px;text-align:right;'"))); } $smarty->assign("Entry_divlist",$divlist->DrawList()); -- 2.30.2