19 years agobugfix. table was incorrectly closed when system had more than one backend listing.
tokul [Thu, 8 Apr 2004 12:48:24 +0000 (12:48 +0000)]
bugfix. table was incorrectly closed when system had more than one backend listing.

tags coverted to lowercase. added new lines to make nicer formating. made it xhtml friendly.

do we port all changes to stable or only bugfix?

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

19 years agoUpdating pot
tokul [Wed, 7 Apr 2004 19:28:53 +0000 (19:28 +0000)]
Updating pot

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

19 years agoFixed sending MDN messages. According RFC2298:
stekkel [Mon, 5 Apr 2004 23:42:26 +0000 (23:42 +0000)]
Fixed sending MDN messages. According RFC2298:

   The From field of the message header of the MDN MUST contain the
   address of the person for whom the message disposition notification
   is being issued.

   The envelope sender address (i.e., SMTP MAIL FROM) of the MDN MUST be
   null (<>), specifying that no Delivery Status Notification messages
   or other messages indicating successful or unsuccessful delivery are
   to be sent in response to an MDN.

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

19 years agoadds international date/time support. am/pm thing is not standard, but I want
tokul [Mon, 5 Apr 2004 11:48:16 +0000 (11:48 +0000)]
adds international date/time support. am/pm thing is not standard, but I want
to follow user's hour_format preference. Time zone can be displayed as numbers.
O key instead of T.

mm/dd/yy and dd/mm/yy names replaced with human readable description.

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

19 years agoAdd my homepage
kink [Mon, 5 Apr 2004 08:51:29 +0000 (08:51 +0000)]
Add my homepage

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

19 years agoOnly check for DB if using that; explicitly check the used DBMS-functions;
kink [Sat, 3 Apr 2004 15:19:53 +0000 (15:19 +0000)]
Only check for DB if using that; explicitly check the used DBMS-functions;
check whether we can connect succesfully.

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

19 years agoAdding php pear db tests
tokul [Sat, 3 Apr 2004 10:52:16 +0000 (10:52 +0000)]
Adding php pear db tests

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

19 years agoDon't gripe about not being able to read the attachment dir when we
ebullient [Wed, 31 Mar 2004 23:11:50 +0000 (23:11 +0000)]
Don't gripe about not being able to read the attachment dir when we
recommend that it be not readable..

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

19 years agoall options in one place.
tokul [Wed, 31 Mar 2004 18:05:10 +0000 (18:05 +0000)]
all options in one place.
updating pot.

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

19 years agoremoving gettext function. this is variable, not string.
tokul [Wed, 31 Mar 2004 17:41:20 +0000 (17:41 +0000)]
removing gettext function. this is variable, not string.

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

19 years agoRemoved extra SMALL tags, they were already incased in a
cigamit [Wed, 31 Mar 2004 17:04:04 +0000 (17:04 +0000)]
Removed extra SMALL tags, they were already incased in a
SMALL tag from a few lines above and these were also
unescaped. Dual/Triple tags resulted in the text being so small,
its almost unreadable, now they are more consistent with the rest

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

19 years agohttp://validator.w3.org/docs/errors.html#bad-entity
tokul [Wed, 31 Mar 2004 16:33:33 +0000 (16:33 +0000)]

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

19 years agofixing some strings that can't be extracted with gettext 0.10.40.
tokul [Wed, 31 Mar 2004 16:27:24 +0000 (16:27 +0000)]
fixing some strings that can't be extracted with gettext 0.10.40.
adding form functions.
maybe functions/forms.php can be loaded by include/validate.php?

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

19 years agoPassword can accept a value as well.
jangliss [Wed, 31 Mar 2004 16:04:53 +0000 (16:04 +0000)]
Password can accept a value as well.

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

19 years agoremoving gettext function. there is no human readable string
tokul [Wed, 31 Mar 2004 15:23:50 +0000 (15:23 +0000)]
removing gettext function. there is no human readable string

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

19 years agoadding two hooks that allow integrating third party address book backends
tokul [Wed, 31 Mar 2004 15:10:32 +0000 (15:10 +0000)]
adding two hooks that allow integrating third party address book backends

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

19 years agoAdjust display for Thread View link left-aligned placement
alex-brainstorm [Wed, 31 Mar 2004 14:46:47 +0000 (14:46 +0000)]
Adjust display for Thread View link left-aligned placement

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

