<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Show &quot;Report as __&quot; links everywhere -- config option</title> 
  <pubDate>Fri, 10 Apr 2026 17:30:47 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/1096</link> 
  <atom:link rel="self" type="application/rss+xml" title="Show &quot;Report as __&quot; links everywhere -- config option" href="https://bugs.horde.org/ticket/1096/rss" /> 
  <description>Show &quot;Report as __&quot; links everywhere -- config option</description> 
 
   
   
  <item> 
   <title>I changed the IMP config a little bit to support configuring</title> 
   <description>I changed the IMP config a little bit to support configuring where the &quot;Report as&quot; spam/innocent links appear; in our setup, users do not have a separate spam folder (we just annotate the Subject header), so the defaults didn&#039;t make sense.



Here&#039;s a patch:



*** templates/message/navbar_actions.inc.original	2005-01-04 16:46:06.000000000 -0600

--- templates/message/navbar_actions.inc	2005-01-06 15:19:54.000000000 -0600

***************

*** 30,37 ****

   | &lt;?php echo Horde::widget($save_link, _(&quot;Save as&quot;), &#039;widget&#039;, &#039;&#039;, &#039;&#039;, _(&quot;Sa_ve as&quot;), 2) ?&gt;

   | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Print&quot;), &#039;widget&#039;, &#039;&#039;, &quot;open_print_win(&#039;&quot; . $print_link . &quot;&#039;); return false;&quot;, _(&quot;_Print&quot;), true) ?&gt;

