aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd_db.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-03 20:36:50 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-03 20:36:50 +0000
commit5da17152f3a6201fca34674f9801a29ee4c9b296 (patch)
treedb140508b0f8088e6ff6db96b66e16b3442ee012 /packages/spamd_db.php
parente04a2bd3a1c45a26f24200335b5bbdf061198baa (diff)
downloadpfsense-packages-5da17152f3a6201fca34674f9801a29ee4c9b296.tar.gz
pfsense-packages-5da17152f3a6201fca34674f9801a29ee4c9b296.tar.bz2
pfsense-packages-5da17152f3a6201fca34674f9801a29ee4c9b296.zip
Allow breaking on - and ., too.
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r--packages/spamd_db.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php
index 7d13d07f..ffa42ca9 100644
--- a/packages/spamd_db.php
+++ b/packages/spamd_db.php
@@ -213,8 +213,11 @@ if (typeof getURL == 'undefined') {
/* if string is really long allow it to be wrapped by
* replacing @ with space@
*/
- if(strlen($col)>40)
+ if(strlen($col)>40) {
$col = str_replace("@"," @",$col);
+ $col = str_replace("-"," -",$col);
+ $col = str_replace("."," .",$col);
+ }
$rowtext .= "<td class=\"listr\">{$col}</td>";
$column++;
}