19 years agoUse form funcs in cpw plugin
kink [Wed, 31 Mar 2004 11:51:50 +0000 (11:51 +0000)]
Use form funcs in cpw plugin

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

19 years agoUse form functions on login.php
kink [Wed, 31 Mar 2004 11:47:15 +0000 (11:47 +0000)]
Use form functions on login.php

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

19 years agoAdd form functions for password, submit and reset.
kink [Wed, 31 Mar 2004 11:46:28 +0000 (11:46 +0000)]
Add form functions for password, submit and reset.

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

19 years agoMake use of forms.php functions.
kink [Wed, 31 Mar 2004 11:30:17 +0000 (11:30 +0000)]
Make use of forms.php functions.

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

19 years agotweak display of buttons when no "attach" checkbox
ebullient [Tue, 30 Mar 2004 22:35:12 +0000 (22:35 +0000)]
tweak display of buttons when no "attach" checkbox

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

19 years agocorrect appearance of Thread View link..
ebullient [Tue, 30 Mar 2004 22:23:35 +0000 (22:23 +0000)]
correct appearance of Thread View link..

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

19 years agoWhen the data stream wasn't ending with \r\n the finalize stream function
stekkel [Tue, 30 Mar 2004 17:42:21 +0000 (17:42 +0000)]
When the data stream wasn't ending with \r\n the finalize stream function
could raise a 502 error. I hope this fixes it.

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

19 years agoadding configuration option to plugin.
tokul [Tue, 30 Mar 2004 16:43:02 +0000 (16:43 +0000)]
adding configuration option to plugin.
using <big> instead of <font size=+1>

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

19 years agoAdding option to default config.
tokul [Tue, 30 Mar 2004 16:38:48 +0000 (16:38 +0000)]
Adding option to default config.
Adding option for users that use /usr/sbin/sendmail

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

19 years ago- changed checkbox text to 'As Attachment' improve understanding
braverock [Tue, 30 Mar 2004 15:59:00 +0000 (15:59 +0000)]
- changed checkbox text to 'As Attachment' improve understanding

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

19 years agoUpdating pot
tokul [Tue, 30 Mar 2004 14:01:00 +0000 (14:01 +0000)]
Updating pot

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

19 years agofont size=-2 replaced with small
tokul [Tue, 30 Mar 2004 13:48:52 +0000 (13:48 +0000)]
font size=-2 replaced with small
fixed strings that are not extracted with gettext 0.10.40
input tags made xhtml compatible.

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

19 years agoMove Thread View link to the upper header together with other links. Behaviour can...
alex-brainstorm [Tue, 30 Mar 2004 13:40:47 +0000 (13:40 +0000)]
Move Thread View link to the upper header together with other links. Behaviour can be swapped for comparison. Also fix backslash in Flagged test.

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

19 years agoFix form display in IE6.
stekkel [Tue, 30 Mar 2004 09:56:36 +0000 (09:56 +0000)]
Fix form display in IE6.

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

19 years agoPutting back old plugin behaviour. On moving the last message, the DMN plugin
jangliss [Mon, 29 Mar 2004 19:03:25 +0000 (19:03 +0000)]
Putting back old plugin behaviour.  On moving the last message, the DMN plugin
used to select the new last message.  In 1.5.0, it selected the mailbox.  I
have reverted the behaviour

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

19 years agoupdates for move & next when moving first message
ebullient [Mon, 29 Mar 2004 18:55:16 +0000 (18:55 +0000)]
updates for move & next when moving first message

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

19 years agocorrect Move & next when moving the first message in a mailbox
ebullient [Mon, 29 Mar 2004 18:54:11 +0000 (18:54 +0000)]
correct Move & next when moving the first message in a mailbox

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

19 years agomake break and updates more obvious
ebullient [Mon, 29 Mar 2004 18:31:09 +0000 (18:31 +0000)]
make break and updates more obvious

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

19 years agoThink people would be most unhappy being able to not send mail at all
jangliss [Mon, 29 Mar 2004 17:56:04 +0000 (17:56 +0000)]
Think people would be most unhappy being able to not send mail at all

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

