squirrelmail.git
20 years agoMultiple URLs on one line weren't getting parsed correctly
pdontthink [Mon, 12 Jul 2004 07:53:37 +0000 (07:53 +0000)]
Multiple URLs on one line weren't getting parsed correctly

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

20 years agouri updated
pdontthink [Mon, 12 Jul 2004 04:15:25 +0000 (04:15 +0000)]
uri updated

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

20 years agoRemove the multiple lines of 'No Messages Found' when searching multiple folders
indiri69 [Tue, 6 Jul 2004 23:59:58 +0000 (23:59 +0000)]
Remove the multiple lines of 'No Messages Found' when searching multiple folders

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

20 years agoRemoving phpDocumentator tag which shouldn't be used here
jervfors [Mon, 5 Jul 2004 11:50:32 +0000 (11:50 +0000)]
Removing phpDocumentator tag which shouldn't be used here

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

20 years agoMinor code clean up
jervfors [Mon, 5 Jul 2004 07:34:00 +0000 (07:34 +0000)]
Minor code clean up

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

20 years agoAdding phpDocumentator block
jervfors [Mon, 5 Jul 2004 07:32:21 +0000 (07:32 +0000)]
Adding phpDocumentator block

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

20 years agoAdding FIXME to comment
jervfors [Mon, 5 Jul 2004 07:31:29 +0000 (07:31 +0000)]
Adding FIXME to comment

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

20 years agoWe use color[9] in the error_box but it was not defined in the fallback colors.
kink [Sun, 4 Jul 2004 14:38:23 +0000 (14:38 +0000)]
We use color[9] in the error_box but it was not defined in the fallback colors.

BTW we need an sm_init which first of all defines fallback colors, then overrides
those with the user's/default colors. That would make sure that there are always
and everywhere fallback colors, and that incomplete themes would also have gaps
filled. Now that functionality is scattered.

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

20 years agoFix output sanitatizing for options and xhtml-fixes.
kink [Sun, 4 Jul 2004 13:24:22 +0000 (13:24 +0000)]
Fix output sanitatizing for options and xhtml-fixes.

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

20 years agoUpdate
jervfors [Sat, 3 Jul 2004 07:23:14 +0000 (07:23 +0000)]
Update

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

20 years agoIndentation and XHTML fix
jervfors [Sat, 3 Jul 2004 07:19:08 +0000 (07:19 +0000)]
Indentation and XHTML fix

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

20 years agoI18n fix
jervfors [Sat, 3 Jul 2004 07:17:13 +0000 (07:17 +0000)]
I18n fix

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

20 years agoThis can't be considered beta anymore
jervfors [Sat, 3 Jul 2004 07:15:30 +0000 (07:15 +0000)]
This can't be considered beta anymore

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

20 years agoFixing minor typo
jervfors [Fri, 2 Jul 2004 09:14:32 +0000 (09:14 +0000)]
Fixing minor typo

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

20 years agoAnother XHTML fix
jervfors [Fri, 2 Jul 2004 08:40:28 +0000 (08:40 +0000)]
Another XHTML fix

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

20 years agoXHTML fix
jervfors [Fri, 2 Jul 2004 08:16:45 +0000 (08:16 +0000)]
XHTML fix

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

20 years agoRemoving HTML tags from strings
jervfors [Thu, 1 Jul 2004 15:03:30 +0000 (15:03 +0000)]
Removing HTML tags from strings

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

20 years agoSome random documentation updates.
kink [Thu, 1 Jul 2004 13:38:53 +0000 (13:38 +0000)]
Some random documentation updates.

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

20 years agoRemove wrong strip_tags and fix formatting in addressbook.php.
kink [Thu, 1 Jul 2004 12:39:17 +0000 (12:39 +0000)]
Remove wrong strip_tags and fix formatting in addressbook.php.

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

20 years agoBe a bit more verbose in the error message about PEAR not being included:
kink [Thu, 1 Jul 2004 12:12:07 +0000 (12:12 +0000)]
Be a bit more verbose in the error message about PEAR not being included:
give a pointer as to what might be the problem (also in configtest).
Small cosmetic fixes in configtest.

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

20 years agoIn stead of just crashing, give a proper error when PEAR DB functions could
kink [Thu, 1 Jul 2004 11:54:24 +0000 (11:54 +0000)]
In stead of just crashing, give a proper error when PEAR DB functions could
not be included.

Also, from now on I will add a vim comment to the foot of each file I commit
to make sure everyone that edits the file with vim will automatically use the
correct 4-spaces-indentation.

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