! &lt;?php if (isset($spam_link) &amp;&amp; $imp[&#039;mailbox&#039;] != IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;))): ?&gt;

   | &lt;?php echo Horde::widget($spam_link, _(&quot;Report as Spam&quot;), &#039;widget&#039;, &#039;&#039;, &#039;&#039;, _(&quot;Report as Spam&quot;), true) ?&gt;

  &lt;?php endif; ?&gt;

! &lt;?php if (isset($notspam_link) &amp;&amp;  $imp[&#039;mailbox&#039;] == IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;))): ?&gt;

   | &lt;?php echo Horde::widget($notspam_link, _(&quot;Report as Innocent&quot;), &#039;widget&#039;, &#039;&#039;, &#039;&#039;, _(&quot;Report as Innocent&quot;), true) ?&gt;

  &lt;?php endif; ?&gt;

--- 30,37 ----

   | &lt;?php echo Horde::widget($save_link, _(&quot;Save as&quot;), &#039;widget&#039;, &#039;&#039;, &#039;&#039;, _(&quot;Sa_ve as&quot;), 2) ?&gt;

   | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Print&quot;), &#039;widget&#039;, &#039;&#039;, &quot;open_print_win(&#039;&quot; . $print_link . &quot;&#039;); return false;&quot;, _(&quot;_Print&quot;), true) ?&gt;

! &lt;?php if (isset($spam_link) &amp;&amp; ($conf[&#039;spam&#039;][&#039;spamfolder&#039;] || $imp[&#039;mailbox&#039;] != IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;)))): ?&gt;

   | &lt;?php echo Horde::widget($spam_link, _(&quot;Report as Spam&quot;), &#039;widget&#039;, &#039;&#039;, &#039;&#039;, _(&quot;Report as Spam&quot;), true) ?&gt;

  &lt;?php endif; ?&gt;

! &lt;?php if (isset($notspam_link) &amp;&amp; ($conf[&#039;notspam&#039;][&#039;spamfolder&#039;] || $imp[&#039;mailbox&#039;] == IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;)))): ?&gt;

   | &lt;?php echo Horde::widget($notspam_link, _(&quot;Report as Innocent&quot;), &#039;widget&#039;, &#039;&#039;, &#039;&#039;, _(&quot;Report as Innocent&quot;), true) ?&gt;

  &lt;?php endif; ?&gt;

*** templates/mailbox/actions.inc.orig	2005-01-04 16:48:45.000000000 -0600

--- templates/mailbox/actions.inc	2005-01-06 15:38:06.000000000 -0600

***************

*** 20,29 ****

  &lt;?php endif; ?&gt;

      | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Forward&quot;), &#039;widget&#039;, &#039;&#039;, &quot;Submit(&#039;fwd_digest&#039;); return false;&quot;, _(&quot;Fo_rward&quot;)) ?&gt;

! &lt;?php if ($conf[&#039;spam&#039;][&#039;reporting&#039;]): ?&gt;

! &lt;?php if ($imp[&#039;mailbox&#039;] != IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;))): ?&gt;

      | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Report as Spam&quot;), &#039;widget&#039;, &#039;&#039;, &quot;Submit(&#039;spam_report&#039;); return false;&quot;, _(&quot;Report as Spam&quot;)); ?&gt;

- &lt;?php else: ?&gt;

-     | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Report as Innocent&quot;), &#039;widget&#039;, &#039;&#039;, &quot;Submit(&#039;notspam_report&#039;); return false;&quot;, _(&quot;Report as Innocent&quot;)); ?&gt;

  &lt;?php endif; ?&gt;

  &lt;?php endif; ?&gt;

      &lt;/td&gt;

--- 20,28 ----

  &lt;?php endif; ?&gt;

      | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Forward&quot;), &#039;widget&#039;, &#039;&#039;, &quot;Submit(&#039;fwd_digest&#039;); return false;&quot;, _(&quot;Fo_rward&quot;)) ?&gt;

! &lt;?php if ($conf[&#039;spam&#039;][&#039;reporting&#039;] &amp;&amp; ($conf[&#039;spam&#039;][&#039;spamfolder&#039;] || $imp[&#039;mailbox&#039;] != IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;)))): ?&gt;

      | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Report as Spam&quot;), &#039;widget&#039;, &#039;&#039;, &quot;Submit(&#039;spam_report&#039;); return false;&quot;, _(&quot;Report as Spam&quot;)); ?&gt;

  &lt;?php endif; ?&gt;

+ &lt;?php if ($conf[&#039;notspam&#039;][&#039;reporting&#039;] &amp;&amp; (!$conf[&#039;notspam&#039;][&#039;spamfolder&#039;] || $imp[&#039;mailbox&#039;] == IMP::addPreambleString($prefs-&gt;getValue(&#039;spam_folder&#039;)))): ?&gt;

+     | &lt;?php echo Horde::widget(&#039;&#039;, _(&quot;Report as Innocent&quot;), &#039;widget&#039;, &#039;&#039;, &quot;Submit(&#039;notspam_report&#039;); return false;&quot;, _(&quot;Report as Innocent&quot;)); ?&gt;

  &lt;?php endif; ?&gt;

      &lt;/td&gt;

*** config/conf.xml.original	2005-01-06 15:38:43.000000000 -0600

--- config/conf.xml	2005-01-06 15:19:06.000000000 -0600

***************

*** 159,164 ****

     &lt;configheader&gt;Spam Reporting&lt;/configheader&gt;

     &lt;configboolean name=&quot;reporting&quot; desc=&quot;Should we display a &#039;report this

!    message as spam&#039; link in the message view?&quot;&gt;false&lt;/configboolean&gt;

!    &lt;configstring name=&quot;email&quot; required=&quot;false&quot; desc=&quot;If so, should we report

     them via email? The messages will be sent to this address in a single

     multipart/digest message (useful for reporting to an admin user, for

--- 159,166 ----

     &lt;configheader&gt;Spam Reporting&lt;/configheader&gt;

     &lt;configboolean name=&quot;reporting&quot; desc=&quot;Should we display a &#039;report this

!    message as spam&#039; link?&quot;&gt;false&lt;/configboolean&gt;

!    &lt;configboolean name=&quot;spamfolder&quot; desc=&quot;If so, should the link also appear

!    in the user&#039;s spam folder?&quot;&gt;false&lt;/configboolean&gt;

!    &lt;configstring name=&quot;email&quot; required=&quot;false&quot; desc=&quot;Should we report

     them via email? The messages will be sent to this address in a single

     multipart/digest message (useful for reporting to an admin user, for

***************

*** 174,179 ****

    &lt;configsection name=&quot;notspam&quot;&gt;

     &lt;configboolean name=&quot;reporting&quot; desc=&quot;Should we display a &#039;report this

!    message as innocent&#039; link in the message view?&quot;&gt;false&lt;/configboolean&gt;

!    &lt;configstring name=&quot;email&quot; required=&quot;false&quot; desc=&quot;If so, should we report

     them via email? The messages will be sent to this address in a single

     multipart/digest message (useful for reporting to an admin user, for

--- 176,183 ----

    &lt;configsection name=&quot;notspam&quot;&gt;

     &lt;configboolean name=&quot;reporting&quot; desc=&quot;Should we display a &#039;report this

!    message as innocent&#039; link?&quot;&gt;false&lt;/configboolean&gt;

!    &lt;configboolean name=&quot;spamfolder&quot; desc=&quot;If so, should the link only appear

!    in the user&#039;s spam folder?&quot;&gt;true&lt;/configboolean&gt;

!    &lt;configstring name=&quot;email&quot; required=&quot;false&quot; desc=&quot;Should we report

     them via email? The messages will be sent to this address in a single

     multipart/digest message (useful for reporting to an admin user, for

</description> 
   <pubDate>Thu, 06 Jan 2005 21:43:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1096#t4257</link> 
  </item> 
   
  <item> 
   <title>you need to upload patches as text file attachments, not pas</title> 
   <description>you need to upload patches as text file attachments, not paste them in - the linewrapping gets butchered.</description> 
   <pubDate>Fri, 07 Jan 2005 04:12:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1096#t4275</link> 
  </item> 
   
  <item> 
   <title>sorry -- here</title> 
   <description>sorry -- here</description> 
   <pubDate>Fri, 07 Jan 2005 04:17:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1096#t4276</link> 
  </item> 
   
  <item> 
   <title>Committed, thanks!</title> 
   <description>Committed, thanks!</description> 
   <pubDate>Sun, 26 Jun 2005 05:09:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/1096#t9390</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