19 years agoFixed broken identities
jangliss [Mon, 29 Mar 2004 17:55:17 +0000 (17:55 +0000)]
Fixed broken identities

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

19 years agothought of this last night, but forgot about it. Seth called me on it.. *sigh*
ebullient [Mon, 29 Mar 2004 17:41:15 +0000 (17:41 +0000)]
thought of this last night, but forgot about it. Seth called me on it.. *sigh*

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

19 years agoall that work to fix compose in new, and I busted compose in regular.. ;)
ebullient [Mon, 29 Mar 2004 17:02:29 +0000 (17:02 +0000)]
all that work to fix compose in new, and I busted compose in regular.. ;)
get changed to post by default (which it was before..)


Thanks, Seth. I tested every other variation last night, it seems -
but missed this one. Sorry.

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

19 years agoremove perlishly commented debug lines. my bad.
ebullient [Mon, 29 Mar 2004 16:58:20 +0000 (16:58 +0000)]
remove perlishly commented debug lines. my bad.

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

19 years agoUse clearer-named CheckForJavaScript in stead of !soupNazi.
kink [Mon, 29 Mar 2004 11:54:13 +0000 (11:54 +0000)]
Use clearer-named CheckForJavaScript in stead of !soupNazi.

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

19 years agoZap the soupNazi to use the same JS test everything else does.
ebullient [Sun, 28 Mar 2004 23:06:12 +0000 (23:06 +0000)]
Zap the soupNazi to use the same JS test everything else does.

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

19 years agoupdates to make javascript actually behave correctly for real.
ebullient [Sun, 28 Mar 2004 22:47:11 +0000 (22:47 +0000)]
updates to make javascript actually behave correctly for real.
Autodetection is fixed, load of JS dependent items (like address book and
search) will be set to false if javascript_on session var is false/0.

javascript_on will ONLY be true if:
  javascript_setting = 1 (ALWAYS)
  javascript_setting = 2 (Autodetect, and test works)

If you change your javascript settings, javascript_on will change

We might actually want to DISABLE Always, and have it be either Never, or autodetect.
Since Always might not always work.. :-P

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

19 years agofinish "buttonizing" read_body header.
ebullient [Sun, 28 Mar 2004 20:45:20 +0000 (20:45 +0000)]
finish "buttonizing" read_body header.
Correct some mistakes (compose_in_new, resume draft, edit as new)
Centralize javascript detection in prefs.php - checkForJavascript
Move javascript_on from prefs to session - have just javascript_setting in prefs.

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

19 years agoImprove html encoding of addressbook, and rename a misspelled function.
kink [Sun, 28 Mar 2004 15:09:48 +0000 (15:09 +0000)]
Improve html encoding of addressbook, and rename a misspelled function.

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

19 years agoMissing param in addCheckBox for deleting attachments.
kink [Sun, 28 Mar 2004 14:43:53 +0000 (14:43 +0000)]
Missing param in addCheckBox for deleting attachments.

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

19 years agoChangeLog
kink [Sun, 28 Mar 2004 14:39:40 +0000 (14:39 +0000)]

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

19 years agoMake compose.php XSS-safe by encoding all untrusted data. I'm using the new
kink [Sun, 28 Mar 2004 14:38:13 +0000 (14:38 +0000)]
Make compose.php XSS-safe by encoding all untrusted data. I'm using the new
forms.php functions here. I think all possible XSS in compose.php is covered
now. Will be backported to stable within a couple of days if no problems arise.

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

19 years agoFunctions to build HTML forms.
kink [Sun, 28 Mar 2004 14:35:37 +0000 (14:35 +0000)]
Functions to build HTML forms.
I've created this for another project of mine, and think they come in useful
here. They are kept simple on purpose. Advantage is less typing
[eg addHidden('startMessage', $startMessage)] and everything is encoded
automatically. Could be extended with submit/reset and other form elts
not covered yet.

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

19 years agoFix part 1 for XSS issue... call page like this:
jangliss [Sun, 28 Mar 2004 11:50:13 +0000 (11:50 +0000)]
Fix part 1 for XSS issue... call page like this:


Because this file is included in other pages, it could affect others too.

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

19 years agoAdd SMTP setting to suppress SquirrelMail Received: header..
ebullient [Sat, 27 Mar 2004 23:27:29 +0000 (23:27 +0000)]
Add SMTP setting to suppress SquirrelMail Received: header..
(may cause some email to be marked as spam if originating server
has dynamic IP, etc)

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