20 years agocode dumping
stekkel [Tue, 29 Jun 2004 21:50:59 +0000 (21:50 +0000)]
code dumping

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

20 years agohtml output will be cleaned by encoding function
tokul [Sun, 27 Jun 2004 09:18:43 +0000 (09:18 +0000)]
html output will be cleaned by encoding function

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

20 years agosanitizing is done in form functions
tokul [Sun, 27 Jun 2004 09:03:09 +0000 (09:03 +0000)]
sanitizing is done in form functions

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

20 years agoin some cases sanitazing is implemented in form functions
tokul [Sun, 27 Jun 2004 09:01:48 +0000 (09:01 +0000)]
in some cases sanitazing is implemented in form functions

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

20 years agofix. function is broken if it runs on string without html entities
tokul [Sun, 27 Jun 2004 08:51:05 +0000 (08:51 +0000)]
fix. function is broken if it runs on string without html entities

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

20 years agosome plugins might use own hooks
tokul [Sun, 27 Jun 2004 08:21:54 +0000 (08:21 +0000)]
some plugins might use own hooks

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

20 years agoFix email addresses here
jangliss [Sat, 26 Jun 2004 23:35:14 +0000 (23:35 +0000)]
Fix email addresses here

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

20 years agoIndentation
jervfors [Fri, 25 Jun 2004 05:54:24 +0000 (05:54 +0000)]
Indentation

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

20 years agoSmall syntax fix in an example
jervfors [Fri, 25 Jun 2004 02:02:30 +0000 (02:02 +0000)]
Small syntax fix in an example

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

20 years agoFix link
jangliss [Sat, 19 Jun 2004 23:30:00 +0000 (23:30 +0000)]
Fix link

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

20 years agoContinuation of fixing the alternating row colors in addressbook:
kink [Sat, 19 Jun 2004 11:13:30 +0000 (11:13 +0000)]
Continuation of fixing the alternating row colors in addressbook:
this code is present at 3 different places...

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

20 years agolog changes
kink [Fri, 18 Jun 2004 12:57:46 +0000 (12:57 +0000)]
log changes

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

20 years agoGet the alternating row colors of the addrbook in sync with those
kink [Fri, 18 Jun 2004 12:56:55 +0000 (12:56 +0000)]
Get the alternating row colors of the addrbook in sync with those
from the mailbox listing. Thanks Maurice Makaay for spotting this.

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

20 years agoFixed warning.
stekkel [Wed, 16 Jun 2004 09:48:31 +0000 (09:48 +0000)]
Fixed warning.

TODO: look at lines which are longer then the editor size and and theirfor
do not reach the code responsable for the smart wrapping of short lines.
Those lines should also be tested on first words.

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

20 years agoTweaked wrapping a little more.
stekkel [Tue, 15 Jun 2004 18:09:57 +0000 (18:09 +0000)]
Tweaked wrapping a little more.

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

20 years agofix for replying to html mail.
stekkel [Mon, 14 Jun 2004 19:38:26 +0000 (19:38 +0000)]
fix for replying to html mail.

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

20 years agoPossible fix for our wrapping problem. Please review it because I might have
stekkel [Mon, 14 Jun 2004 19:29:56 +0000 (19:29 +0000)]
Possible fix for our wrapping problem. Please review it because I might have
did some stupid things bvecause I used the trial and error method for this
one.

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

20 years agoShouldn't let PHP generate an error in this case, if we are handling a
jangliss [Sun, 13 Jun 2004 23:16:46 +0000 (23:16 +0000)]
Shouldn't let PHP generate an error in this case, if we are handling a
connection failure

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

20 years agoMinor clean and a string unified with STABLE
jervfors [Sat, 12 Jun 2004 17:07:05 +0000 (17:07 +0000)]
Minor clean and a string unified with STABLE

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

20 years agoArray utility functions. I use them in options_order.php (commit later) and I'm going...
stekkel [Wed, 9 Jun 2004 18:09:47 +0000 (18:09 +0000)]
Array utility functions. I use them in options_order.php (commit later) and I'm going to use it to retrieve the prev and next message in read_body.php (commit later)

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

20 years agoIndentation fix
jervfors [Wed, 9 Jun 2004 07:27:11 +0000 (07:27 +0000)]
Indentation fix

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

20 years agoupdating pot
tokul [Mon, 7 Jun 2004 16:59:50 +0000 (16:59 +0000)]
updating pot

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

