squirrelmail.git
18 years agoHttpOnly cookies
stekkel [Sat, 15 Oct 2005 16:49:34 +0000 (16:49 +0000)]
HttpOnly cookies

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

18 years agoSupport for HttpOnly cookies.
stekkel [Sat, 15 Oct 2005 16:44:59 +0000 (16:44 +0000)]
Support for HttpOnly cookies.
HttpOnly cookies prohibit access by Javascript. Currently only IE6 supports
it. See http://msdn.microsoft.com/workshop/author/dhtml/httponly_cookies.asp
In order to achieve that the cookie with the session_id also contains the
httponly cookie attribute I introduced a new function, sqsession_start which
overwrites the cookie set by php by our own cookie containing the session_id
and the httponly attribute.
All session_start calls are replaced by sqsession_start.

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

18 years agosanitizing address book listing. extra field row is added for plugins
tokul [Sat, 15 Oct 2005 11:12:53 +0000 (11:12 +0000)]
sanitizing address book listing. extra field row is added for plugins
that want to add html tags to address book listing (like vcard_abook).

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

18 years agoWindows aspell returns \r\n line endings. if \r is not removed, it breaks
tokul [Sat, 15 Oct 2005 08:54:25 +0000 (08:54 +0000)]
Windows aspell returns \r\n line endings. if \r is not removed, it breaks
javascript and list of suggestions is empty.

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

18 years agoset security=restricted attribute on the iframe, preventing javascript
kink [Tue, 11 Oct 2005 15:27:25 +0000 (15:27 +0000)]
set security=restricted attribute on the iframe, preventing javascript
and other tricks to be used inside its contents on supporting browsers.

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

18 years agoinformation about decodeBody fix
tokul [Sun, 9 Oct 2005 20:38:58 +0000 (20:38 +0000)]
information about decodeBody fix

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

18 years agofixed quoted-printable decoding.
tokul [Sun, 9 Oct 2005 20:35:31 +0000 (20:35 +0000)]
fixed quoted-printable decoding.
removed $show_html_default global call. Call was introduced in 1.113 and
made obsolate in 1.114.

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

18 years agoAdding Andre Nicholson
jervfors [Sun, 9 Oct 2005 19:14:47 +0000 (19:14 +0000)]
Adding Andre Nicholson

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

18 years agoUpdate
jervfors [Sun, 9 Oct 2005 18:40:21 +0000 (18:40 +0000)]
Update

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

18 years agoif html attachment has character set information, it can be converted.
tokul [Sun, 9 Oct 2005 16:21:58 +0000 (16:21 +0000)]
if html attachment has character set information, it can be converted.
missing part of 1195232 patch

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

18 years agoupdating translators' list
tokul [Sun, 9 Oct 2005 15:23:44 +0000 (15:23 +0000)]
updating translators' list

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

18 years agosimplified check. thanks, Jon.
tokul [Tue, 4 Oct 2005 17:21:10 +0000 (17:21 +0000)]
simplified check. thanks, Jon.

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

18 years agoexplaining $plugins tests
tokul [Tue, 4 Oct 2005 06:27:18 +0000 (06:27 +0000)]
explaining $plugins tests

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

18 years agofix imap command. \r\n is added by sqimap_run_command. If second \r\n is
tokul [Sat, 24 Sep 2005 17:22:32 +0000 (17:22 +0000)]
fix imap command. \r\n is added by sqimap_run_command. If second \r\n is
present, it breaks next issued imap command (sqimap_mailbox_exists() always
returns true).

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

18 years agoFixed/restored reply focus functionality
pdontthink [Sat, 24 Sep 2005 00:25:00 +0000 (00:25 +0000)]
Fixed/restored reply focus functionality

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

18 years agoadded more configuration controls
tokul [Tue, 20 Sep 2005 16:41:28 +0000 (16:41 +0000)]
added more configuration controls
fixed address book deletes
fixed signature table

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

18 years agoboth examples posted on mailing list nuke abook files. Nice.
tokul [Tue, 20 Sep 2005 11:47:10 +0000 (11:47 +0000)]
both examples posted on mailing list nuke abook files. Nice.

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

18 years agoadd bincimap to top list
tokul [Mon, 19 Sep 2005 15:44:07 +0000 (15:44 +0000)]
add bincimap to top list

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

18 years agophpDocumentor updates
jervfors [Sun, 18 Sep 2005 10:25:54 +0000 (10:25 +0000)]
phpDocumentor updates

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

