squirrelmail.git
17 years agoIf we have PHP 4.3.0, we can make SquirrelSpell work with safe_mode.
kink [Tue, 3 Aug 2004 11:06:18 +0000 (11:06 +0000)]
If we have PHP 4.3.0, we can make SquirrelSpell work with safe_mode.
This also removes the need for the 'cat' program when using older PHP,
easing the use of this plugin under Windows. The patch is provided by
Ray Ferguson, #752314. As I have only PHP 4.1.2, this is not thoroughly
tested code; please test it all so it will be verified to work in many
different environments.

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

17 years agoAdding size limit to signature. Max size is the same as db BLOB size.
tokul [Sat, 31 Jul 2004 12:35:44 +0000 (12:35 +0000)]
Adding size limit to signature. Max size is the same as db BLOB size.

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

17 years agoFix not encoding drafts folder when saving to draft; causes failure when
kink [Fri, 30 Jul 2004 19:28:42 +0000 (19:28 +0000)]
Fix not encoding drafts folder when saving to draft; causes failure when
drafts folder contains special chars. Thanks Alexander Koch for the fix.

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

17 years agoMake current hook name globally available when running a hook
pdontthink [Fri, 30 Jul 2004 15:09:17 +0000 (15:09 +0000)]
Make current hook name globally available when running a hook

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

17 years agoFixed SM version detection bug - wasn't going to hit us until v2.0, but anyway...
pdontthink [Fri, 30 Jul 2004 13:10:14 +0000 (13:10 +0000)]
Fixed SM version detection bug - wasn't going to hit us until v2.0, but anyway...

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

17 years agoAdded 'no focus' option for compose screen
pdontthink [Fri, 30 Jul 2004 13:04:52 +0000 (13:04 +0000)]
Added 'no focus' option for compose screen

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

17 years agoCustom option page values now repopulate correctly when save action goes back to...
pdontthink [Fri, 30 Jul 2004 12:36:36 +0000 (12:36 +0000)]
Custom option page values now repopulate correctly when save action goes back to same options page

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

17 years agoAesthetic fix
jervfors [Wed, 28 Jul 2004 15:00:26 +0000 (15:00 +0000)]
Aesthetic fix

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

17 years agoAdded 'trailing text' for options that SM builds, which is placed after a text input...
pdontthink [Sun, 25 Jul 2004 13:40:52 +0000 (13:40 +0000)]
Added 'trailing text' for options that SM builds, which is placed after a text input or select list.  One less reason for plugin authors to build their own HTML.

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

17 years agoOops, text inputs never had a type attribute!
pdontthink [Sun, 25 Jul 2004 13:24:16 +0000 (13:24 +0000)]
Oops, text inputs never had a type attribute!

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

17 years agoremoved unused and unneeded hooks
pdontthink [Sun, 25 Jul 2004 09:04:36 +0000 (09:04 +0000)]
removed unused and unneeded hooks

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

17 years agoUpdate devel changelog with security vuln.
kink [Sat, 24 Jul 2004 19:48:31 +0000 (19:48 +0000)]
Update devel changelog with security vuln.

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

17 years agoWhen checking for prefs_are_cached we should retrieve this from the session
kink [Sat, 24 Jul 2004 11:39:46 +0000 (11:39 +0000)]
When checking for prefs_are_cached we should retrieve this from the session
the proper way. Closes #995102

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

17 years agoDisplaying and fixing some XHTML
jervfors [Sun, 18 Jul 2004 10:45:58 +0000 (10:45 +0000)]
Displaying  and fixing some XHTML

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

17 years agoextra quote removed
pdontthink [Wed, 14 Jul 2004 20:41:41 +0000 (20:41 +0000)]
extra quote removed

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

17 years agoBetter email address matching. This should match more characters defined in RFC822
indiri69 [Mon, 12 Jul 2004 14:33:57 +0000 (14:33 +0000)]
Better email address matching.  This should match more characters defined in RFC822

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

17 years agoMinor code cleanup
jervfors [Mon, 12 Jul 2004 08:27:46 +0000 (08:27 +0000)]
Minor code cleanup

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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