From a83f527bbe859a603e192aad69b50621f451b6ad Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 4 Nov 2005 13:14:44 +0000 Subject: [PATCH] fixed style git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1832 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../departments/class_departmentManagement.inc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugins/admin/departments/class_departmentManagement.inc b/plugins/admin/departments/class_departmentManagement.inc index c7540f3d8..38451b25a 100644 --- a/plugins/admin/departments/class_departmentManagement.inc +++ b/plugins/admin/departments/class_departmentManagement.inc @@ -296,10 +296,10 @@ class departmentManagement extends plugin $linkopen = "%s"; - $divlist->SetHeader(array(array("string" => " "), - array("string"=>_("Department name")), - array("string" =>_("Actions"), "attach" => "style='text-align: right;border:none'"))); - + $divlist->SetHeader(array( + array("string" => " "), + array("string"=>_("Department name")), + array("string" =>_("Actions"), "attach" => "style='border:none;'"))); foreach($this->departments as $key => $val) { if(!isset($this->config->departments[trim($key)])){ @@ -313,12 +313,11 @@ class departmentManagement extends plugin $non_empty="full"; } } - $title = $this->config->departments[$key]; $field0 = array("string" => "department","attach"=>"style='width:20px;'"); - $field1 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "style='width:90%' title='".$title."'"); - $field2 = array("string" => preg_replace("/%KEY%/", base64_encode($key), $actions),"attach"=>"style='text-align:left;border:none'"); + $field1 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "style='width:516px' title='".$title."'"); + $field2 = array("string" => preg_replace("/%KEY%/", base64_encode($key), $actions),"attach"=>"style='text-align:left;border:none;width:48px;'"); $divlist->AddEntry( array($field0,$field1,$field2)); -- 2.30.2