19 years agodon't commit config_local
ebullient [Sat, 27 Mar 2004 22:25:59 +0000 (22:25 +0000)]
don't commit config_local

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

19 years agochanges for read_body link line - now buttons - more like message index
ebullient [Sat, 27 Mar 2004 22:25:17 +0000 (22:25 +0000)]
changes for read_body link line - now buttons - more like message index

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

19 years agoAddressbook Fix. This code was suppose to allow the user to select
cigamit [Fri, 26 Mar 2004 14:23:07 +0000 (14:23 +0000)]
Addressbook Fix.  This code was suppose to allow the user to select
whether to have the fullname, nickname, ect... returned from the addressbook to
the the compose screen, but it was not working at all.  Granted we do not have
an option for this yet either, but that will follow fairly quickly.

Thanks to William Bishop

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

19 years agoWhen copying a folder to trash before deletion, check that the top folder name really...
alex-brainstorm [Fri, 26 Mar 2004 12:02:30 +0000 (12:02 +0000)]
When copying a folder to trash before deletion, check that the top folder name really contains the delimiter.

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

19 years agoBreak 1 level less, otherwise the rest of the messages are not processed.
stekkel [Fri, 26 Mar 2004 10:24:45 +0000 (10:24 +0000)]
Break 1 level less, otherwise the rest of the messages are not processed.

I hit this bug by coincidance and thnx to a server crash. Cyrus returned
information like UID, RFC822.SIZE, INTERNALDATE (that info is probably
cached by cyrus) correct, but an empty header. At the end of the response
there was an untagged OK response with as server message: Message <nnn> no
longer exists.

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

19 years agoRemove notice
indiri69 [Thu, 25 Mar 2004 23:20:09 +0000 (23:20 +0000)]
Remove notice

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

19 years agoSmall bug fix
cigamit [Thu, 25 Mar 2004 00:56:27 +0000 (00:56 +0000)]
Small bug fix
Thanks Kiyoshi Sawada

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

19 years agodoc/plugin.txt says that 'refresh' is optional. Making sure that it does not
tokul [Tue, 23 Mar 2004 18:00:38 +0000 (18:00 +0000)]
doc/plugin.txt says that 'refresh' is optional. Making sure that it does not
generate warnings.

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

19 years agoChangeLog
kink [Tue, 23 Mar 2004 10:40:24 +0000 (10:40 +0000)]

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

19 years agoFix quote_imap, the ereg pattern wasn't always interpreted right
kink [Tue, 23 Mar 2004 10:39:24 +0000 (10:39 +0000)]
Fix quote_imap, the ereg pattern wasn't always interpreted right
due to the escaping of backslashes. I've replaced it with the
faster preg_replace and used double quotes to lessen the escaping

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

19 years agointroducing advanced search and basic search.
centaurix [Sun, 21 Mar 2004 12:06:41 +0000 (12:06 +0000)]
introducing advanced search and basic search.
forward porting of search.php from 1.4 to 1.5 did not work yet,
so this is just the search_advanced.php with changed filename and links.

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

19 years agoupdating pot
tokul [Fri, 19 Mar 2004 15:15:06 +0000 (15:15 +0000)]
updating pot

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

19 years agofixing configuration options. Patch by Fredrik Jervfors <sqm_admin at fimbul.net>
tokul [Fri, 19 Mar 2004 15:11:07 +0000 (15:11 +0000)]
fixing configuration options. Patch by Fredrik Jervfors <sqm_admin at fimbul.net>

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

19 years ago- fixed SendDownLoadHeaders to solve IE SSL Cache problems
braverock [Wed, 17 Mar 2004 20:35:36 +0000 (20:35 +0000)]
- fixed SendDownLoadHeaders to solve IE SSL Cache problems
- rearranged the header( ) calls to remove duplication in various paths

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

19 years agoThis segment of code should be left in until at least Squirrelmail 1.7.x, to give...
tassium [Wed, 17 Mar 2004 18:34:08 +0000 (18:34 +0000)]
This segment of code should be left in until at least Squirrelmail 1.7.x, to give plugins a chance to adapt to the $uid_support option being gone.  Reversing Thijs's commit.

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

