squirrelmail.git
18 years agoAdded detection of password fields in generic checkForm javascript function
pdontthink [Thu, 3 Apr 2003 11:40:47 +0000 (11:40 +0000)]
Added detection of password fields in generic checkForm javascript function

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

18 years agoencodingfixes by Marc
kink [Tue, 1 Apr 2003 20:47:00 +0000 (20:47 +0000)]
encodingfixes by Marc

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

18 years agoPhilippe Mingo
philippe_mingo [Tue, 1 Apr 2003 17:58:47 +0000 (17:58 +0000)]
Philippe Mingo

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

18 years agoBetter place for picking up the header.
stekkel [Tue, 1 Apr 2003 16:49:45 +0000 (16:49 +0000)]
Better place for picking up the header.

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

18 years ago$header (shorthand for $message->header) is not known when this is a raw
kink [Tue, 1 Apr 2003 16:08:06 +0000 (16:08 +0000)]
$header (shorthand for $message->header) is not known when this is a raw
message we want to download. Fixes #712775

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

18 years agoE_ALL error I'd never have noticed if cvs hadn't screwed up last night.
jangliss [Tue, 1 Apr 2003 14:59:05 +0000 (14:59 +0000)]
E_ALL error I'd never have noticed if cvs hadn't screwed up last night.

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

18 years agoStanislav Yordanov
philippe_mingo [Tue, 1 Apr 2003 07:10:38 +0000 (07:10 +0000)]
Stanislav Yordanov

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

18 years agoAntoine Hulin
philippe_mingo [Mon, 31 Mar 2003 13:40:24 +0000 (13:40 +0000)]
Antoine Hulin

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

18 years ago1) Corrected errors with relative paths that prevented sounds from
ebullient [Mon, 31 Mar 2003 04:18:21 +0000 (04:18 +0000)]
1) Corrected errors with relative paths that prevented sounds from
being played correctly for notification/test.
2) Removed local file option. As it existed,  it didn't function properly
on windows, possibly also not on Unix. This function should be revisited, ,
possibly changing to support a single uploaded sound (less than a certain
size) per user, which would live in the prefs dir (?). This allows users
to supply their own sound of choice that will work regardless of
which PC they're using, which is more the point of SquirrelMail anyway.

Didn't want to try to squeeze the change to upload in under 1.4, so I just
removed it entirely.

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

18 years agoRemove warning message for 4.3.x; we believe the session issues have been
kink [Sun, 30 Mar 2003 10:35:40 +0000 (10:35 +0000)]
Remove warning message for 4.3.x; we believe the session issues have been
fixed. Leave the warning in ReleaseNotes because we don't have enough
testing experience with PHP 4.3.x to be sure about the stability.

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

18 years agoJon, please check this.
philippe_mingo [Sat, 29 Mar 2003 13:20:11 +0000 (13:20 +0000)]
Jon, please check this.

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

18 years agoArief S Fitrianto
philippe_mingo [Sat, 29 Mar 2003 12:55:40 +0000 (12:55 +0000)]
Arief S Fitrianto

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

18 years ago-= M.J. Prinsen =-
philippe_mingo [Fri, 28 Mar 2003 12:01:15 +0000 (12:01 +0000)]
-= M.J. Prinsen =-

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

18 years agoChristian Froemmel
philippe_mingo [Fri, 28 Mar 2003 08:16:50 +0000 (08:16 +0000)]
Christian Froemmel

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

18 years agoremove_pref function was missing global prefs_cache declare.
ebullient [Fri, 28 Mar 2003 05:22:51 +0000 (05:22 +0000)]
remove_pref function was missing global prefs_cache declare.

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

18 years agoChristian Froemmel
philippe_mingo [Thu, 27 Mar 2003 17:15:45 +0000 (17:15 +0000)]
Christian Froemmel

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

18 years agoMasato Higashiyama japanese patch.
philippe_mingo [Thu, 27 Mar 2003 16:47:48 +0000 (16:47 +0000)]
Masato Higashiyama japanese patch.

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

