Adding fix that allows submiting attached spams with web based reporting form
(thanks to Magnus Henoch <mange at freemail.hu>)
Removing page header display, when form is opened in new window.
Removing insertion of javascript, when javascript is disabled.
(With many thanks to Jason Wickers (jwickers at scs.wsu.edu))
----
There are still a few minor things to iron out, but overall
it works fairly well at this point. Any plugin that calls
DisplayPageHeader() will now have to replace their </body></html>
with a simple call to noframes_bottom() to be compatible...
(Possibly rename that function to DisplayPageFooter in the future)
specific checks before starting. Fix a bug in the Location:
redirect which redirected the user back to the plugin, which
should have been the general options page.
(and should stay only in devel for now), but I'm committing it so others
can take a look and work on it too. Basic functionality is there, now
needs existing plugins added as backends, and implementing "extra" features
such as forcing SSL.
Again, this is a "rough" version, so please change/improve anything
you'd like to be changed.
Added @package and @subpackage tags.
Some cases of define() for SM_PATH were tagged @ignore to reduce the number of phpdocumentor warnings - this may need to be done everywhere else, or removed where I've done it so far. We'll see.
and hope it's now working again and at least is a bit faster.
It need to be tested very well because during my tests I got 3000 messages
moved to the trash folder because ip 127.0.0.1 was entitled as spam.
Hopefully it doesn't happen again. Be carefull with the var YourHop because
default it's ' ' which will match the last added Received header and quits
looking for the rest of the headers. If the last added header (the first
when you look top down) contains 127.0.0.1 then the message might be deleted
if you enabled all the spam blacklists.
People who actually use this plugin should take a look.
The next time I touch this plugin again strip all the functions and echo a
link to spamassasin, procmail and sieve server side filters.
starts at 9 is not displayed below one that starts at 17. Include the
time in the tooltips. Remove some E_ALL notices. This whole calendarcode
needs some serious maintentance, but that's for later.
$thread_sort_messages was being checked, but it was always unset since it is declared in mailbox_display.php. Once you're in the message view, that's gone. So grab the value of thread_sort_messages from prefs, defaulting to 0 (no) if there's no pref set.
PLEASE TEST THIS - It "works for me", but that's always the case, isn't it?
to change number of available languages or language pairs without
squirrelmail.po update. Different string used for InterTran is not mistake.
It looks better when string says "Number of supported languages = 28"
instead of "Number of supported language pairs = 28^2"
the comp_in_new works the same everywhere.
In this new function, make sure that comp_in_new still works when
JavaScript off.
When JavaScript off, do not output all kinds of JavaScript functions
which are never going to be called.