diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc
index 798aafb5c3ade8628847f4dfadc2dba7589876c0..e76ee82ffe76c1f3b03b584ae666d11c30ea83f5 100644 (file)
/* 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;
/* 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")."'> ".
- " <img class='center' src='images/lists/seperator.png' align='middle' alt='-' height='16' width='1'> ";
-
+ title='"._("Reload list")."' name='submit_department' alt='"._("Submit")."'> ";
+ if ($seperator){
+ $listhead.= " <img class='center' src='images/lists/seperator.png' align='middle' alt='-' height='16' width='1'> ";
+ }
return ($listhead);
}
$str = "<img class='center' src='images/lists/restore_grey.png' alt=''> ";
}
}
-# $str .= "<img class='center' src='images/lists/seperator.png' align='middle' alt='' height='16' width='1'> ";
}
return($str);
}