Code

Closes #266 removed additional padding from service header in systems
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 07:23:29 +0000 (07:23 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 26 Nov 2007 07:23:29 +0000 (07:23 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7879 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_divListSystemService.inc

index 041f339b1aa44e1e2890d190fde2700ab42b38ee..9bff2bdf89e52809dd58b9cb37d8fd38f3996bbc 100644 (file)
@@ -38,15 +38,7 @@ class divListSystemService extends MultiSelectWindow
     /* Prepare departments,
        which are shown in the listbox on top of the listbox
      */
-    $options= "";
-    foreach ($this->config->idepartments as $key => $value){
-      if ($this->selectedBase == $key){
-        $options.= "<option selected='selected' value='$key'>$value</option>";
-      } else {
-        $options.= "<option value='$key'>$value</option>";
-      }
-    }
-    $listhead = "<div style='background:#F0F0F9;padding:5px;'>".
+    $listhead = "<div style='background:#F0F0F9;height:16px;padding:0px;'>".
     " <input type='image' align='middle' src='images/select_new_server.png' class='center' 
         name='addNewService' alt='"._("Add service")."' title='"._("Add new service")."'>&nbsp;".
     " <img class='center' src='images/list_seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;".