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)]

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)]

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:


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)]

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

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

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

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)]

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

18 years agoAdded Arabic translation provided by alex@canasoft.net.
tokul [Sat, 1 Mar 2003 08:45:07 +0000 (08:45 +0000)]
Added Arabic translation provided by alex@canasoft.net.
Permission to use this translation was send to my email.

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

18 years agoWhoops wrong file
stekkel [Sat, 1 Mar 2003 01:35:10 +0000 (01:35 +0000)]
Whoops wrong file
In case of server sort and non sorted headers, display newest first

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

18 years agoin case of non sorting display newest messages first
stekkel [Sat, 1 Mar 2003 01:22:30 +0000 (01:22 +0000)]
in case of non sorting display newest messages first

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

18 years agoBlah
stekkel [Sat, 1 Mar 2003 01:00:32 +0000 (01:00 +0000)]

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

18 years agoFixes bug 695150 in the 1.4.x stream
ebullient [Fri, 28 Feb 2003 22:12:25 +0000 (22:12 +0000)]
Fixes bug 695150 in the 1.4.x stream
Not sure yet if/how to push it back to 1.2.x

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

18 years agoWeird subject processing now cut off correctly
stekkel [Fri, 28 Feb 2003 21:35:05 +0000 (21:35 +0000)]
Weird subject processing now cut off correctly

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

18 years agoadded my changes
stekkel [Fri, 28 Feb 2003 19:36:03 +0000 (19:36 +0000)]
added my changes

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

18 years agocharset encode/decode changes related to email addresses
stekkel [Fri, 28 Feb 2003 19:14:52 +0000 (19:14 +0000)]
charset encode/decode changes related to email addresses

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

18 years agobetter parsing of email addresses (also used for processing compose form
stekkel [Fri, 28 Feb 2003 19:14:08 +0000 (19:14 +0000)]
better parsing of email addresses (also used for processing compose form

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

18 years agocharset encode /decode fixes
stekkel [Fri, 28 Feb 2003 19:13:07 +0000 (19:13 +0000)]
charset encode /decode fixes

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

18 years agocharset encode / decode fixes
stekkel [Fri, 28 Feb 2003 19:12:00 +0000 (19:12 +0000)]
charset encode / decode fixes
support for encoded personal names inside addresses
fix for headerrequest

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

18 years agoOnly add extra "points" for a subject with entities when the entities are
kink [Thu, 27 Feb 2003 18:58:10 +0000 (18:58 +0000)]
Only add extra "points" for a subject with entities when the entities are
within the remaining range after trimming. This prevents entities at the end
which are cut off anyway to influence the cut-off-point for the subject.

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

18 years agoFor completeness, make the default theme contain all default values.
kink [Thu, 27 Feb 2003 12:04:02 +0000 (12:04 +0000)]
For completeness, make the default theme contain all default values.

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

18 years agoSwap colors, because new %2 test by Jon is true when the number is NOT
kink [Thu, 27 Feb 2003 11:13:36 +0000 (11:13 +0000)]
Swap colors, because new %2 test by Jon is true when the number is NOT
dividable by 2 (3%2=1) so to keep the old color for one '>' we need to
swap the colors.

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

18 years agoIf SERVER_NAME not set, use $domain as the domain in message-id.
kink [Thu, 27 Feb 2003 07:59:28 +0000 (07:59 +0000)]
If SERVER_NAME not set, use $domain as the domain in message-id.
Convert the things to the sqGetGlobalVar function.
Remove someone's debug code.

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

18 years agoFix import/export of variables in read_body.php.
ebullient [Thu, 27 Feb 2003 04:50:53 +0000 (04:50 +0000)]
Fix import/export of variables in read_body.php.
Fixes compatibility with 4.0.x - bug #688726

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

18 years agoWOOOPS. darnit.
ebullient [Thu, 27 Feb 2003 04:33:13 +0000 (04:33 +0000)]
WOOOPS. darnit.
Missed a debug statement

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

18 years agoErroneous use of quotes in the switch in sqgetGlobalVar.
ebullient [Thu, 27 Feb 2003 04:13:52 +0000 (04:13 +0000)]
Erroneous use of quotes in the switch in sqgetGlobalVar.
Don't know why I listened to whoever told me to add them.. <sighs>
thought it was acting funny whenever you tried to receive
variables outside of the default.
it works now, so there.

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

18 years agohook fix
ebullient [Thu, 27 Feb 2003 03:48:11 +0000 (03:48 +0000)]
hook fix

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

18 years agoFix broken subject line that I doubt has worked since we went rg=0
ebullient [Thu, 27 Feb 2003 03:23:21 +0000 (03:23 +0000)]
Fix broken subject line that I doubt has worked since we went rg=0

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