18 years agoFix for infinite loop when trying to decode multi-part mime attachments
jangliss [Thu, 27 Mar 2003 16:16:48 +0000 (16:16 +0000)]
Fix for infinite loop when trying to decode multi-part mime attachments
(Bug #710210)

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

18 years agoAlexandros Vellis
philippe_mingo [Thu, 27 Mar 2003 15:35:37 +0000 (15:35 +0000)]
Alexandros Vellis

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

18 years agoFix print friendly
kink [Thu, 27 Mar 2003 11:18:51 +0000 (11:18 +0000)]
Fix print friendly

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

18 years agoPrintable version should not use theme colors but fixed black-text-on-white-background.
kink [Thu, 27 Mar 2003 11:17:06 +0000 (11:17 +0000)]
Printable version should not use theme colors but fixed black-text-on-white-background.

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

18 years agoCan't forget to commit my fixes for the last few days!
cigamit [Thu, 27 Mar 2003 04:28:48 +0000 (04:28 +0000)]
Can't forget to commit my fixes for the last few days!

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

18 years agoAnother operator bug...
cigamit [Thu, 27 Mar 2003 04:02:12 +0000 (04:02 +0000)]
Another operator bug...

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

18 years agoFix some operator bugs that cause some problems (mainly when forwarding messages).
cigamit [Thu, 27 Mar 2003 04:01:31 +0000 (04:01 +0000)]
Fix some operator bugs that cause some problems (mainly when forwarding messages).

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

18 years agoFixes forwarding messages when not using server side sorting (undefined variable)
cigamit [Thu, 27 Mar 2003 03:55:10 +0000 (03:55 +0000)]
Fixes forwarding messages when not using server side sorting (undefined variable)

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

18 years agoAdding RPM-related files.
graf25 [Thu, 27 Mar 2003 03:08:16 +0000 (03:08 +0000)]
Adding RPM-related files.

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

18 years agoFix #708956: deleting a pop3 account corrupts remaining pop3 account info
kink [Wed, 26 Mar 2003 16:33:24 +0000 (16:33 +0000)]
Fix #708956: deleting a pop3 account corrupts remaining pop3 account info
Thanks 'Steve'.

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

18 years agoFix typo in var name and add two prefs which were left out when renumbering
kink [Wed, 26 Mar 2003 16:30:01 +0000 (16:30 +0000)]
Fix typo in var name and add two prefs which were left out when renumbering
the server data. And wrap the lines in a nicer way. Fixes #708956.

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

18 years agoPHP 4.3.x prefs fix for db based prefs.
jangliss [Wed, 26 Mar 2003 16:04:20 +0000 (16:04 +0000)]
PHP 4.3.x prefs fix for db based prefs.

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

18 years agoAnd again... another PHP 4.3 fix
jangliss [Tue, 25 Mar 2003 21:22:15 +0000 (21:22 +0000)]
And again... another PHP 4.3 fix

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

18 years agoStill getting complaints about this outputting plain text to the browser
jangliss [Tue, 25 Mar 2003 16:07:22 +0000 (16:07 +0000)]
Still getting complaints about this outputting plain text to the browser
instead of JS on the component... Going to pull it for now... and investigate
the possible cause for the screw ups after 1.4.0 is released.

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

18 years agoA couple of fixes for PHP 4.3.x. This should allow prefs to be saved now,
jangliss [Tue, 25 Mar 2003 15:08:23 +0000 (15:08 +0000)]
A couple of fixes for PHP 4.3.x.  This should allow prefs to be saved now,
and should remove the warning about a bug in PHP 4.2.3 in the mailbox view.

Thank you very much Troy Settle for use of his server for testing

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

18 years agoWe give plugins the ability to add buttons to the mailbox display form, but no way...
cigamit [Tue, 25 Mar 2003 05:01:57 +0000 (05:01 +0000)]
We give plugins the ability to add buttons to the mailbox display form, but no way to act upon them.  This provides a simple hook to do so.

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

18 years agoA few spelling corrections
cigamit [Tue, 25 Mar 2003 04:42:04 +0000 (04:42 +0000)]
A few spelling corrections

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

18 years agoRevert to 1.15: we don't currently use this field but it's defined
kink [Mon, 24 Mar 2003 14:29:06 +0000 (14:29 +0000)]
Revert to 1.15: we don't currently use this field but it's defined
separately by RFC 2919, so we should support it for future use.

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

18 years agoInorder for plugins to utilize the msg_envelope hook, they need to be able to manilpu...
cigamit [Mon, 24 Mar 2003 04:14:54 +0000 (04:14 +0000)]
Inorder for plugins to utilize the msg_envelope hook, they need to be able to manilpulate/read these variables.

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

18 years agoThis field does not exist in the RFC spec and is not used in the code: drop it.
kink [Sun, 23 Mar 2003 11:39:51 +0000 (11:39 +0000)]
This field does not exist in the RFC spec and is not used in the code: drop it.

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

18 years agoConsistant capitalization
kink [Sun, 23 Mar 2003 11:38:27 +0000 (11:38 +0000)]
Consistant capitalization

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

18 years agoLets see if this prefs fix works for now. Will do DB stuff later, or
jangliss [Sat, 22 Mar 2003 17:48:51 +0000 (17:48 +0000)]
Lets see if this prefs fix works for now.  Will do DB stuff later, or
maybe look into using references(?)

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

18 years agoRemove obsolete references.
kink [Sat, 22 Mar 2003 17:10:35 +0000 (17:10 +0000)]
Remove obsolete references.

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

18 years agoSpanish Update by Mingo
philippe_mingo [Sat, 22 Mar 2003 10:48:23 +0000 (10:48 +0000)]
Spanish Update by Mingo

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

18 years agoUpdate
philippe_mingo [Sat, 22 Mar 2003 10:13:39 +0000 (10:13 +0000)]
Update

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

18 years agoString correction
kink [Tue, 18 Mar 2003 23:02:54 +0000 (23:02 +0000)]
String correction

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

18 years agoMoved opening form tag up before login_top hook so plugins like password_forget will...
pdontthink [Sun, 16 Mar 2003 22:25:10 +0000 (22:25 +0000)]
Moved opening form tag up before login_top hook so plugins like password_forget will work.

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

18 years agoPut msg_envelope hook back in, per Jimmy Conner's request and for msg_flags plugin...
pdontthink [Sun, 16 Mar 2003 21:17:49 +0000 (21:17 +0000)]
Put msg_envelope hook back in, per Jimmy Conner's request and for msg_flags plugin to work

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

18 years agoOne \n too much
kink [Sun, 16 Mar 2003 15:00:55 +0000 (15:00 +0000)]
One \n too much

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

18 years agoLogChange
kink [Sun, 16 Mar 2003 13:22:49 +0000 (13:22 +0000)]
LogChange

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

18 years agoSmall bug in content-type properties, thanks Ryan (hairball57) for reporting.
kink [Sun, 16 Mar 2003 12:34:03 +0000 (12:34 +0000)]
Small bug in content-type properties, thanks Ryan (hairball57) for reporting.

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

18 years agoWhen an identity has no full_name, display the emailaddress without < and >.
kink [Sun, 16 Mar 2003 12:28:00 +0000 (12:28 +0000)]
When an identity has no full_name, display the emailaddress without < and >.
While we're at it, do some HTML fixes.
Closes #702257.

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

18 years agoAdded subject retrieval when message initiated from page other than read_body.php
pdontthink [Thu, 13 Mar 2003 23:08:41 +0000 (23:08 +0000)]
Added subject retrieval when message initiated from page other than read_body.php

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

18 years agoExplicitly define for old php versions when it's undefined
pdontthink [Thu, 13 Mar 2003 10:13:17 +0000 (10:13 +0000)]
Explicitly define  for old php versions when it's undefined

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

18 years agoTurned off validation scripts for widgets when javascript is disabled
pdontthink [Tue, 11 Mar 2003 20:29:25 +0000 (20:29 +0000)]
Turned off validation scripts for widgets when javascript is disabled

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

18 years agoPulling out JS in options setup. Paul, did you want to fix this so that it
jangliss [Tue, 11 Mar 2003 20:18:55 +0000 (20:18 +0000)]
Pulling out JS in options setup.  Paul, did you want to fix this so that it
is browser/user safe... ie, make it work when the user has js off?  Here is
what happens when they don't support js:

  http://dhruba.codewordt.co.uk/sqm.png

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

18 years agoreplace $_SESSION with sqgetGlobalVar
kink [Tue, 11 Mar 2003 17:48:00 +0000 (17:48 +0000)]
replace $_SESSION with sqgetGlobalVar

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

18 years agoMore cleanup. This dir all done.
kink [Tue, 11 Mar 2003 17:39:25 +0000 (17:39 +0000)]
More cleanup. This dir all done.

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

18 years agoMore global cleanup. Now all SESSION and COOKIE use sqgetglobalvar, what's
kink [Tue, 11 Mar 2003 16:57:21 +0000 (16:57 +0000)]
More global cleanup. Now all SESSION and COOKIE use sqgetglobalvar, what's
remaining is a wide deployment of _POST and _GET.

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

18 years agoClean up spamcop plugin wrt globals.
kink [Tue, 11 Mar 2003 16:30:54 +0000 (16:30 +0000)]
Clean up spamcop plugin wrt globals.
Fix a bug in saving the spamcop ID.
Eliminate evil "extract($_SESSION);" statement.
And make the produced html more valid.

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

18 years agocleanup some plugins to make use of sqgetGlobalVar
kink [Tue, 11 Mar 2003 15:57:22 +0000 (15:57 +0000)]
cleanup some plugins to make use of sqgetGlobalVar

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

18 years agoLogChanges
kink [Tue, 11 Mar 2003 15:11:16 +0000 (15:11 +0000)]
LogChanges

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

18 years agoCalc the max size for an uploaded file and display it to the user.
kink [Tue, 11 Mar 2003 15:05:11 +0000 (15:05 +0000)]
Calc the max size for an uploaded file and display it to the user.
This is informational to prevent large file uploads to fail.
Becasue PHP stores sizes like "8M" we have to calculate the bytesize first.

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

18 years agofwrite returns 0 when 0 bytes written, so use === FALSE test instead.
kink [Tue, 11 Mar 2003 09:02:13 +0000 (09:02 +0000)]
fwrite returns 0 when 0 bytes written, so use === FALSE test instead.
Thanks Jon for the tip.

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

18 years agoA better way to check for errors, and apply the previous fix to signature writes...
kink [Mon, 10 Mar 2003 23:56:12 +0000 (23:56 +0000)]
A better way to check for errors, and apply the previous fix to signature writes too.

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

18 years agoSmall tweaks:
kink [Mon, 10 Mar 2003 23:23:09 +0000 (23:23 +0000)]
Small tweaks:
Move include of display messages in file_prefs to the top of the file,
because it wasn't included everywhere correctly ('../functions') or in
some places not at all, better move it to the top so the functions are
available at all times in a consistent manner.
Also throw an error if the tmp pref file could not be copied.
Remove initializing of colors that aren't used in logout_error.

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

18 years agoWeird locales seem to mess with uppercase i, and php seems to like to
jangliss [Mon, 10 Mar 2003 18:01:45 +0000 (18:01 +0000)]
Weird locales seem to mess with uppercase i, and php seems to like to
convert function names according to locales... bad php, but not much we can
do.  Changed quoteIMAP to quoteimap to work around this for now.  It's only
used during login as far as I can find.

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

18 years agoUpdate changelog to reflect updates in compose
jangliss [Mon, 10 Mar 2003 16:40:02 +0000 (16:40 +0000)]
Update changelog to reflect updates in compose

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

18 years agoFix copyerror, this eliminates some warnings of undefined index in the msg list.
kink [Mon, 10 Mar 2003 16:31:57 +0000 (16:31 +0000)]
Fix copyerror, this eliminates some warnings of undefined index in the msg list.

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

18 years agoFix logic I mixed up.
kink [Mon, 10 Mar 2003 16:18:29 +0000 (16:18 +0000)]
Fix logic I mixed up.

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

18 years agoCache the base url (protocol://host:port) in the session to make it
ebullient [Mon, 10 Mar 2003 07:19:20 +0000 (07:19 +0000)]
Cache the base url (protocol://host:port) in the session to make it
faster. get_location already parsed php_self to get the url
e.g. /path/to/sqmail/src
So now, to make Locations compliant, you can either, call get_location if
you know the place you're redirecting to has the same url path you do
(src to src, for example), or check for 'sq_base_url' in the session vars,
call get_location to set it if it isn't there, and then use the
'sq_base_url' session var + base_uri from session + desired location to
redirect.

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

18 years agoFix some interesting behavior when adding a signature to a message that
ebullient [Mon, 10 Mar 2003 07:08:15 +0000 (07:08 +0000)]
Fix some interesting behavior when adding a signature to a message that
included personal names with quotes in them. I stumbled on to this,
and Jon pointed out it was actually an XSS bug. Whee. ;)

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

18 years agoFixed attachments issue... Seemed that the session wasn't getting the new
jangliss [Mon, 10 Mar 2003 05:15:46 +0000 (05:15 +0000)]
Fixed attachments issue... Seemed that the session wasn't getting the new
value of the message array when composing.  This'd make the attachments
apparently vanish.  Also added back in the $restoremessages array, was that
which helped me solve the attachments issue.

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

18 years agoadded explicit include of global.php
ebullient [Sun, 9 Mar 2003 18:54:34 +0000 (18:54 +0000)]
added explicit include of global.php

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

18 years agoAdd explicit include of global.php
ebullient [Sun, 9 Mar 2003 18:45:07 +0000 (18:45 +0000)]
Add explicit include of global.php

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

18 years agoA few more unnecessary urldecodes when not needed. Now we can view headers
jangliss [Sat, 8 Mar 2003 05:01:56 +0000 (05:01 +0000)]
A few more unnecessary urldecodes when not needed.  Now we can view headers
and text of a message when viewing a mailbox with + in the name.

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

18 years agoI'd like my settings to stay on login... we need a better solution :)
jangliss [Sat, 8 Mar 2003 04:59:19 +0000 (04:59 +0000)]
I'd like my settings to stay on login... we need a better solution :)

Reverting file_prefs.php to previous version until proper fix is discovered
for PHP 4.3.1 dropping settings.

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

18 years agoChangelog update
jangliss [Sat, 8 Mar 2003 04:55:03 +0000 (04:55 +0000)]
Changelog update

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

18 years agoDMN now remembers the last target mailbox to match up with the rest of SM
jangliss [Sat, 8 Mar 2003 04:41:35 +0000 (04:41 +0000)]
DMN now remembers the last target mailbox to match up with the rest of SM

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

18 years agoput back Erin's changes.
stekkel [Fri, 7 Mar 2003 22:27:16 +0000 (22:27 +0000)]
put back Erin's changes.

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

18 years agoaddress parsing with encoded personal names
stekkel [Fri, 7 Mar 2003 22:12:51 +0000 (22:12 +0000)]
address parsing with encoded personal names

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

18 years agobetter folding of header lines.
stekkel [Fri, 7 Mar 2003 22:12:06 +0000 (22:12 +0000)]
better folding of header lines.

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

18 years agoimproved encodeHeader function and decodeHeader handling to follow RFC's
stekkel [Fri, 7 Mar 2003 22:11:22 +0000 (22:11 +0000)]
improved encodeHeader function and decodeHeader handling to follow RFC's
better.

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

18 years agoencoding stuff
stekkel [Fri, 7 Mar 2003 22:09:57 +0000 (22:09 +0000)]
encoding stuff

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

18 years agoFixed incorrect decoding of mailbox name... $_GET vars are already decoded.
jangliss [Fri, 7 Mar 2003 17:42:08 +0000 (17:42 +0000)]
Fixed incorrect decoding of mailbox name... $_GET vars are already decoded.
There are probably a whole bunch of other ones laying about, but this one
is fairly big in respect that you can view a folder that has a + in the name
(ie test+folder), but you cannot read mail in that folder.

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

18 years agoUndo fix for PHP 4.0.4 since SquirrelMail doesn't work reliably with 4.0.4
kink [Fri, 7 Mar 2003 15:33:05 +0000 (15:33 +0000)]
Undo fix for PHP 4.0.4 since SquirrelMail doesn't work reliably with 4.0.4
anyway.

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

18 years agoFix requirements to reflect actual requirements according to Marc.
kink [Fri, 7 Mar 2003 15:26:45 +0000 (15:26 +0000)]
Fix requirements to reflect actual requirements according to Marc.

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

18 years agoQuotation-error
kink [Wed, 5 Mar 2003 10:51:36 +0000 (10:51 +0000)]
Quotation-error

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

18 years agoInformation about Arabic translators.
tokul [Wed, 5 Mar 2003 07:09:45 +0000 (07:09 +0000)]
Information about Arabic translators.

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

18 years agoNo check to make sure logo is set... login.php verifies it exists and has
jangliss [Wed, 5 Mar 2003 03:55:31 +0000 (03:55 +0000)]
No check to make sure logo is set... login.php verifies it exists and has
a value in first... changing behaviour here to match.

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

18 years agoremoved left argument from function. Thnx Paul.
stekkel [Tue, 4 Mar 2003 14:12:59 +0000 (14:12 +0000)]
removed left argument from function. Thnx Paul.

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

18 years agoFix download link for vcard.
kink [Tue, 4 Mar 2003 10:38:27 +0000 (10:38 +0000)]
Fix download link for vcard.

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

18 years agoSupport vCards which have the official mime type "text/directory".
kink [Tue, 4 Mar 2003 10:33:28 +0000 (10:33 +0000)]
Support vCards which have the official mime type "text/directory".

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

18 years agoAdded javascript validation to integer and float widgets.
pdontthink [Tue, 4 Mar 2003 08:50:16 +0000 (08:50 +0000)]
Added javascript validation to integer and float widgets.

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

18 years agoThe logout_above_text hook was misplaced. Got it back where it should be.
pdontthink [Tue, 4 Mar 2003 05:27:55 +0000 (05:27 +0000)]
The logout_above_text hook was misplaced.  Got it back where it should be.

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

18 years agoReintegrated Erin's lost changes from v1.309
pdontthink [Tue, 4 Mar 2003 00:12:59 +0000 (00:12 +0000)]
Reintegrated Erin's lost changes from v1.309

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

18 years agoLots of changes for variable initialization - clean up, really,
ebullient [Mon, 3 Mar 2003 05:44:35 +0000 (05:44 +0000)]
Lots of changes for variable initialization - clean up, really,
for cases where direct referece to vars causes problems with
earlier versions.

we'll see how much I screwed up, too.

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

18 years agomove global include earlier..
ebullient [Mon, 3 Mar 2003 04:44:39 +0000 (04:44 +0000)]
move global include earlier..

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

18 years agoClean up references to global vars
ebullient [Mon, 3 Mar 2003 01:43:16 +0000 (01:43 +0000)]
Clean up references to global vars

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

18 years agofix warning in case of undefined date
stekkel [Sat, 1 Mar 2003 22:28:20 +0000 (22:28 +0000)]
fix warning in case of undefined date

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

18 years agomissed some spots
stekkel [Sat, 1 Mar 2003 22:14:44 +0000 (22:14 +0000)]
missed some spots

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

18 years agoNo decodeHeader inside the form because we already did that because we had
stekkel [Sat, 1 Mar 2003 22:07:10 +0000 (22:07 +0000)]
No decodeHeader inside the form because we already did that because we had
to add Re Fwd information.
So the lesson is:
NEVER use double decodeHeader!!!

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

18 years agoTo much encoding. Now we only encode what's needed.
stekkel [Sat, 1 Mar 2003 20:50:58 +0000 (20:50 +0000)]
To much encoding. Now we only encode what's needed.

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