20 years agoI think plural tense should use only ' instead of 's
tokul [Mon, 7 Jun 2004 16:13:32 +0000 (16:13 +0000)]
I think plural tense should use only ' instead of 's

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

20 years agofixed typo
tokul [Mon, 7 Jun 2004 16:11:45 +0000 (16:11 +0000)]
fixed typo

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

20 years agorewriting tests after ctype/sm_ctype comparision and reading php manual more creafully.
tokul [Mon, 7 Jun 2004 14:41:52 +0000 (14:41 +0000)]
rewriting tests after ctype/sm_ctype comparision and reading php manual more creafully.
converted ereg to pcre. It would be better to include function_exist('ctype_space') test
in this function. P.S. reply code is broken if message includes double quotes.

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

20 years agoadding phpdoc block in order to remove error message
tokul [Mon, 7 Jun 2004 11:35:37 +0000 (11:35 +0000)]
adding phpdoc block in order to remove error message

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

20 years agomoving date functions into separate subpackage
tokul [Mon, 7 Jun 2004 11:24:29 +0000 (11:24 +0000)]
moving date functions into separate subpackage

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

20 years agocreating separate phpdoc block for function
tokul [Mon, 7 Jun 2004 11:23:09 +0000 (11:23 +0000)]
creating separate phpdoc block for function

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

20 years agodeclaration needs two * in order not to create phpdoc errors
tokul [Mon, 7 Jun 2004 11:22:05 +0000 (11:22 +0000)]
declaration needs two * in order not to create phpdoc errors

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

20 years agoThis is configuration option documented in config/config_default.php
tokul [Mon, 7 Jun 2004 11:14:34 +0000 (11:14 +0000)]
This is configuration option documented in config/config_default.php

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

20 years agoconverting two strings to gettext
tokul [Mon, 7 Jun 2004 07:53:56 +0000 (07:53 +0000)]
converting two strings to gettext

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

20 years ago- add sm_ctype_space and function_exists check to support PHP without ctype
braverock [Sun, 6 Jun 2004 18:46:38 +0000 (18:46 +0000)]
- add sm_ctype_space and function_exists check to support PHP without ctype
  - sm_ctype_space function contributed by Tomas Kuliavas

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

20 years ago- added sqBodyWrap calls to resume draft and edit as new
braverock [Sun, 6 Jun 2004 15:35:53 +0000 (15:35 +0000)]
- added sqBodyWrap calls to resume draft and edit as new
- removed unecessary sqUnWordWrap for forward
- removed expensive calls to sqWordWrap in send

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

20 years ago- add sqBodyWrap utility functions to rewrap entire body rather than one line at...
braverock [Sun, 6 Jun 2004 14:28:48 +0000 (14:28 +0000)]
- add sqBodyWrap utility functions to rewrap entire body rather than one line at a time
  - improves old sqWordWrap for reply
  - patch contributed by Justus Pendleton

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

20 years agoMoved $imap_error_titles into sqimap_asearch_error_box because that's the only place...
stekkel [Sun, 6 Jun 2004 02:06:46 +0000 (02:06 +0000)]
Moved $imap_error_titles into sqimap_asearch_error_box because that's the only place that needs that error and it probably will stop a gettext error about a non existent _() function

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

20 years agoCleanup indentation + spelling fix
stekkel [Sun, 6 Jun 2004 01:48:36 +0000 (01:48 +0000)]
Cleanup indentation + spelling fix

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

20 years agoFixed created search strings.
stekkel [Sun, 6 Jun 2004 01:43:35 +0000 (01:43 +0000)]
Fixed created search strings.

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

20 years agoChanging SPAMCOP to SpamCop
jervfors [Sat, 5 Jun 2004 17:19:51 +0000 (17:19 +0000)]
Changing SPAMCOP to SpamCop

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

20 years agoAdded comment
jervfors [Sat, 5 Jun 2004 16:20:59 +0000 (16:20 +0000)]
Added comment

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

20 years agoChange table cells to use html_tag
indiri69 [Wed, 2 Jun 2004 19:04:49 +0000 (19:04 +0000)]
Change table cells to use html_tag

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

20 years agoDon't show empty braces when there's only one filter
indiri69 [Wed, 2 Jun 2004 16:54:39 +0000 (16:54 +0000)]
Don't show empty braces when there's only one filter

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

20 years agoAlso adapt the number of messages in a mailbox if the uidset is invalid.
stekkel [Wed, 2 Jun 2004 15:31:12 +0000 (15:31 +0000)]
Also adapt the number of messages in a mailbox if the uidset is invalid.

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

