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.
1: Removal of preleading space caused by decodeHeader.
2: Changed call to decodeHeader from compose to htmlsafe = false so we do
not see spaces changed to => wordwrap stops working;
Thijs <aap
(no closing ">"), parseAddress would enter an infinite loop. This is
solved by increasing $pos when no closing > is found. Closes 742584,
thanks Jeroen van Wolffelaar.
Now we can handle returned fetch responses with a different order of
returned arguments. UID i.e. can be properly detected if it is returned
after the HEADER data.
Another issue I fixed is adapting the msgs_id_str to 1:* in case we request all
headers for a mailbox.
If we don't do that the msgs_id_str can become pretty large and in my case
it was 12kb large and the imap server returned a BYE, querystring to long.
We should inspect the last issue better because there are situations where I
can still trigger the error. Setting the number of messages to display to a
large value would cause a BYE again.
charset for gettext enabled php. For example ru_RU locale in ISO8859-5
and SquirrelMail ru_RU translation done in koi8-r or cp1251.
Works only with php 4.2+, but squirrelmail can function without it.
Thanks to Viktor S. Grishchenko and Grisha Mokhin
(general meaning not images, not messages, not something we have
other special handling for)..
The link with the attachment name should allow a view (if the type
is known, while the download link will swizzle to application/octet-stream
for download purposes...
also fixed some SM_PATH references
Correctly retrieve values from global vars in case where
4.1 superglobals are not defined..
(Problem caused by references made in global scope not existing within
function scope).