18 years agoremoved local directory name used for testing.
tokul [Tue, 13 Sep 2005 08:08:07 +0000 (08:08 +0000)]
removed local directory name used for testing.

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

18 years agoTomas Kuliavas wrote:
tokul [Mon, 12 Sep 2005 18:27:27 +0000 (18:27 +0000)]
Tomas Kuliavas wrote:

>Hi,
>
>You have posted script that converts SquirrelMail data files from files to
>sql on SquirrelMail users mailing list.
>
>http://article.gmane.org/gmane.mail.squirrelmail.user/6706
>
>Can you clarify script copyrights? I would like to include script in
>SquirrelMail package, but SquirrelMail can use only GPL licensed software.
>
>
>
I spoke with Tal ( the co-author ) and we are both quite comfortable
releasing this under the gpl.

We had originally offered to include it in the distro but no one took us
up on the offer.  We haven't used it in 2-3 years so I don't know if it
works with current versions.  I also don't believe either of us have any
interest in maintaining it but we welcome the projects use of it.

Michael

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

18 years agoOriginal file 2 sql export script posted by Michael Blandford <mikey <at> blandford...
tokul [Mon, 12 Sep 2005 18:25:00 +0000 (18:25 +0000)]
Original file 2 sql export script posted by Michael Blandford <mikey <at> blandford.net>.
http://article.gmane.org/gmane.mail.squirrelmail.user/6706

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

18 years agoAdding kink's instuctions
jervfors [Sun, 11 Sep 2005 23:10:27 +0000 (23:10 +0000)]
Adding kink's instuctions

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

18 years agoSpell fix
jervfors [Sun, 11 Sep 2005 23:07:04 +0000 (23:07 +0000)]
Spell fix

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

18 years agoAdding translator
jervfors [Sun, 11 Sep 2005 23:06:30 +0000 (23:06 +0000)]
Adding translator

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

18 years agoSpell fix
jervfors [Sun, 11 Sep 2005 08:38:04 +0000 (08:38 +0000)]
Spell fix

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

18 years agoAdding more index.php files
jervfors [Sun, 11 Sep 2005 07:05:54 +0000 (07:05 +0000)]
Adding more index.php files
Unifying index.php files

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

18 years agoone more identity action to process
tokul [Sun, 11 Sep 2005 06:18:43 +0000 (06:18 +0000)]
one more identity action to process

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

18 years agoadding bincimap preset
tokul [Sat, 10 Sep 2005 12:50:46 +0000 (12:50 +0000)]
adding bincimap preset

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

18 years agostyle fix
tokul [Sat, 10 Sep 2005 11:13:56 +0000 (11:13 +0000)]
style fix

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

