Code

All Lists are now scrollable.
[gosa.git] / plugins / admin / applications / class_applicationManagement.inc
index 22e3947ae3ea931e0de563c0b4c31d72fd4a4483..8924f4382169ffce8f537c61ada935d60ce37cf4 100644 (file)
@@ -353,9 +353,9 @@ class applicationManagement extends plugin
 
         $divlist = new divlist("applicationtabs");
         $divlist->SetHeader(array(
-              array("string" => ""),
-              array("string" => _("Application name")." / "._("Department")),
-              array("string" => _("Actions")    ,"attach"=>"style='border:none;width:40px;'")
+              array("string" => " ", "attach" => "style='text-align:center;width:20px;'"),
+              array("string" => _("Application name")." / "._("Department"), "attach" => "style=''"),
+              array("string" => _("Actions"), "attach" => "style='width:52px;border-right:0px;text-align:right;'")
               ));
 
 
@@ -376,9 +376,9 @@ class applicationManagement extends plugin
             }
           }
 
-          $field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>","attach"=>"style='width:20px;text-align:center;'");
-          $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val));
-          $field3 = array("string" => "&nbsp;","attach"=>"style='width:48px;text-align:left;border:none'");
+          $field1 = array("string" => "<img src='images/".$non_empty."folder.png' alt='department'>", "attach" => "style='text-align:center;width:20px;'");
+          $field2 = array("string" => sprintf($linkopen,base64_encode($key),$val), "attach" => "style=''");
+          $field3 = array("string" => "&nbsp;", "attach" => "style='width:52px;border-right:0px;text-align:right;'");
 
           $divlist->AddEntry(array($field1,$field2,$field3));
         }
@@ -391,9 +391,9 @@ class applicationManagement extends plugin
           }else{
             $desc = " - [ ".$val['description'][0]." ]";
           }
-          $field1 = array("string" => sprintf($applimg,$val['dn']),"attach"=>"style='width:20px;align:center;text-align:center;'");
-          $field2 = array("string" => sprintf($editlink,$key,($val['cn']['0'].$desc)),"attach"=>$title);
-          $field3 = array("string" => preg_replace("/%KEY%/", $key, $actions),"attach"=>"style='width:48px;text-align:right;border:none'");
+          $field1 = array("string" => sprintf($applimg,$val['dn']), "attach" => "style='text-align:center;width:20px;'");
+          $field2 = array("string" => sprintf($editlink,$key,($val['cn']['0'].$desc)), "attach" => "style='' ".$title);
+          $field3 = array("string" => preg_replace("/%KEY%/", $key, $actions), "attach" => "style='width:52px;border-right:0px;text-align:right;'");
 
           $divlist->AddEntry(array($field1,$field2,$field3));
         }