Code

Added additional <br> tags to msgPool::deleteInfo
[gosa.git] / gosa-core / include / class_MultiSelectWindow.inc
index 798aafb5c3ade8628847f4dfadc2dba7589876c0..e76ee82ffe76c1f3b03b584ae666d11c30ea83f5 100644 (file)
@@ -211,7 +211,7 @@ class MultiSelectWindow{
 
 
   /* Return default header part. With back, home and root icons and department selection */
-  function get_default_header()
+  function get_default_header($seperator= TRUE)
   {
     $enable_back = TRUE;
     $enable_root = TRUE;
@@ -260,9 +260,10 @@ class MultiSelectWindow{
    
     /* And at least draw reload button, this button is enabled everytime */ 
     $listhead .=  " <input class='center' type='image' src='images/lists/reload.png' align='middle'
-      title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'>&nbsp;".
-      " <img   class='center' src='images/lists/seperator.png' align='middle' alt='-' height='16' width='1'>&nbsp;";
-
+      title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'>&nbsp;";
+    if ($seperator){
+      $listhead.= " <img   class='center' src='images/lists/seperator.png' align='middle' alt='-' height='16' width='1'>&nbsp;";
+    }
     return ($listhead);
   }
 
@@ -658,7 +659,6 @@ class MultiSelectWindow{
           $str = "<img class='center' src='images/lists/restore_grey.png' alt=''>&nbsp;";
         }
       }
-#      $str .= "<img class='center' src='images/lists/seperator.png' align='middle' alt='' height='16' width='1'>&nbsp;";
     }
     return($str);
   }