[imp] Highlighting "Report as Spam" menu

Rajkumar S rajkumars at asianetindia.com
Fri Jan 2 05:58:33 UTC 2009


Hi,

I fixed this with an ugly hack!

--- /tmp/message.php    2009-01-02 05:37:31.163784816 +0000
+++ message.php 2009-01-02 05:39:24.200310714 +0000
@@ -604,7 +604,7 @@
     if ($conf['spam']['reporting'] &&
         ($conf['spam']['spamfolder'] ||
          ($mailbox_name !=
IMP::folderPref($prefs->getValue('spam_folder'), true)))) {
-        $a_template->set('spam', Horde::widget('#', _("Report as
Spam"), 'widget', '', "message_submit('spam_report'); return false;",
_("Report as Spam"), true));
+        $a_template->set('spam', Horde::widget('#', _("Report as
Spam"), 'widget', '', "message_submit('spam_report'); return false;",
_("<font color=red>Report as Spam (New!)</font>"), true));
     }

     if ($conf['notspam']['reporting'] &&


I am not sure if this will cause any bigger breakage

raj

On Fri, Jan 2, 2009 at 10:37 AM, Manilal K M <libregeek at gmail.com> wrote:
> May be you have to customize the templates
>
> 2009/1/1 Rajkumar S <rajkumars at asianetindia.com>:
>> No, The text "Report as Spam" that appears along with delete, forwad
>> etc in main view and individual mail view.
>>
>> raj
>>
>> On Thu, Jan 1, 2009 at 10:59 PM, Manilal K M <libregeek at gmail.com> wrote:
>>> Do you mean the icon ?
>>>
>>> 2009/1/1 Rajkumar S <rajkumars at asianetindia.com>:
>>>> Hi,
>>>>
>>>> I have recently enabled spam reporting via  "Report as Spam" but users
>>>> are not quite using it, mostly because it's not quite visible in midst
>>>> of all other menu items.  Is there any way to Highlight the "Report as
>>>> Spam" menu using, say,  bold and red so that it's more noticed by
>>>> users and thus more used?
>>>>
>>>> raj
>>>> --
>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>> Frequently Asked Questions: http://horde.org/faq/
>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>
>>>
>>>
>>>
>>> --
>>> Manilal K M : മണിലാല്‍ കെ എം.
>>> http://libregeek.blogspot.com
>>>
>>
>
>
>
> --
> Manilal K M : മണിലാല്‍ കെ എം.
> http://libregeek.blogspot.com
> --
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>


More information about the imp mailing list