From: Paul L. <pa...@sq...> - 2008-01-16 19:36:39
|
On Jan 16, 2008 3:35 AM, TomT <to...@ad...> wrote: > Hi > I've installed Spam Buttons plugin v2.0 on to SquirrelMail 1.4.9 and it > works well. > > I've just installed it on SquirrelMail 1.5.1 and it works well, but the > spam / not spam buttons only show when viewing a message. > > Never when viewing a list of messages. You really should not be using 1.5.1. It is years old and full of known security exploits. If you insist, here is a patch that should make the spam buttons show up in an awkward place on top of the message list. This will be fixed with the new release that is pending for this or next week (I simply need some beta testers). --- ../../functions/mailbox_display.php.orig 2008-01-09 00:35:15.000000000 -0800 +++ ../../functions/mailbox_display.php 2008-01-09 00:35:22.000000000 -0800 @@ -1100,6 +1100,7 @@ } $aFormElements['account'] = array($iAccount,'hidden'); } + do_hook('message_list_controls', $aFormElements); /* * This is the beginning of the message list table. > On 1.4.9 I get the buttons in the folder lists as well as in the message.. > > I have copied my Spam Buttons config.php from 1.4.9 to 1.5.1 just to make > sure I missed a setting. > > Any ideas ? > > Thanks > |