18 years agoinformation about db and configtest changes.
tokul [Sat, 10 Sep 2005 08:54:17 +0000 (08:54 +0000)]
information about db and configtest changes.
php backported array_shift features from 5.1 (#1286195).

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

18 years agoadding database field size checks (#1233721)
tokul [Sat, 10 Sep 2005 08:46:15 +0000 (08:46 +0000)]
adding database field size checks (#1233721)

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

18 years agoadding rg=on test
tokul [Sat, 10 Sep 2005 08:41:33 +0000 (08:41 +0000)]
adding rg=on test

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

18 years agoinformation about bincimap
tokul [Fri, 9 Sep 2005 20:21:40 +0000 (20:21 +0000)]
information about bincimap

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

18 years agoFocus fix
pdontthink [Wed, 7 Sep 2005 20:05:33 +0000 (20:05 +0000)]
Focus fix

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

18 years agoDon't auto-focus on compose form when user has already focused somewhere manually...
pdontthink [Tue, 6 Sep 2005 23:58:45 +0000 (23:58 +0000)]
Don't auto-focus on compose form when user has already focused somewhere manually (very annoying over slow connections)

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

18 years agocheckForJavascript never returns SMPRF_JS_AUTODETECT
pdontthink [Tue, 6 Sep 2005 23:56:17 +0000 (23:56 +0000)]
checkForJavascript never returns SMPRF_JS_AUTODETECT

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

18 years agohide other special folders
tokul [Sun, 4 Sep 2005 17:39:20 +0000 (17:39 +0000)]
hide other special folders
reduce number of imap calls used to list subscribed folders

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

18 years agoUpdate
jervfors [Sun, 4 Sep 2005 09:51:35 +0000 (09:51 +0000)]
Update

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

18 years agoReverting strings (didn't work out in all languages)
jervfors [Sun, 4 Sep 2005 09:48:04 +0000 (09:48 +0000)]
Reverting strings (didn't work out in all languages)

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

18 years agoUpdate
jervfors [Sat, 3 Sep 2005 23:23:35 +0000 (23:23 +0000)]
Update

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

18 years agoString fix
jervfors [Sat, 3 Sep 2005 22:40:57 +0000 (22:40 +0000)]
String fix

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

18 years agoUpdate
jervfors [Sat, 3 Sep 2005 22:22:14 +0000 (22:22 +0000)]
Update

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

18 years agoRecycling existing strings
jervfors [Sat, 3 Sep 2005 22:19:24 +0000 (22:19 +0000)]
Recycling existing strings

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

18 years agoString fix
jervfors [Sat, 3 Sep 2005 22:16:54 +0000 (22:16 +0000)]
String fix

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

18 years agoString and PHP fix
jervfors [Sat, 3 Sep 2005 22:16:29 +0000 (22:16 +0000)]
String and PHP fix

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

18 years agoreread what I've wrote :(
tokul [Sat, 3 Sep 2005 06:28:47 +0000 (06:28 +0000)]
reread what I've wrote :(

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

18 years agoadding missing identity hooks
tokul [Sat, 3 Sep 2005 06:21:19 +0000 (06:21 +0000)]
adding missing identity hooks
removing duplicate generic_header hook call

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

18 years agoUse shell exec so we can escape the fortune output.
kink [Sun, 28 Aug 2005 12:57:57 +0000 (12:57 +0000)]
Use shell exec so we can escape the fortune output.

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

18 years agoRemove data/ dir from distribution, update docs accordingly.
kink [Tue, 23 Aug 2005 17:33:31 +0000 (17:33 +0000)]
Remove data/ dir from distribution, update docs accordingly.

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

18 years agoFix for 1222436. Forwarding broken when compose in new window not used.
jangliss [Tue, 23 Aug 2005 14:54:08 +0000 (14:54 +0000)]
Fix for 1222436.  Forwarding broken when compose in new window not used.

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

18 years agophpDoc fix
jervfors [Tue, 23 Aug 2005 09:19:37 +0000 (09:19 +0000)]
phpDoc fix

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

18 years agoFix a small typo (at least I assume)
cigamit [Mon, 22 Aug 2005 21:36:02 +0000 (21:36 +0000)]
Fix a small typo (at least I assume)

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

18 years agodon't allow use of starttls on ldap socket connection
tokul [Sun, 21 Aug 2005 15:19:03 +0000 (15:19 +0000)]
don't allow use of starttls on ldap socket connection

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

18 years agoplace login form elements before login button. #1245070.
tokul [Sun, 21 Aug 2005 11:29:50 +0000 (11:29 +0000)]
place login form elements before login button. #1245070.
I think change was approved by Paul in plugins mailing list. If you think
that I am breaking too many things, I can revert the change.

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

18 years agoconvert character set in html messages
tokul [Sun, 21 Aug 2005 11:00:20 +0000 (11:00 +0000)]
convert character set in html messages

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

18 years agoHTML fix
jervfors [Sat, 20 Aug 2005 09:21:47 +0000 (09:21 +0000)]
HTML fix

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

18 years agotypo.
tokul [Wed, 17 Aug 2005 15:53:52 +0000 (15:53 +0000)]
typo.

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

18 years agoPHP 4.4.0 notice: Only variables should be assigned by reference in src/right_main...
jervfors [Mon, 15 Aug 2005 01:01:58 +0000 (01:01 +0000)]
PHP 4.4.0 notice: Only variables should be assigned by reference in src/right_main.php on line 346

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

18 years agoPHP 4.4.0 notice: Only variables should be assigned by reference in src/view_text...
jervfors [Sun, 14 Aug 2005 15:28:03 +0000 (15:28 +0000)]
PHP 4.4.0 notice: Only variables should be assigned by reference in src/view_text.php on line 49

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

18 years agoDon't attempt to delete a mailbox that does not exist.
jangliss [Thu, 11 Aug 2005 03:43:08 +0000 (03:43 +0000)]
Don't attempt to delete a mailbox that does not exist.

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

18 years agoremove html formating from error messages. XSS fixes sanitize errors and display...
tokul [Wed, 10 Aug 2005 19:27:37 +0000 (19:27 +0000)]
remove html formating from error messages. XSS fixes sanitize errors and display &quot;

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

18 years agoremoved references from abook_database.php
tokul [Wed, 10 Aug 2005 18:47:41 +0000 (18:47 +0000)]
removed references from abook_database.php

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

18 years agoremoving references from backend functions. lookup causes E_NOTICE in php
tokul [Wed, 10 Aug 2005 18:35:41 +0000 (18:35 +0000)]
removing references from backend functions. lookup causes E_NOTICE in php
4.4.0, because tries to return array(). Use of references can't be explained.
Main backend class and file/ldap backends don't use refencences. If it is
used for some reason, other lookup() should have to use references too.
I suspect that reason is performance or it is relict from some different code.
PHP manual says that developers should not use references in order to increase
performance.

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

18 years agoRespect the error_reporting setting in php.ini and do not display errors
stekkel [Sat, 6 Aug 2005 12:01:39 +0000 (12:01 +0000)]
Respect the error_reporting setting in php.ini and do not display errors
when the error level is not enabled in php.ini

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

18 years agoDo not use $key as varname outside functions because that's used for the
stekkel [Sat, 6 Aug 2005 11:44:56 +0000 (11:44 +0000)]
Do not use $key as varname outside functions because that's used for the
global secret key.

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

18 years agophpdoc fix.
tokul [Sat, 6 Aug 2005 06:16:39 +0000 (06:16 +0000)]
phpdoc fix.

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

18 years agoupdate pot and add locale options to xgetpo script
tokul [Sat, 6 Aug 2005 06:09:43 +0000 (06:09 +0000)]
update pot and add locale options to xgetpo script

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

18 years agoremoving $available_languages option
tokul [Sat, 6 Aug 2005 06:01:49 +0000 (06:01 +0000)]
removing $available_languages option

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

18 years agomoving administrator check to option block registration. reduces amount of
tokul [Sat, 6 Aug 2005 05:52:58 +0000 (05:52 +0000)]
moving administrator check to option block registration. reduces amount of
code loaded during plugin's init. removing trailing linefeed from auth.php

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

18 years agosome languages use syntax that can't be adapted for printf command. If translator
tokul [Sat, 6 Aug 2005 05:18:15 +0000 (05:18 +0000)]
some languages use syntax that can't be adapted for printf command. If translator
tries to translate string correctly, he/she can create msgfmt errors.

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

18 years agoadding -c option to msgfmt calls in order to detect formating errors (#1252843)
tokul [Sat, 6 Aug 2005 03:49:39 +0000 (03:49 +0000)]
adding -c option to msgfmt calls in order to detect formating errors (#1252843)

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

18 years agoReplace PHP4 -> PHP since we also support upcoming PHP versions
kink [Wed, 3 Aug 2005 21:32:39 +0000 (21:32 +0000)]
Replace PHP4 -> PHP since we also support upcoming PHP versions
(at least we wish to support them).

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

18 years ago* sync matches and replacement arrays again in magicHtml()
stekkel [Wed, 3 Aug 2005 17:58:30 +0000 (17:58 +0000)]
* sync matches and replacement arrays again in magicHtml()
* fix for regular expression that should catch
url(http://domain.tld/location)

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

18 years agochmod 700 locale
tokul [Wed, 3 Aug 2005 12:21:32 +0000 (12:21 +0000)]
chmod 700 locale

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

18 years agomore php 4.1.2 testing. it is possible that ini_get call is not needed.
tokul [Wed, 3 Aug 2005 12:19:53 +0000 (12:19 +0000)]
more php 4.1.2 testing. it is possible that ini_get call is not needed.

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

18 years agousing B encoding with headers in multibyte character sets.
tokul [Wed, 3 Aug 2005 12:06:42 +0000 (12:06 +0000)]
using B encoding with headers in multibyte character sets.

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

18 years agoglob exists only in 4.3.0+
tokul [Wed, 3 Aug 2005 11:54:27 +0000 (11:54 +0000)]
glob exists only in 4.3.0+

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

18 years agoAllow configure to be ran from any directory, thanks Ceri Davies.
kink [Tue, 2 Aug 2005 20:16:48 +0000 (20:16 +0000)]
Allow configure to be ran from any directory, thanks Ceri Davies.

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

18 years agoinformation about $languages update
tokul [Tue, 2 Aug 2005 15:17:21 +0000 (15:17 +0000)]
information about $languages update

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

18 years ago$languages are moved to locale/<localename>/setup.php files.
tokul [Tue, 2 Aug 2005 15:14:11 +0000 (15:14 +0000)]
$languages are moved to locale/<localename>/setup.php files.
SquirrelMail locales cvs should support in any package from 1.4.6 and 1.5.1.

Code can't be used for 1.4.x stable, if XTRA_CODE fixes are not backported.

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

18 years agoinvalid doc entry
tokul [Tue, 2 Aug 2005 14:27:42 +0000 (14:27 +0000)]
invalid doc entry

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

18 years agoB encoding code is unstable. needs more coding and testing
tokul [Tue, 2 Aug 2005 14:17:54 +0000 (14:17 +0000)]
B encoding code is unstable. needs more coding and testing

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

18 years agoremoving obsolate file
tokul [Tue, 2 Aug 2005 12:29:53 +0000 (12:29 +0000)]
removing obsolate file

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

18 years agoinformation about SquirrelSpell fix
tokul [Tue, 2 Aug 2005 07:04:02 +0000 (07:04 +0000)]
information about SquirrelSpell fix

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

18 years agofix gettext and sprintf formating now. work on error_box later.
tokul [Tue, 2 Aug 2005 06:58:21 +0000 (06:58 +0000)]
fix gettext and sprintf formating now. work on error_box later.

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

18 years agoinformation about newmail and abook_ldap_server changes
tokul [Mon, 1 Aug 2005 08:25:43 +0000 (08:25 +0000)]
information about newmail and abook_ldap_server changes

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

18 years agodon't use full URL in sounds media preferences.
tokul [Mon, 1 Aug 2005 08:12:07 +0000 (08:12 +0000)]
don't use full URL in sounds media preferences.
adding configuration option to disable upload of sound files.
adding svg and ogg support in embed tags.

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

18 years agostrip basedn from nickname.
tokul [Mon, 1 Aug 2005 08:07:13 +0000 (08:07 +0000)]
strip basedn from nickname.

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

18 years agoinstead of retrieving text with 'Download as a file link' and removing link text...
tokul [Sun, 31 Jul 2005 14:19:04 +0000 (14:19 +0000)]
instead of retrieving text with 'Download as a file link' and removing link text later,
retrieve text without Download link.

add character set option to engines that don't change used character sets
in their forms. Fixes translation of 8bit texts (translations from Russian,
Greek, Chinese, Korean, Japanese, etc to English and other languages)

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

18 years agoadding workaround for encoding of long multibyte headers. Saves my head from
tokul [Sun, 31 Jul 2005 13:18:24 +0000 (13:18 +0000)]
adding workaround for encoding of long multibyte headers. Saves my head from
debugging of encodeHeader.

adding information about made changes to changelog.

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

18 years agoadding dgettext and dngettext function support and additional $l10n array safety...
tokul [Sun, 31 Jul 2005 12:56:52 +0000 (12:56 +0000)]
adding dgettext and dngettext function support and additional $l10n array safety checks.

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

18 years agomoving include to the top.
tokul [Sun, 31 Jul 2005 12:44:39 +0000 (12:44 +0000)]
moving include to the top.

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

18 years agodisplay list of attachments on printer friendly page.
tokul [Sun, 31 Jul 2005 12:42:56 +0000 (12:42 +0000)]
display list of attachments on printer friendly page.

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

18 years agoadd php5 E_STRICT support and disable logging of disabled error messages.
tokul [Sun, 31 Jul 2005 12:13:30 +0000 (12:13 +0000)]
add php5 E_STRICT support and disable logging of disabled error messages.

it is possible that switch($iErrNo) should be replaced with if control
structures in order to follow php error_reporting setting.

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

18 years agoadd one more timezone check and some US time zone names.
tokul [Sun, 31 Jul 2005 11:40:32 +0000 (11:40 +0000)]
add one more timezone check and some US time zone names.

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

18 years agoin theme loading fails, $color is not set.
tokul [Sun, 31 Jul 2005 11:34:19 +0000 (11:34 +0000)]
in theme loading fails, $color is not set.

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

18 years agoremoving reference. it is not needed and causes E_NOTICE error in php 4.4.0.
tokul [Sun, 31 Jul 2005 11:33:18 +0000 (11:33 +0000)]
removing reference. it is not needed and causes E_NOTICE error in php 4.4.0.

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

18 years agocode was checked, when similar code was debugged on openbsd 3.5 for phpldapadmin.
tokul [Sun, 31 Jul 2005 11:31:29 +0000 (11:31 +0000)]
code was checked, when similar code was debugged on openbsd 3.5 for phpldapadmin.

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

18 years agoautomatic translation loading code. disabled, see comments.
tokul [Fri, 29 Jul 2005 16:39:54 +0000 (16:39 +0000)]
automatic translation loading code. disabled, see comments.

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