20 years agoAdapted arguments for sqimap_fetch_small_header_list
stekkel [Wed, 2 Jun 2004 13:45:16 +0000 (13:45 +0000)]
Adapted arguments for sqimap_fetch_small_header_list

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

20 years agoFixed warnings. (time for reviewing my php.ini and find out why those
stekkel [Wed, 2 Jun 2004 12:12:24 +0000 (12:12 +0000)]
Fixed warnings. (time for reviewing my php.ini and find out why those
warnings were not displayed on my screen)

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

20 years agofixed warning
stekkel [Wed, 2 Jun 2004 10:36:01 +0000 (10:36 +0000)]
fixed warning

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

20 years agoDo not add FLAGS section to the cached headers if the rest of the headers
stekkel [Wed, 2 Jun 2004 08:27:44 +0000 (08:27 +0000)]
Do not add FLAGS section to the cached headers if the rest of the headers
isn't cached.

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

20 years agoRollback some parts of previous update because it contains unfinished work
stekkel [Tue, 1 Jun 2004 22:11:49 +0000 (22:11 +0000)]
Rollback some parts of previous update because it contains unfinished work
which slipped in.

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

20 years agoRemoved sort from url query because we store sort in the session and in case
stekkel [Tue, 1 Jun 2004 21:51:52 +0000 (21:51 +0000)]
Removed sort from url query because we store sort in the session and in case
the sort is changed in between I do not think it's wanted that a redirect
from compose changes it back.

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

20 years agoAdded documentation and fixed a minor issue
stekkel [Tue, 1 Jun 2004 21:44:37 +0000 (21:44 +0000)]
Added documentation and fixed a minor issue

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

20 years agoString fix
indiri69 [Tue, 1 Jun 2004 16:15:11 +0000 (16:15 +0000)]
String fix

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

20 years agoNo longer needed.
stekkel [Mon, 31 May 2004 20:15:34 +0000 (20:15 +0000)]
No longer needed.

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

20 years agoRewrite of internal message caching
stekkel [Mon, 31 May 2004 20:07:44 +0000 (20:07 +0000)]
Rewrite of internal message caching
Added paginator support for asearch
Added next/prev links in read_body to walk through search results
Added individual sort settings / mailbox
Added what I forgot to mention

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

20 years agotypo
stekkel [Wed, 26 May 2004 13:24:55 +0000 (13:24 +0000)]
typo

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

20 years agomake use of new parseRFC822Address function
stekkel [Wed, 26 May 2004 01:18:42 +0000 (01:18 +0000)]
make use of new parseRFC822Address function

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

20 years agoremoved parseAdress routines and made it point to rfc822address.php
stekkel [Wed, 26 May 2004 00:36:06 +0000 (00:36 +0000)]
removed parseAdress routines and made it point to rfc822address.php

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

20 years agoCode cleanup, intented to remove the parseAddress routines from
stekkel [Wed, 26 May 2004 00:35:03 +0000 (00:35 +0000)]
Code cleanup, intented to remove the parseAddress routines from
class/Rfc822Header.class.php and from imap_general.php

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

20 years agoMissed a sqimap_mailbox_expunge_dmn call. Thnx Seth Randall for spotting
stekkel [Wed, 26 May 2004 00:02:37 +0000 (00:02 +0000)]
Missed a sqimap_mailbox_expunge_dmn call. Thnx Seth Randall for spotting
this.

NOTE To squirrelmail developers. If you are bored, please integrate this in
right_main.php. It's kind of a useless form handler which redirect to the
original right_main.php.

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

20 years agoReset $msg on each iteration, otherwise a message with eg no subject
kink [Tue, 25 May 2004 13:47:49 +0000 (13:47 +0000)]
Reset $msg on each iteration, otherwise a message with eg no subject
will take the subject from the previous message.

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

20 years agoFix a few spelling mistakes. Nothing critical to see here folks, move along.
tassium [Tue, 25 May 2004 13:46:58 +0000 (13:46 +0000)]
Fix a few spelling mistakes.  Nothing critical to see here folks, move along.

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

20 years agoReplace array_search that only uses a boolean to check whether the value
kink [Mon, 24 May 2004 19:55:21 +0000 (19:55 +0000)]
Replace array_search that only uses a boolean to check whether the value
exists with in_array (which returns just that boolean), and fix the
left over call to array_search to also check for NULL return.
This should fix the problems that Fredrik, me and other PHP 4.1 users
had with Marc's recent changes.

From PHP docs:
"Note:  Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE."

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

20 years agoFix from Seth Randall. The range was 1 to large.
stekkel [Mon, 24 May 2004 19:46:14 +0000 (19:46 +0000)]
Fix from Seth Randall. The range was 1 to large.

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

20 years agoSet the content-type correct so we can check on multipart/mixed in
stekkel [Mon, 24 May 2004 18:01:59 +0000 (18:01 +0000)]
Set the content-type correct so we can check on multipart/mixed in
mailbox_display (printMessage).

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

20 years agostupid error in checking the newsort value, also check if it validates as
stekkel [Mon, 24 May 2004 17:47:43 +0000 (17:47 +0000)]
stupid error in checking the newsort value, also check if it validates as
true.

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

20 years agoMissed one var to set
stekkel [Mon, 24 May 2004 17:11:41 +0000 (17:11 +0000)]
Missed one var to set

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

20 years agoSmall bug fix, was using $mailbox instead of $aMailbox which was
cigamit [Mon, 24 May 2004 15:17:06 +0000 (15:17 +0000)]
Small bug fix, was using $mailbox instead of $aMailbox which was
causing the bottom toolbar buttons to not function properly.
Thanks for William Hooper for noticing

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

20 years agoOops. This wasn't supposed to be commited. Going back to 1.32
jervfors [Mon, 24 May 2004 01:26:40 +0000 (01:26 +0000)]
Oops. This wasn't supposed to be commited. Going back to 1.32

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

20 years agoMissing global
jervfors [Mon, 24 May 2004 01:16:58 +0000 (01:16 +0000)]
Missing global

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

20 years agoFixing typos
jervfors [Sun, 23 May 2004 16:40:13 +0000 (16:40 +0000)]
Fixing typos

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

20 years agomention XSS fix
stekkel [Sun, 23 May 2004 16:18:23 +0000 (16:18 +0000)]
mention XSS fix

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

20 years agoFixed XSS vulnarability spotted by "Roman Medina" after a very thorough
stekkel [Sun, 23 May 2004 16:09:48 +0000 (16:09 +0000)]
Fixed XSS vulnarability spotted by "Roman Medina" after a very thorough
research of the SquirrelMail source. I was impressed.

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

20 years agocleanup up filter plugin
stekkel [Sun, 23 May 2004 15:38:40 +0000 (15:38 +0000)]
cleanup up filter plugin

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

20 years agoupdating pot
tokul [Sun, 23 May 2004 15:14:10 +0000 (15:14 +0000)]
updating pot

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

20 years agoFix broken thread sort
stekkel [Sun, 23 May 2004 10:47:26 +0000 (10:47 +0000)]
Fix broken thread sort

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

20 years agoMore cleanups.
stekkel [Sun, 23 May 2004 08:52:39 +0000 (08:52 +0000)]
More cleanups.

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

20 years agoReinserting configurable body quote
pdontthink [Sun, 23 May 2004 06:59:39 +0000 (06:59 +0000)]
Reinserting configurable body quote

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

20 years agoPhpdocumentor update - sed is your friend for these kinds of things ;)
jervfors [Sat, 22 May 2004 23:46:57 +0000 (23:46 +0000)]
Phpdocumentor update - sed is your friend for these kinds of things ;)

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

20 years agochanged naming scheme
stekkel [Sat, 22 May 2004 21:03:23 +0000 (21:03 +0000)]
changed naming scheme

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

20 years agoremoved debug message. fixed divide by zero warning because we now use 0
stekkel [Sat, 22 May 2004 20:55:36 +0000 (20:55 +0000)]
removed debug message. fixed divide by zero warning because we now use 0
instead of 999999 as limit for the number of messages to see if we hit
show_all

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

20 years agoAnother big update:
stekkel [Sat, 22 May 2004 20:39:10 +0000 (20:39 +0000)]
Another big update:

1) do not do a search 1:* UID request in case we do not sort. That isn't
needed, just use a non uid fetch and request the UID together with the rest
of the headers.

2) Started on adding envelope parsing to sqimap_get_small_header list so we
can remove the imap related code from the messages class.

2) cleaned up the functions in mailbox_display, don't use trillions of
arguments when you can provide an array as well.

3) adapted right_main.php and search.php to fit the adapted functions in
mailbox_display

I hope the code makes more sense now an is easier to understand so that we
can start on separating the logic from the html output and prepare for
templates. Volunteers?

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