squirrelmail.git
21 years agoMake sure a token isn't blank before adding it
indiri69 [Fri, 22 Aug 2003 16:58:54 +0000 (16:58 +0000)]
Make sure a token isn't blank before adding it

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5546 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: sort mailboxes naturally, handle special folders the same as in oldway...
alex-brainstorm [Fri, 22 Aug 2003 01:28:16 +0000 (01:28 +0000)]
advanced_tree: sort mailboxes naturally, handle special folders the same as in oldway (subs and hook)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5545 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: fix special folder color display
alex-brainstorm [Fri, 22 Aug 2003 00:52:58 +0000 (00:52 +0000)]
advanced_tree: fix special folder color display

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5544 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded a semicolon on the lt and gt tags
indiri69 [Thu, 21 Aug 2003 18:10:33 +0000 (18:10 +0000)]
Added a semicolon on the lt and gt tags

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5543 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoHandle attributes that have colons (:) in them. MS apps tend to use them alot when...
indiri69 [Thu, 21 Aug 2003 17:24:10 +0000 (17:24 +0000)]
Handle attributes that have colons (:) in them.  MS apps tend to use them alot when they export.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5542 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdd New Criteria now duplicates the last Criteria
alex-brainstorm [Thu, 21 Aug 2003 13:20:51 +0000 (13:20 +0000)]
Add New Criteria now duplicates the last Criteria

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5541 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoReplace all session_start() calls with sqsession_is_active(). The latter
kink [Thu, 21 Aug 2003 09:40:53 +0000 (09:40 +0000)]
Replace all session_start() calls with sqsession_is_active(). The latter
is a conditional session_start which will only start a session if none
has been before. This will make us compatible with the upcoming PHP 4.3.3
release. Thanks Phil Driscoll for the tip.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5535 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadd option to shorten the length of the From field.
ebullient [Thu, 21 Aug 2003 00:57:45 +0000 (00:57 +0000)]
add option to shorten the length of the From field.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5534 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoStrings update
philippe_mingo [Wed, 20 Aug 2003 10:44:33 +0000 (10:44 +0000)]
Strings update

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5533 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSmall string fix
philippe_mingo [Wed, 20 Aug 2003 07:10:22 +0000 (07:10 +0000)]
Small string fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5532 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSpanish Strings
philippe_mingo [Wed, 20 Aug 2003 07:06:06 +0000 (07:06 +0000)]
Spanish Strings

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5531 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofix
stekkel [Tue, 19 Aug 2003 21:46:42 +0000 (21:46 +0000)]
fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5530 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoThis should work too (even better)
stekkel [Tue, 19 Aug 2003 21:45:13 +0000 (21:45 +0000)]
This should work too (even better)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5529 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofix for bug #784193
stekkel [Tue, 19 Aug 2003 21:35:27 +0000 (21:35 +0000)]
fix for bug #784193

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5526 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoreplace htmlentities() with htmlspecialchars() since it is broken with non iso-8859...
alex-brainstorm [Sun, 17 Aug 2003 15:26:50 +0000 (15:26 +0000)]
replace htmlentities() with htmlspecialchars() since it is broken with non iso-8859-1 8bit chars

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5510 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoreplace htmlentities() with htmlspecialchars() since it is broken with non iso-8859...
alex-brainstorm [Sun, 17 Aug 2003 15:21:08 +0000 (15:21 +0000)]
replace htmlentities() with htmlspecialchars() since it is broken with non iso-8859-1 8bit chars

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5509 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded tis-620 decoding
tokul [Sun, 17 Aug 2003 14:04:29 +0000 (14:04 +0000)]
Added tis-620 decoding

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5508 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAs Alex pointed out, I neglected to commit move_messages when I modified the copy...
tassium [Sun, 17 Aug 2003 14:00:44 +0000 (14:00 +0000)]
As Alex pointed out, I neglected to commit move_messages when I modified the copy/move functions.
Thanks Alex!

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5507 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years ago#200412
stekkel [Fri, 15 Aug 2003 16:57:54 +0000 (16:57 +0000)]
#200412

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5505 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoWorkaround for mozilla bug #200412.
stekkel [Fri, 15 Aug 2003 16:57:15 +0000 (16:57 +0000)]
Workaround for mozilla bug #200412.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5504 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agosqimap_msgs_list_copy now does what you'd expect it to.
tassium [Fri, 15 Aug 2003 14:46:15 +0000 (14:46 +0000)]
sqimap_msgs_list_copy now does what you'd expect it to.
sqimap_msgs_list_move does what _copy USED to do.
Only one reference to that function needed to be changed in the core code.
No core plugins use it.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5502 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofixed bug 777849 (unnecessary   from subject)
centaurix [Thu, 14 Aug 2003 19:15:30 +0000 (19:15 +0000)]
fixed bug 777849 (unnecessary   from subject)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5501 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix for username/password display in IMAP disconnect error code
tassium [Mon, 11 Aug 2003 17:52:03 +0000 (17:52 +0000)]
Fix for username/password display in IMAP disconnect error code
Fix theme loading order to avoid incomplete $color array when an imcomplete theme is used.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5500 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix to prevent query containing username and password from being displayed if imap...
tassium [Mon, 11 Aug 2003 17:11:14 +0000 (17:11 +0000)]
Fix to prevent query containing username and password from being displayed if imap connection fails during login.  Similar code committed to stable as well.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5498 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agotypo!
pdontthink [Sun, 10 Aug 2003 20:01:38 +0000 (20:01 +0000)]
typo!

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5496 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: retrieve form data, so collapse info is effectively loaded/saved
alex-brainstorm [Thu, 7 Aug 2003 00:56:11 +0000 (00:56 +0000)]
advanced_tree: retrieve form data, so collapse info is effectively loaded/saved

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5495 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoStop error messages just in case CHMOD is disabled by PHP
cigamit [Sun, 3 Aug 2003 23:49:52 +0000 (23:49 +0000)]
Stop error messages just in case CHMOD is disabled by PHP

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5494 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdds recode and iconv functions (disabled by default) and fixes possible
tokul [Sat, 2 Aug 2003 08:23:11 +0000 (08:23 +0000)]
Adds recode and iconv functions (disabled by default) and fixes possible
problems if translation is removed but setting is present in user's prefs.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5490 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: Fix for the IE fix that was breaking Opera7 and comments about tested...
alex-brainstorm [Sat, 2 Aug 2003 04:25:06 +0000 (04:25 +0000)]
advanced_tree: Fix for the IE fix that was breaking Opera7 and comments about tested browsers updated

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5489 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdd "attachments_bottom" hook to allow manipulating the attachments
cigamit [Fri, 1 Aug 2003 02:30:03 +0000 (02:30 +0000)]
Add "attachments_bottom" hook to allow manipulating the attachments
or to add to the attachments (Download All plugin)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5488 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: expand/collapse works with IE\!
alex-brainstorm [Fri, 1 Aug 2003 00:44:24 +0000 (00:44 +0000)]
advanced_tree: expand/collapse works with IE\!

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5487 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: work around for IE bug, message count removed if false, preload plus...
alex-brainstorm [Thu, 31 Jul 2003 15:27:29 +0000 (15:27 +0000)]
advanced_tree: work around for IE bug, message count removed if false, preload plus and minus

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5486 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoBroken dependencies... :(
alex-brainstorm [Thu, 31 Jul 2003 00:48:12 +0000 (00:48 +0000)]
Broken dependencies... :(

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5485 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoBroken dependencies... :(
alex-brainstorm [Wed, 30 Jul 2003 23:52:46 +0000 (23:52 +0000)]
Broken dependencies... :(

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5484 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agohtml encode mailbox names
alex-brainstorm [Wed, 30 Jul 2003 14:29:46 +0000 (14:29 +0000)]
html encode mailbox names

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5483 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDo not strip_tags the mailbox name, htmlentities() mailbox name display instead of...
alex-brainstorm [Wed, 30 Jul 2003 14:18:01 +0000 (14:18 +0000)]
Do not strip_tags the mailbox name, htmlentities() mailbox name display instead of htmlspecialchars()

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5482 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: noinferiors mailbox image added, commented out frame sizing buttons...
alex-brainstorm [Wed, 30 Jul 2003 14:08:31 +0000 (14:08 +0000)]
advanced_tree: noinferiors mailbox image added, commented out frame sizing buttons and tree save button so it looks user-friendly

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5481 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdd folder_noinf.png for noinferiors mailbox display
alex-brainstorm [Wed, 30 Jul 2003 14:04:43 +0000 (14:04 +0000)]
Add folder_noinf.png for noinferiors mailbox display

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5480 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoMailbox names are html encoded in select/option and not trimmed out. Store noinferior...
alex-brainstorm [Wed, 30 Jul 2003 14:03:24 +0000 (14:03 +0000)]
Mailbox names are html encoded in select/option and not trimmed out. Store noinferiors flag to be used in left_main advanced tree.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5479 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSame story as THREAD fix. Skip the unsollicited responses
stekkel [Tue, 29 Jul 2003 23:54:49 +0000 (23:54 +0000)]
Same story as THREAD fix. Skip the unsollicited responses

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5476 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agowhoops
stekkel [Tue, 29 Jul 2003 23:16:21 +0000 (23:16 +0000)]
whoops

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5475 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoReduced the number of date calls by 400%
stekkel [Tue, 29 Jul 2003 23:10:15 +0000 (23:10 +0000)]
Reduced the number of date calls by 400%

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5474 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoA forward slash can appear in query of a string, so find the start of a query first.
indiri69 [Tue, 29 Jul 2003 21:29:38 +0000 (21:29 +0000)]
A forward slash can appear in query of a string, so find the start of a query first.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5472 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoClean ups and error checking.
indiri69 [Tue, 29 Jul 2003 16:35:11 +0000 (16:35 +0000)]
Clean ups and error checking.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5469 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoForgot global ;)
alex-brainstorm [Tue, 29 Jul 2003 10:24:20 +0000 (10:24 +0000)]
Forgot global  ;)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5468 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRemoved the last code dependency on a specific version
alex-brainstorm [Tue, 29 Jul 2003 10:19:22 +0000 (10:19 +0000)]
Removed the last code dependency on a specific version

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5467 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSome themes (Sea Spray, among others) are incomplete and do not define every element...
tassium [Tue, 29 Jul 2003 01:52:05 +0000 (01:52 +0000)]
Some themes (Sea Spray, among others) are incomplete and do not define every element of the $color array as they probably should.  I moved the "last resort default theme" code up before the attempt to load the chosen theme to provide "sane" defaults should the theme be incomplete.

This is mainly an E_ALL fix.  The themes should be complete, IMO, but that's a job for another day.

** This may affect how things look depending on which theme you use.  If you notice a difference, it's because you were using an incomplete theme. **

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5466 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agofixed indentation advanced tree
stekkel [Mon, 28 Jul 2003 18:49:48 +0000 (18:49 +0000)]
fixed indentation advanced tree
fixed Trash can be selected again.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5465 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoremove the % from the LSUB request because we do not need it.
stekkel [Mon, 28 Jul 2003 18:48:55 +0000 (18:48 +0000)]
remove the % from the LSUB request because we do not need it.
fixed speed issue for loop

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5464 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDisable \NoSelect flag for INBOX.
stekkel [Mon, 28 Jul 2003 18:43:12 +0000 (18:43 +0000)]
Disable \NoSelect flag for INBOX.
Maker sure INBOX is stored in uppercase

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5463 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoMake the title of the printer friendly page the subject of the mail -
kink [Mon, 28 Jul 2003 10:35:41 +0000 (10:35 +0000)]
Make the title of the printer friendly page the subject of the mail -
this will look better on the print itself.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5462 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoWhen appending a message, the returned data still included a ) from the
jangliss [Mon, 28 Jul 2003 02:39:14 +0000 (02:39 +0000)]
When appending a message, the returned data still included a ) from the
IMAP response, this would be appended to the emails.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5461 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSend the user to the options page if he clicks the Fetch link when
kink [Sun, 27 Jul 2003 22:15:15 +0000 (22:15 +0000)]
Send the user to the options page if he clicks the Fetch link when
no servers are available.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5460 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDrop obsolete function
kink [Sun, 27 Jul 2003 20:24:31 +0000 (20:24 +0000)]
Drop obsolete function

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5459 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoConfigure sigstripping
kink [Sun, 27 Jul 2003 20:21:10 +0000 (20:21 +0000)]
Configure sigstripping

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5458 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAllow for stripping sigs when replying, if enabled will drop everything
kink [Sun, 27 Jul 2003 20:20:31 +0000 (20:20 +0000)]
Allow for stripping sigs when replying, if enabled will drop everything
after '-- ' in the replied-to message.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5457 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdd an empty body to work around a delay due to a bug in Safari.
kink [Sun, 27 Jul 2003 19:37:21 +0000 (19:37 +0000)]
Add an empty body to work around a delay due to a bug in Safari.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5455 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded stylesheets with default Comic Sans MS and Bitstream Vera Sans/Verdana
tokul [Sun, 27 Jul 2003 12:41:27 +0000 (12:41 +0000)]
Added stylesheets with default Comic Sans MS and Bitstream Vera Sans/Verdana
fonts. style sheets default to sans-serif if font is missing. Vera is free
font provided by Bitstream. http://www.gnome.org/fonts/

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5452 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agodisabled "Previous" link is white text on white background
tokul [Sun, 27 Jul 2003 11:42:34 +0000 (11:42 +0000)]
disabled "Previous" link is white text on white background

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5450 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSimplified case statement. Suggestion from Thijs.
tokul [Sun, 27 Jul 2003 11:14:01 +0000 (11:14 +0000)]
Simplified case statement. Suggestion from Thijs.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5449 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoRepair my mistake : wrong arguments order for stristr (still not used to php's order :(
alex-brainstorm [Sun, 27 Jul 2003 11:13:34 +0000 (11:13 +0000)]
Repair my mistake : wrong arguments order for stristr (still not used to php's order :(

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5448 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded Minimal BW theme to theme list
tokul [Sun, 27 Jul 2003 11:09:26 +0000 (11:09 +0000)]
Added Minimal BW theme to theme list

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5447 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded Minimal BW theme. Purpose of theme - colorless environment for
tokul [Sun, 27 Jul 2003 11:06:50 +0000 (11:06 +0000)]
Added Minimal BW theme. Purpose of theme - colorless environment for
browsers that don't support colors and for CGA :) displays if you can find
one.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5446 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdded cleanup_nbsp function.
tokul [Sun, 27 Jul 2003 10:38:38 +0000 (10:38 +0000)]
Added cleanup_nbsp function.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5438 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDefault theme is set in config/config.php. Setting it here makes SM
tokul [Sun, 27 Jul 2003 09:42:42 +0000 (09:42 +0000)]
Default theme is set in config/config.php. Setting it here makes SM
ignore default theme set by config/config.php.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5437 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agopreg_match('/iso-8859-/'.. covered all iso-8859 charsets (iso-8859-1,
tokul [Sun, 27 Jul 2003 09:13:29 +0000 (09:13 +0000)]
preg_match('/iso-8859-/'.. covered all iso-8859 charsets (iso-8859-1,
iso-8859-2, iso-8859-13 etc). stristr does not do that.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5436 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoI should have probably added this many months ago when I first found out
jangliss [Sun, 27 Jul 2003 03:45:25 +0000 (03:45 +0000)]
I should have probably added this many months ago when I first found out
about the $_SESSION/$HTTP_SESSION_VAR not being available until a session
was explicitly started.  99% of the time, this shouldn't be needed, but
this function checks for an active session, and starts one if there isn't
an active one.  This should fix the following references for the $_ vars.

Tested, and doesn't seem to break anything

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5435 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoReworked optional charset management.
alex-brainstorm [Sun, 27 Jul 2003 02:50:25 +0000 (02:50 +0000)]
Reworked optional charset management.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5433 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCheck for empty default_charset in imap_utf7_decode_local() too. Duplicate code is...
alex-brainstorm [Sun, 27 Jul 2003 01:50:11 +0000 (01:50 +0000)]
Check for empty default_charset in imap_utf7_decode_local() too. Duplicate code is bad :(.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5432 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoReplace None mailbox with first available mailbox (eg INBOX)
alex-brainstorm [Sun, 27 Jul 2003 00:44:15 +0000 (00:44 +0000)]
Replace None mailbox with first available mailbox (eg INBOX)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5431 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix autodetect-delimiter-no-namespace code for devel sqimap_read_data(). Was breaking...
alex-brainstorm [Sun, 27 Jul 2003 00:32:34 +0000 (00:32 +0000)]
Fix autodetect-delimiter-no-namespace code for devel sqimap_read_data(). Was breaking Mercury/32.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5430 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCreate a [Missing] option in mailbox select if mailbox doesn't exist, like when loade...
alex-brainstorm [Sat, 26 Jul 2003 19:42:58 +0000 (19:42 +0000)]
Create a [Missing] option in mailbox select if mailbox doesn't exist, like when loaded from saved/recent.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5429 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUse sm_print_r() only if it exists, so the code can be backported.
alex-brainstorm [Sat, 26 Jul 2003 18:59:54 +0000 (18:59 +0000)]
Use sm_print_r() only if it exists, so the code can be backported.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5428 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCheck for empty default_charset. RCS tag string fixed ;)
alex-brainstorm [Sat, 26 Jul 2003 18:54:44 +0000 (18:54 +0000)]
Check for empty default_charset. RCS tag string fixed ;)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5427 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUse mail_sent in stead of passing whole message in url var.
kink [Sat, 26 Jul 2003 10:15:14 +0000 (10:15 +0000)]
Use mail_sent in stead of passing whole message in url var.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5426 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years ago*** empty log message ***
kink [Sat, 26 Jul 2003 10:13:35 +0000 (10:13 +0000)]
*** empty log message ***

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5425 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDump debug info for mailbox select before it may fail
alex-brainstorm [Sat, 26 Jul 2003 02:06:32 +0000 (02:06 +0000)]
Dump debug info for mailbox select before it may fail

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5424 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdd a confirmation that message has been sent for users who do not
kink [Fri, 25 Jul 2003 23:42:19 +0000 (23:42 +0000)]
Add a confirmation that message has been sent for users who do not
use compose_in_new. I think this is more clear than just presenting them
with the message list again without any notice whatsoever.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5423 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoSome small HTML fixes/improvements
kink [Fri, 25 Jul 2003 22:10:22 +0000 (22:10 +0000)]
Some small HTML fixes/improvements

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5422 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoAdd support for Mail-Followup-To to devel. In short, Reply To All will
kink [Fri, 25 Jul 2003 21:02:32 +0000 (21:02 +0000)]
Add support for Mail-Followup-To to devel. In short, Reply To All will
set To to the value of this header if set.
http://cr.yp.to/proto/replyto.html
http://www.ietf.org/proceedings/98dec/I-D/draft-ietf-drums-mail-followup-to-00.txt
I'm not a real DJB-enthousiast, but reportedly quite some software uses
this header; no harm in supporting it if it's present.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5421 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agosqimap_encode_mailbox_name() calls added
alex-brainstorm [Fri, 25 Jul 2003 01:02:17 +0000 (01:02 +0000)]
sqimap_encode_mailbox_name() calls added

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5420 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoDue to changed behaviour of fread (see php bug 24033) we cannot use large
stekkel [Thu, 24 Jul 2003 21:23:18 +0000 (21:23 +0000)]
Due to changed behaviour of fread (see php bug 24033) we cannot use large
buffersizes anymore because we cannot trust fread if the requested buffer is
actually returned.
blocking socket connections do not work anymore like they supposed to work
:(

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5418 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoImap error management and 8bit chars encoding ;)
alex-brainstorm [Thu, 24 Jul 2003 18:51:59 +0000 (18:51 +0000)]
Imap error management and 8bit chars encoding ;)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5417 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoExtracted error_box() calling code into sqimap_error_box() for unified imap error...
alex-brainstorm [Thu, 24 Jul 2003 18:49:28 +0000 (18:49 +0000)]
Extracted error_box() calling code into sqimap_error_box() for unified imap error display

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5416 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCorrect on the fly base64 decode algoritm in case the returned data does not
stekkel [Thu, 24 Jul 2003 18:08:10 +0000 (18:08 +0000)]
Correct on the fly base64 decode algoritm in case the returned data does not
have "proper" lines with the same length. With an old uw server I discovered
that lines were split in the middle by \n. This fix will correct it.

The rfc about base64 decoding does not mention anything about line length.
rfc2045 does mention that lines should not be longer then 78 characters but
does not say all the lines (excluding the last of course) must be of the same
size.
There for i could not ignore it and fixed it.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5415 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoHTTP/1.1-compliant redirecting
kink [Thu, 24 Jul 2003 08:32:05 +0000 (08:32 +0000)]
HTTP/1.1-compliant redirecting

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5406 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoremoved encode_mailbox_name() and changed calls since it is now in imap_general....
alex-brainstorm [Wed, 23 Jul 2003 12:12:14 +0000 (12:12 +0000)]
removed encode_mailbox_name() and changed calls since it is now in imap_general. removed INBOX name encoding. removed folder_prefix from forged LSUB INBOX response.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5404 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agooff-by-one: when strlen == trim_at, we also don't want to print ...
kink [Wed, 23 Jul 2003 11:27:36 +0000 (11:27 +0000)]
off-by-one: when strlen == trim_at, we also don't want to print ...
make code a little cleaner and get default trim_at value out of the fct

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5402 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoExtend sm_print_r so you can do:
kink [Wed, 23 Jul 2003 11:23:53 +0000 (11:23 +0000)]
Extend sm_print_r so you can do:
sm_print_r($a, $b, $c);

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5401 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix more literal mailbox names
alex-brainstorm [Wed, 23 Jul 2003 03:02:08 +0000 (03:02 +0000)]
Fix more literal mailbox names

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5400 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoCorrected English
pdontthink [Wed, 23 Jul 2003 01:52:15 +0000 (01:52 +0000)]
Corrected English

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5399 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoadvanced_tree: moved Purge after trash link, and bumped font size by 0.2
alex-brainstorm [Tue, 22 Jul 2003 17:46:03 +0000 (17:46 +0000)]
advanced_tree: moved Purge after trash link, and bumped font size by 0.2

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5395 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoMake listcommands plugin work again w.r.t. smaction
kink [Tue, 22 Jul 2003 16:30:13 +0000 (16:30 +0000)]
Make listcommands plugin work again w.r.t. smaction

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5393 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoChangeLog
jangliss [Tue, 22 Jul 2003 13:29:00 +0000 (13:29 +0000)]
ChangeLog

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5392 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdated 'action' to be 'smaction' so that plugins can modify the action of
jangliss [Tue, 22 Jul 2003 13:28:09 +0000 (13:28 +0000)]
Updated 'action' to be 'smaction' so that plugins can modify the action of
forms.  This was suggested for the gpg plugin, but might be useful elsewhere.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5391 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoChanged to iso-8859-4
tokul [Tue, 22 Jul 2003 10:00:26 +0000 (10:00 +0000)]
Changed to iso-8859-4

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5390 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoChanged Lithuanian encoding in order to make it mbstring compatible.
tokul [Tue, 22 Jul 2003 09:55:41 +0000 (09:55 +0000)]
Changed Lithuanian encoding in order to make it mbstring compatible.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5389 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoUpdated translation with strings from locales cvs
tokul [Tue, 22 Jul 2003 09:54:18 +0000 (09:54 +0000)]
Updated translation with strings from locales cvs

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5388 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agoFix bug that after sending reply user was returned to the first page of
kink [Tue, 22 Jul 2003 09:17:42 +0000 (09:17 +0000)]
Fix bug that after sending reply user was returned to the first page of
the message list, which should be te last-active page (use startMessage).

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5384 7612ce4b-ef26-0410-bec9-ea0150e637f0

21 years agowhen falling back to the default theme, set $chosen_theme to the path
kink [Tue, 22 Jul 2003 08:46:54 +0000 (08:46 +0000)]
when falling back to the default theme, set $chosen_theme to the path
of default to make functions that depend on $chosen_theme work
correctly (most notably the select list under display preferences which
would have Alien Glow selected when user has no theme set). Thanks Tim Craig
for the bugreport.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5382 7612ce4b-ef26-0410-bec9-ea0150e637f0