6.0.0-beta1
7/31/25

[#1691] Notspam option broken
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

History
04/05/2005 09:09:51 AM grahamcw (at) hurleybulldogs (dot) com Comment #3 Reply to this comment
The  "report as innocent" option wasn't visible on either the mail 
overview or on an open message.
04/05/2005 07:19:35 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
This patch doesn't "fix" anything. And you didn't even tell *what* it 
should have fixed.
04/05/2005 06:17:18 AM grahamcw (at) hurleybulldogs (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notspam option broken
Queue ⇒ IMP
Reply to this comment
My try at a fix -  and I didn't honor the spam folder - since it's notspam



--- /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; ?>






Saved Queries