19 years agoAttachments with spaces get &#32; instead of &nbsp;
tokul [Tue, 16 Mar 2004 19:41:37 +0000 (19:41 +0000)]
Attachments with spaces get &#32; instead of &nbsp;

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

19 years agoRedmond theme
tokul [Tue, 16 Mar 2004 17:19:10 +0000 (17:19 +0000)]
Redmond theme

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

19 years agoPatch.884356. One more theme.
tokul [Tue, 16 Mar 2004 17:17:45 +0000 (17:17 +0000)]
Patch.884356. One more theme.

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

19 years agoRemove almost all left overs of our non-uid-imap-server support.
kink [Mon, 15 Mar 2004 20:15:16 +0000 (20:15 +0000)]
Remove almost all left overs of our non-uid-imap-server support.

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

19 years agoMove $sqimap_session_id from global to static scope.
kink [Mon, 15 Mar 2004 19:57:20 +0000 (19:57 +0000)]
Move $sqimap_session_id from global to static scope.

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

19 years agoMake writing to prefs/abook/calendar files more reliable by handling it
kink [Mon, 15 Mar 2004 10:10:00 +0000 (10:10 +0000)]
Make writing to prefs/abook/calendar files more reliable by handling it
the right way when writing fails (error in stead of truncating file).

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

19 years agochanging variable type from integer to string.
tokul [Mon, 15 Mar 2004 07:11:11 +0000 (07:11 +0000)]
changing variable type from integer to string.

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

19 years agoreverting the change. thanks Chris.
tokul [Mon, 15 Mar 2004 07:09:50 +0000 (07:09 +0000)]
reverting the change. thanks Chris.

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

19 years agoEnabled special mailbox hook for spam folder.
tokul [Sun, 14 Mar 2004 11:16:44 +0000 (11:16 +0000)]
Enabled special mailbox hook for spam folder.

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

19 years agoUse 'answered' instead of 'read'. Icon is different.
tokul [Sun, 14 Mar 2004 11:11:46 +0000 (11:11 +0000)]
Use 'answered' instead of 'read'. Icon is different.

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

19 years agoAdding some i18n checks
tokul [Sun, 14 Mar 2004 11:01:15 +0000 (11:01 +0000)]
Adding some i18n checks

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

19 years ago$v <> '' test disables saving of integers that are = 0 (ex. $theme_default)
tokul [Sun, 14 Mar 2004 11:00:32 +0000 (11:00 +0000)]
$v <> '' test disables saving of integers that are = 0 (ex. $theme_default)

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

19 years agowidth and height are integers
tokul [Sun, 14 Mar 2004 10:58:27 +0000 (10:58 +0000)]
width and height are integers

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

19 years agocleanup. png images are used instead of gifs
tokul [Sun, 14 Mar 2004 09:18:21 +0000 (09:18 +0000)]
cleanup. png images are used instead of gifs

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

19 years agofreebsd needs locale name without hyphen. linux works with or without it.
tokul [Sun, 14 Mar 2004 09:08:26 +0000 (09:08 +0000)]
freebsd needs locale name without hyphen. linux works with or without it.

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

19 years agoUpdating variables
tokul [Sun, 14 Mar 2004 08:58:15 +0000 (08:58 +0000)]
Updating variables

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

19 years agoRemove obsolete UID support conf.pl code.
kink [Sat, 13 Mar 2004 13:51:02 +0000 (13:51 +0000)]
Remove obsolete UID support conf.pl code.

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

19 years agoRevise INSTALL file: add Quick Install, limit PHP information to just our
kink [Fri, 12 Mar 2004 16:48:48 +0000 (16:48 +0000)]
Revise INSTALL file: add Quick Install, limit PHP information to just our
specific PHP requirements, and some minor text fixes.

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

19 years agoWe don't support PHP 4.0.x anymore; update the docs to reflect that and
kink [Thu, 11 Mar 2004 19:34:43 +0000 (19:34 +0000)]
We don't support PHP 4.0.x anymore; update the docs to reflect that and
remove 4.0.x legacy code.

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

19 years agoGet Flagged buttons value. So far, Mark was really Deleting, since it's the default...
alex-brainstorm [Wed, 10 Mar 2004 15:46:04 +0000 (15:46 +0000)]
Get Flagged buttons value. So far, Mark was really Deleting, since it's the default action. IMHO should really test on delete button before deleting.

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

