aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd_db.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-07-15 22:21:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-07-15 22:21:00 +0000
commitec9fcb0c3a7b05003f61825ccd7d06f71410bac0 (patch)
tree2f6b27537031e93aa0e378846ee258e62b42a999 /packages/spamd_db.php
parentf2114c86ed31970174636d270c1725c12e9dda8e (diff)
downloadpfsense-packages-ec9fcb0c3a7b05003f61825ccd7d06f71410bac0.tar.gz
pfsense-packages-ec9fcb0c3a7b05003f61825ccd7d06f71410bac0.tar.bz2
pfsense-packages-ec9fcb0c3a7b05003f61825ccd7d06f71410bac0.zip
Fix spamtrap button on right hand side
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r--packages/spamd_db.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php
index 17ce2a9f..a611e893 100644
--- a/packages/spamd_db.php
+++ b/packages/spamd_db.php
@@ -422,7 +422,7 @@ if (typeof getURL == 'undefined') {
$rowtext = "<NOBR><a href='javascript:toggle_on(\"w{$rows}\", \"/themes/{$g['theme']}/images/icons/icon_plus_p.gif\"); getURL(\"spamd_db.php?buttonid=w{$rows}&srcip={$srcip}&action=whitelist\", outputrule);'><img title=\"Add to whitelist\" name='w{$rows}' id='w{$rows}' border=\"0\" alt=\"Add to whitelist\" src=\"/themes/{$g['theme']}/images/icons/icon_plus.gif\"></a> ";
$rowtext .= "<a href='javascript:toggle_on(\"b{$rows}\", \"/themes/{$g['theme']}/images/icons/icon_trapped_p.gif\");getURL(\"spamd_db.php?buttonid=b{$rows}&srcip={$srcip}&action=trapped\", outputrule);'><img title=\"Blacklist\" name='b{$rows}' id='b{$rows}' border=\"0\" alt=\"Blacklist\" src=\"/themes/{$g['theme']}/images/icons/icon_trapped.gif\"></a> ";
$rowtext .= "<a href='javascript:toggle_on(\"d{$rows}\", \"/themes/{$g['theme']}/images/icons/icon_x_p.gif\");getURL(\"spamd_db.php?buttonid=d{$rows}&srcip={$srcip}&action=delete\", outputrule);'><img title=\"Delete\" border=\"0\" name='d{$rows}' id='d{$rows}' alt=\"Delete\" src=\"./themes/{$g['theme']}/images/icons/icon_x.gif\"></a>";
- $rowtext .= "<a href='javascript:delete_row_db(\"{$rows}\"); toggle_on(\"s{$rows}\", \"/themes/{$g['theme']}/images/icons/icon_plus_bl_p.gif\");getURL(\"spamd_db.php?buttonid=s{$rows}&spamtrapemail={$toaddress}&action=spamtrap\", outputrule);'><img title=\"Spamtrap\" name='s{$rows}' id='s{$rows}' border=\"0\" alt=\"Spamtrap\" src=\"./themes/{$g['theme']}/images/icons/icon_plus_bl.gif\"></a> ";
+ $rowtext .= "<a href='javascript:toggle_on(\"s{$rows}\", \"/themes/{$g['theme']}/images/icons/icon_plus_bl_p.gif\");getURL(\"spamd_db.php?buttonid=s{$rows}&spamtrapemail={$toaddress}&action=spamtrap\", outputrule);'><img title=\"Spamtrap\" name='s{$rows}' id='s{$rows}' border=\"0\" alt=\"Spamtrap\" src=\"./themes/{$g['theme']}/images/icons/icon_plus_bl.gif\"></a> ";
echo $rowtext;