Code

fixed style
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Nov 2005 13:14:44 +0000 (13:14 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 4 Nov 2005 13:14:44 +0000 (13:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1832 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/departments/class_departmentManagement.inc

index c7540f3d8d22d9dee69db7b01071ee3e86a71ba2..38451b25a76e3b7a34946d5084f4187541b2eea4 100644 (file)
@@ -296,10 +296,10 @@ class departmentManagement extends plugin
 
                        $linkopen = "<a href='?plug=".$_GET['plug']."&amp;act=dep_open&amp;dep_id=%s'>%s</a>";
 
-                       $divlist->SetHeader(array(array("string" => "&nbsp;"),
-                                                                         array("string"=>_("Department name")),
-                                      array("string" =>_("Actions"), "attach" => "style='text-align:  right;border:none'")));
-
+                       $divlist->SetHeader(array(
+                                               array("string" => "&nbsp;"),
+                                               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" => "<img src='images/".$non_empty."folder.png' title='"._("department")."' alt='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));