19 years agoChangeLog
kink [Mon, 8 Mar 2004 18:55:37 +0000 (18:55 +0000)]

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

19 years agoOnly test for LOGINDISABLED when the auth method actually is 'login'.
kink [Mon, 8 Mar 2004 18:47:58 +0000 (18:47 +0000)]
Only test for LOGINDISABLED when the auth method actually is 'login'.
Otherwise, servers which only allow e.g. CRAM/DIGEST-MD5 are locked out.

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

19 years agoSimple POP3 Fetch Mail -> POP3 Fetch Mail
kink [Mon, 8 Mar 2004 17:05:45 +0000 (17:05 +0000)]
Simple POP3 Fetch Mail -> POP3 Fetch Mail
The qualification "simple" is not relevant to the user (and not accurate
IMO - it provides a good feature set), shouldn't clutter the title.

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

19 years agoAdd flush statement after the search form. Searching can take a long time,
kink [Sat, 6 Mar 2004 20:59:28 +0000 (20:59 +0000)]
Add flush statement after the search form. Searching can take a long time,
this makes sure the search form is output as a whole directly when it's
available. With me, the search form will only be output partly as the
other half is buffered waiting for search results.

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

19 years agomove-last.
ebullient [Fri, 5 Mar 2004 19:10:52 +0000 (19:10 +0000)]

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

19 years agoChanged so that both move paths (with and without a next) use move_messages
ebullient [Fri, 5 Mar 2004 18:59:13 +0000 (18:59 +0000)]
Changed so that both move paths (with and without a next) use move_messages
to move the message folder.

Cleaner that way - keeps more of the move code in the same place.

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

19 years agoFix for moving last message in a folder.
ebullient [Fri, 5 Mar 2004 18:47:14 +0000 (18:47 +0000)]
Fix for moving last message in a folder.
Rather than change how messages are indexed, this
confines changes to read_body ...

move_messages.php is used to move the last message in the index.
This is the same function that is used when moving messages from the
list index.

If there is a "next" message, read_body deletes the message itself..
(theoretically, we could use move_messages here, too, and just change
the resulting location.... will have to think about that.. )

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

19 years agoAdd a comment to the X-Priority header (Highest,Normal,Lowest).
kink [Thu, 4 Mar 2004 18:49:26 +0000 (18:49 +0000)]
Add a comment to the X-Priority header (Highest,Normal,Lowest).
This is common in other clients, and some SpamAssassin rule triggers
on the absence of such.

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

19 years agoAdding info about translations
tokul [Thu, 4 Mar 2004 17:44:26 +0000 (17:44 +0000)]
Adding info about translations

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

19 years agounsetting an array element didn't re-index the array which caused a failure
stekkel [Tue, 2 Mar 2004 21:05:57 +0000 (21:05 +0000)]
unsetting an array element didn't re-index the array which caused a failure
when we added the INBOX response to the array at a later stage. This is
confirmed on PHP 4.1.2. The version I'm using (4.3.4) didn't had that
problem. Probably this fix us a php-bug workaround.

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

19 years agoAdded support for poppassd to Change Password
indiri69 [Mon, 1 Mar 2004 19:01:57 +0000 (19:01 +0000)]
Added support for poppassd to Change Password

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

19 years agomake sure mailbox is used by get_selectall_link correctly,
ebullient [Mon, 1 Mar 2004 01:46:41 +0000 (01:46 +0000)]
make sure mailbox is used by get_selectall_link correctly,
account for possible nul mboxresponse

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

19 years agosearch.php was not updated to new mailbox list signature (no mbox response)
ebullient [Mon, 1 Mar 2004 01:45:32 +0000 (01:45 +0000)]
search.php was not updated to new mailbox list signature (no mbox response)

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

19 years agoodd logout case..
ebullient [Sun, 29 Feb 2004 22:52:36 +0000 (22:52 +0000)]
odd logout case..
(in a tabbed browser, pull up SM, then click 'Sign Out' as an "open in new tab"
then click something in the current window, you'll get an error trying to
execute unknown function do_hook on line 88 of display_messages).

So we'll just add the require, just to make sure..

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