Couple of visual tweaks

This commit is contained in:
Latif Khalifa
2013-10-13 11:00:43 +02:00
parent a787ed7255
commit 8ccc4986ac
2 changed files with 5 additions and 4 deletions

View File

@@ -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("/((::|&lt;|&gt;|,|\\(|\\)))/", "<wbr/>\\1<wbr/>", htmlentities($parts[1]));
if ($txt) $txt .= "<br/><br/>";
if ($parts[2]) $txt .= preg_replace("/((&lt;|&gt;|,|\\(|\\)))/", "&thinsp;\\1&thinsp;", htmlentities($parts[2]));
if ($parts[2]) $txt .= preg_replace("/((::|&lt;|&gt;|,|\\(|\\)))/", "<wbr/>\\1<wbr/>", htmlentities($parts[2]));
if (!$txt) $txt = "&nbsp;";
?>
<tr class="rowhighlight">
<td style="text-align: right"><a href="<?php echo rl_s($r) ?>"><?php echo htmlentities($r->nr) ?></a></td>