Couple of visual tweaks
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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("/((::|<|>|,|\\(|\\)))/", "<wbr/>\\1<wbr/>", htmlentities($parts[1]));
|
||||
if ($txt) $txt .= "<br/><br/>";
|
||||
if ($parts[2]) $txt .= preg_replace("/((<|>|,|\\(|\\)))/", " \\1 ", htmlentities($parts[2]));
|
||||
if ($parts[2]) $txt .= preg_replace("/((::|<|>|,|\\(|\\)))/", "<wbr/>\\1<wbr/>", htmlentities($parts[2]));
|
||||
if (!$txt) $txt = " ";
|
||||
?>
|
||||
<tr class="rowhighlight">
|
||||
<td style="text-align: right"><a href="<?php echo rl_s($r) ?>"><?php echo htmlentities($r->nr) ?></a></td>
|
||||
|
||||
Reference in New Issue
Block a user