diff --git a/htdocs/crashes.php b/htdocs/crashes.php index 3b23f49..90e7e14 100644 --- a/htdocs/crashes.php +++ b/htdocs/crashes.php @@ -71,9 +71,9 @@ $filter->render(); x -= dwidth + 40; } - var y = e.pageY + $(document).scrollTop(); + var y = e.pageY - $(document).scrollTop(); var dheight = $dialog.height(); - if (dheight < 40) dheight = 40; + if (dheight < 70) dheight = 70; //console.debug("y=" + y + "; wheight=" + $(window).height() + ": dheight=" + dheight); if (y < $(window).height() - dheight - 40) { diff --git a/htdocs/statistics.php b/htdocs/statistics.php index fa94800..3c92018 100644 --- a/htdocs/statistics.php +++ b/htdocs/statistics.php @@ -48,9 +48,10 @@ $filter->render(); foreach($sigs as $r): $parts = explode("|", $r->signature_text); $txt = ""; - if ($parts[1]) $txt .= preg_replace("/((<|>|,|\\(|\\)))/", " \\1 ", htmlentities($parts[1])); + if ($parts[1]) $txt .= preg_replace("/((::|<|>|,|\\(|\\)))/", "\\1", htmlentities($parts[1])); if ($txt) $txt .= "

"; - if ($parts[2]) $txt .= preg_replace("/((<|>|,|\\(|\\)))/", " \\1 ", htmlentities($parts[2])); + if ($parts[2]) $txt .= preg_replace("/((::|<|>|,|\\(|\\)))/", "\\1", htmlentities($parts[2])); + if (!$txt) $txt = " "; ?> nr) ?>