Summary | Notspam option broken |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | grahamcw (at) hurleybulldogs (dot) com |
Created | 04/05/2005 (7422 days ago) |
Due | |
Updated | 04/05/2005 (7422 days ago) |
Assigned | |
Resolved | 04/05/2005 (7422 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
overview or on an open message.
State ⇒ Not A Bug
should have fixed.
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notspam option broken
Queue ⇒ IMP
--- /root/horde/imp/templates/message/navbar_actions.inc Tue
Mar 22 23:13:26 2005
+++ navbar_actions.inc Tue Apr 5 01:00:10 2005
@@ -34,7 +34,7 @@
<?php if (isset($spam_link) && $imp['mailbox'] !=
IMP::addPreambleString($prefs->getValue('spam_folder'))): ?>
| <?php echo Horde::widget($spam_link, _("Report as Spam"),
'widget', '', '', _("Report as Spam"), true) ?>
<?php endif; ?>
-<?php if (isset($notspam_link) && $imp['mailbox'] ==
IMP::addPreambleString($prefs->getValue('spam_folder'))): ?>
+<?php if (isset($notspam_link)): ?>
| <?php echo Horde::widget($notspam_link, _("Report as Innocent"),
'widget', '', '', _("Report as Innocent"), true) ?>
<?php endif; ?>
</td>
--- /root/horde/imp/templates/mailbox/actions.inc Fri Apr 9
10:31:10 2004
+++ actions.inc Tue Apr 5 00:46:24 2005
@@ -22,8 +22,9 @@
<?php if ($conf['spam']['reporting']): ?>
<?php if ($imp['mailbox'] !=
IMP::addPreambleString($prefs->getValue('spam_folder'))): ?>
| <?php echo Horde::widget('', _("Report as Spam"), 'widget',
'', "Submit('spam_report'); return false;", _("Report as Spam")); ?>
-<?php else: ?>
- | <?php echo Horde::widget('', _("Report as Innocent"), 'widget',
'', "Submit('notspam_report'); return false;", _("Report as
Innocent")); ?>
+<?php endif; ?>
+<?php if ($conf['notspam']['reporting']): ?>
+ | <?php echo Horde::widget('', _("Report as Innocent"),
'widget', '', "Submit('notspam_report'); return false;", _("Report as
Innocent")); ?>
<?php endif; ?>
<?php endif; ?>