squirrelmail.git
15 years agoAdd phpdoc block. \(Thx Tomas.\)
avel [Tue, 16 May 2006 07:20:29 +0000 (07:20 +0000)]
Add phpdoc block. \(Thx Tomas.\)

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

15 years agoNeed this include, otherwise I get an error for undefined addsubmit function
avel [Tue, 16 May 2006 05:58:26 +0000 (05:58 +0000)]
Need this include, otherwise I get an error for undefined addsubmit function

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

15 years agodocumentation fix.
tokul [Mon, 15 May 2006 18:38:51 +0000 (18:38 +0000)]
documentation fix.

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

15 years agoplugin depends on imap function. init.php changes removed imap functions
tokul [Mon, 15 May 2006 18:37:29 +0000 (18:37 +0000)]
plugin depends on imap function. init.php changes removed imap functions
from webmail.php

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

15 years agoinfo about sanitizing in filters plug
tokul [Mon, 15 May 2006 16:14:50 +0000 (16:14 +0000)]
info about sanitizing in filters plug

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

15 years agosanitize displayed folder name and load form functions.
tokul [Mon, 15 May 2006 15:55:58 +0000 (15:55 +0000)]
sanitize displayed folder name and load form functions.

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

15 years agoinfo about error_message sanitizing fix
tokul [Sun, 14 May 2006 17:57:19 +0000 (17:57 +0000)]
info about error_message sanitizing fix

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

15 years agodocumenting function changes
tokul [Sun, 14 May 2006 17:36:16 +0000 (17:36 +0000)]
documenting function changes
sanitizing imap folder name in plain_error_message function.

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

15 years agoupdating error_box() function calls. second argument was modified.
tokul [Sun, 14 May 2006 17:09:29 +0000 (17:09 +0000)]
updating error_box() function calls. second argument was modified.
using squirrelmail template code for closing html tags.
added some comments in footer.tpl in order to detect generated footer

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

15 years agohandle DB.php load errors inside preference class and don't worry about
tokul [Sun, 14 May 2006 16:13:02 +0000 (16:13 +0000)]
handle DB.php load errors inside preference class and don't worry about
error_box function and other code.

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

15 years agovalidator.w3.org fails if id attribute contains brackets
tokul [Sun, 14 May 2006 14:59:46 +0000 (14:59 +0000)]
validator.w3.org fails if id attribute contains brackets

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

15 years agomoving error message to class constructor function. Prevents
tokul [Sun, 14 May 2006 14:58:10 +0000 (14:58 +0000)]
moving error message to class constructor function. Prevents
output when functions/abook_database.php is loaded.

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

15 years agoresubmitting last Monday updates and adding php 5.1.0 timezone support
tokul [Sat, 13 May 2006 19:11:08 +0000 (19:11 +0000)]
resubmitting last Monday updates and adding php 5.1.0 timezone support

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

15 years ago- Improve recovery when EHLO not supported on legacy SMTP servers
kink [Fri, 12 May 2006 14:39:55 +0000 (14:39 +0000)]
- Improve recovery when EHLO not supported on legacy SMTP servers
  (#1031455).

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

15 years agoOne can only "prepend" something before some other thing, not "append".
kink [Sat, 6 May 2006 11:51:42 +0000 (11:51 +0000)]
One can only "prepend" something before some other thing, not "append".

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

15 years agoadding bug tracker id
tokul [Sat, 6 May 2006 08:40:23 +0000 (08:40 +0000)]
adding bug tracker id

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

15 years agoadding warning about plugin unbundling
tokul [Sat, 6 May 2006 07:50:49 +0000 (07:50 +0000)]
adding warning about plugin unbundling

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

15 years agoundefined $value
tokul [Sat, 6 May 2006 06:53:26 +0000 (06:53 +0000)]
undefined $value

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

15 years agosame text icon style as the one that is used in msg listing. Using nbsp
tokul [Sat, 6 May 2006 06:48:34 +0000 (06:48 +0000)]
same text icon style as the one that is used in msg listing. Using nbsp
instead of regular space in order to prevent wrapping

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

15 years agohtml entities are written with semicolon
tokul [Sat, 6 May 2006 06:46:25 +0000 (06:46 +0000)]
html entities are written with semicolon
using different symbols. arrows are smaller and their height is similar
to medium white box size.
using white box instead of brackets+nbsp. symbol is similar to sort_none.png
removing underlines from text links

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

15 years agoFixed possibility to use single quote in provider name (#1475744).
kink [Thu, 4 May 2006 08:20:57 +0000 (08:20 +0000)]
Fixed possibility to use single quote in provider name (#1475744).

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

15 years agoCorrect references trimming: array_walk can't in all PHP versions use
kink [Wed, 3 May 2006 13:37:53 +0000 (13:37 +0000)]
Correct references trimming: array_walk can't in all PHP versions use
a callback function that is a member function. Moving the function out
of the class seems the best solution.

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

15 years agoAdding more tests and fallbacks for errors in help pages.
jervfors [Mon, 1 May 2006 20:27:07 +0000 (20:27 +0000)]
Adding more tests and fallbacks for errors in help pages.

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

15 years agoadding notice about configtest hook
tokul [Mon, 1 May 2006 19:02:30 +0000 (19:02 +0000)]
adding notice about configtest hook

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

15 years agoinformation about added hook
tokul [Mon, 1 May 2006 16:25:43 +0000 (16:25 +0000)]
information about added hook

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

15 years agomoved get_location() before html output
tokul [Mon, 1 May 2006 16:22:56 +0000 (16:22 +0000)]
moved get_location() before html output
added configtest hook and plugin setup.php output checks.

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

15 years agorestored workaround for pre 4.3 php session restart issue
tokul [Mon, 1 May 2006 16:20:02 +0000 (16:20 +0000)]
restored workaround for pre 4.3 php session restart issue

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

15 years agoFixed session lockups on large attachment downloads.
tokul [Sun, 30 Apr 2006 05:46:14 +0000 (05:46 +0000)]
Fixed session lockups on large attachment downloads.

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

15 years agoadding hack to fix setlocale behavior on OpenBSD 3.8+ (#1427512). I don't think
tokul [Sat, 29 Apr 2006 17:22:00 +0000 (17:22 +0000)]
adding hack to fix setlocale behavior on OpenBSD 3.8+ (#1427512). I don't think
that e-a-department (obsd) cares about it.

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

15 years ago1460638 fix info
tokul [Mon, 24 Apr 2006 17:50:50 +0000 (17:50 +0000)]
1460638 fix info

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

15 years agoextra sanitizing was added in B and Q header decoding, when SquirrelMail tried to
tokul [Mon, 24 Apr 2006 17:47:58 +0000 (17:47 +0000)]
extra sanitizing was added in B and Q header decoding, when SquirrelMail tried to
convert header to user's character set (#1460638).

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

15 years agosession vars can unset configuration and runtime variables here.
tokul [Mon, 24 Apr 2006 17:05:38 +0000 (17:05 +0000)]
session vars can unset configuration and runtime variables here.

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

15 years agoThnx tomas and shame on me.
stekkel [Mon, 24 Apr 2006 15:59:13 +0000 (15:59 +0000)]
Thnx tomas and shame on me.

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

15 years agoinformation about mailbox caching in left_main.php fix
tokul [Sun, 23 Apr 2006 14:24:52 +0000 (14:24 +0000)]
information about mailbox caching in left_main.php fix

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

15 years agomailbox caching breaks automatic folder creation, if folder exists and is
tokul [Sun, 23 Apr 2006 14:18:27 +0000 (14:18 +0000)]
mailbox caching breaks automatic folder creation, if folder exists and is
not subscribed.

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

15 years agoremoving code that could be used with plugin in SM 1.4.x. After init
tokul [Sun, 23 Apr 2006 13:24:51 +0000 (13:24 +0000)]
removing code that could be used with plugin in SM 1.4.x. After init
changes plugin is no longer compatible with sm 1.4.x

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

15 years agoremoved debug function
tokul [Sun, 23 Apr 2006 13:16:18 +0000 (13:16 +0000)]
removed debug function
message body is placed in <pre></pre> instead of <code></code> in order to
display tabs in headers. rtrim function is used instead of trim in order to
strip writespace only from the end of line.

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

15 years agoDo not use ob_end_flush because the fetch method returns the content of the
stekkel [Sun, 23 Apr 2006 09:05:22 +0000 (09:05 +0000)]
Do not use ob_end_flush because the fetch method returns the content of the
buffer. If we do not clear the buffer the to display template will be
displayed twice (paginator.tpl in this case)

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

15 years agoif $key is set to false, sqimap_login() function will use sqauth_read_password()
tokul [Wed, 19 Apr 2006 18:03:24 +0000 (18:03 +0000)]
if $key is set to false, sqimap_login() function will use sqauth_read_password()
to retrieve user password.
sqimap_login() calls in plugins are modified to use this code.
It allows to centralize place that is used to access password information.

Older way is preserved for backwards compatibility and different IMAP login
credentials.

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

15 years agoReduce references header in a smart way to avoid "header too long"
kink [Tue, 18 Apr 2006 16:38:38 +0000 (16:38 +0000)]
Reduce references header in a smart way to avoid "header too long"
errors from SMTP servers in really long threads (#1167754, #1465342).

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

15 years agoadd hint about SELinux to security.txt
kink [Fri, 14 Apr 2006 11:07:55 +0000 (11:07 +0000)]
add hint about SELinux to security.txt

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

15 years agoinformation about IE Mac
tokul [Thu, 13 Apr 2006 16:57:49 +0000 (16:57 +0000)]
information about IE Mac

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

15 years agoload hashing functions in all setups
tokul [Wed, 12 Apr 2006 05:56:42 +0000 (05:56 +0000)]
load hashing functions in all setups

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

15 years agoldap connection test script. don't want to recreate same script one more
tokul [Fri, 7 Apr 2006 21:16:59 +0000 (21:16 +0000)]
ldap connection test script. don't want to recreate same script one more
time just in order to add some option.

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

15 years agoFix error w/ errorHandler object
stevetruckstuff [Thu, 6 Apr 2006 21:04:49 +0000 (21:04 +0000)]
Fix error w/ errorHandler object

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

15 years agoThe header function of PHP sucks hard.
stekkel [Thu, 6 Apr 2006 20:56:26 +0000 (20:56 +0000)]
The header function of PHP sucks hard.
By sending multiple headers at once i got the HttpOnly thing working. Now
PHP 5.1.2 and 4.4.2 forbid that because of security reasons. So i fallback
to setcookie until this is resolved.

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

15 years agoRemove unnecessary $color parameter from calls to plain_error_message()
stevetruckstuff [Thu, 6 Apr 2006 20:06:13 +0000 (20:06 +0000)]
Remove unnecessary $color parameter from calls to plain_error_message()

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

15 years agoCreate template for errors when not logged in.
stevetruckstuff [Thu, 6 Apr 2006 20:01:45 +0000 (20:01 +0000)]
Create template for errors when not logged in.

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

15 years agoAdd posibility of link in error box.
stevetruckstuff [Thu, 6 Apr 2006 19:59:12 +0000 (19:59 +0000)]
Add posibility of link in error box.

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

15 years agoAdded displaying of error messages to login page.
stevetruckstuff [Thu, 6 Apr 2006 19:58:31 +0000 (19:58 +0000)]
Added displaying of error messages to login page.

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

15 years agoFixed typo in error handling in displayHTMLHeader()
stevetruckstuff [Thu, 6 Apr 2006 19:51:09 +0000 (19:51 +0000)]
Fixed typo in error handling in displayHTMLHeader()

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

15 years agoAdded error handling if template.php or requested template is not found.
stevetruckstuff [Thu, 6 Apr 2006 19:49:28 +0000 (19:49 +0000)]
Added error handling if template.php or requested template is not found.

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

15 years agofixed register_globals test. if configuration set with php_value, ini_get
tokul [Thu, 6 Apr 2006 18:36:19 +0000 (18:36 +0000)]
fixed register_globals test. if configuration set with php_value, ini_get
returns 'off' string (boolean true).

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

15 years agoUpdate for plugin documentation regarding init.php
stekkel [Thu, 6 Apr 2006 18:14:36 +0000 (18:14 +0000)]
Update for plugin documentation regarding init.php

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

15 years agoinit.php stuff
stekkel [Thu, 6 Apr 2006 17:34:09 +0000 (17:34 +0000)]
init.php stuff

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

15 years agoForgot to sync this file before my previous commit. Now the previous changes
stekkel [Thu, 6 Apr 2006 17:31:08 +0000 (17:31 +0000)]
Forgot to sync this file before my previous commit. Now the previous changes
from Tomas are back in.

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

15 years agoMore cookie stuff. Clean up old cookies so they do not get priority over our
stekkel [Thu, 6 Apr 2006 17:18:29 +0000 (17:18 +0000)]
More cookie stuff. Clean up old cookies so they do not get priority over our
own cookies with the corrected cookie path.

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

15 years agoHandle session.auto_start case and move down squirrelmail version string
stekkel [Thu, 6 Apr 2006 12:12:33 +0000 (12:12 +0000)]
Handle session.auto_start case and move down squirrelmail version string

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

15 years agoFix for compose in new. Now use the constant SM_BASE_URI.
stekkel [Thu, 6 Apr 2006 11:09:04 +0000 (11:09 +0000)]
Fix for compose in new. Now use the constant SM_BASE_URI.
TODO, move this function to the same place as makeInternalLink.

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

15 years agoReverted the init.php requirement. Marc raised some good points about init.php doing...
tassium [Wed, 5 Apr 2006 19:59:16 +0000 (19:59 +0000)]
Reverted the init.php requirement.  Marc raised some good points about init.php doing work regarding preferences et al, more in line with a logged-in-user.  In order to avoid future complications, I have removed init.hp from configtest, and have replaced the missing require(). (global.php and strings.php)

Also added a non-fatal test for register_globals.

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

15 years agoModified configtest to use the new init.php system.
tassium [Wed, 5 Apr 2006 19:40:41 +0000 (19:40 +0000)]
Modified configtest to use the new init.php system.
Without this change, configtest did not work.

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

15 years agoRemove unneeded code from 2000. It doesn't work anymore with init.php
stekkel [Wed, 5 Apr 2006 19:37:40 +0000 (19:37 +0000)]
Remove unneeded code from 2000. It doesn't work anymore with init.php
(rg=on)

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

15 years agothe register globals check was deleting $base_uri from the global scope.
stekkel [Wed, 5 Apr 2006 18:49:44 +0000 (18:49 +0000)]
the register globals check was deleting $base_uri from the global scope.
Reordening init.php solved this.

In the future we probably should use the constand SM_BASE_URI which doesn't
suffer from weird global behaviour

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

15 years agoMove Rick to retired, per his request.
kink [Wed, 5 Apr 2006 16:06:44 +0000 (16:06 +0000)]
Move Rick to retired, per his request.

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

15 years agoCentralized init
stekkel [Wed, 5 Apr 2006 00:22:11 +0000 (00:22 +0000)]
Centralized init

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

15 years agoAdding template for error box.
stevetruckstuff [Tue, 28 Mar 2006 22:39:52 +0000 (22:39 +0000)]
Adding template for error box.

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

15 years agoAdded ability for template authors to include additional stylesheets. This allows...
stevetruckstuff [Tue, 28 Mar 2006 22:17:44 +0000 (22:17 +0000)]
Added ability for template authors to include additional stylesheets.  This allows them to add additional CSS defs while maintaining SQM default defintions.

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

15 years agotext before displayHtmlHeader() causes error notices (#1454409).
tokul [Tue, 21 Mar 2006 19:25:54 +0000 (19:25 +0000)]
text before displayHtmlHeader() causes error notices (#1454409).

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

15 years agohtml output started before displayHtmlHeader is called (#1454409).
tokul [Tue, 21 Mar 2006 19:21:52 +0000 (19:21 +0000)]
html output started before displayHtmlHeader is called (#1454409).
Patch by santyaga_ru at users.sourceforge.net

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

15 years agoremove obsolate sqm_baseuri tests. function is moved to functions/strings.php
tokul [Sun, 19 Mar 2006 13:47:26 +0000 (13:47 +0000)]
remove obsolate sqm_baseuri tests. function is moved to functions/strings.php
load functions/global.php before strings.php first.

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

15 years agoexplained extra loaded libraries
tokul [Sun, 19 Mar 2006 11:44:34 +0000 (11:44 +0000)]
explained extra loaded libraries
removed extraction of otp, key, username, delimiter and base_uri vars

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

15 years agodon't load info plugin functions in setup.php
tokul [Sun, 19 Mar 2006 10:53:23 +0000 (10:53 +0000)]
don't load info plugin functions in setup.php

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

15 years agoremoved htmlspecialchars applied in wrong place.
tokul [Sun, 19 Mar 2006 10:51:37 +0000 (10:51 +0000)]
removed htmlspecialchars applied in wrong place.

rewrote message text extraction. Output of formatBody() and translateText()
functions depends on user's preferences and can contain html formating.

removed message text processing code. conversion of html entities applies
only to html special chars and undoes html sanitizing made by charset_decode.
It makes message text unsuitable for form input fields. " -> '' and other
conversions removed too in order to preserve message format.

translate form is displayed only when message body is not empty.

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

15 years agoFix for updating the mailbox cache concernig flags
stekkel [Fri, 17 Mar 2006 17:48:31 +0000 (17:48 +0000)]
Fix for updating the mailbox cache concernig flags

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

15 years agoFix toggle all to use the right name
jangliss [Fri, 17 Mar 2006 17:26:44 +0000 (17:26 +0000)]
Fix toggle all to use the right name

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

15 years agoHTTP docs say that ID and NAME must be the same.
jangliss [Fri, 17 Mar 2006 17:11:46 +0000 (17:11 +0000)]
HTTP docs say that ID and NAME must be the same.

http://www.w3.org/TR/html4/struct/links.html#anchors-with-id

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

15 years agocellspacing is a table attribute, not a tr/td attribute.
jangliss [Fri, 17 Mar 2006 17:03:53 +0000 (17:03 +0000)]
cellspacing is a table attribute, not a tr/td attribute.

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

15 years agoadvanced_tree changes and system locale checks in configtest.php
tokul [Wed, 15 Mar 2006 17:25:04 +0000 (17:25 +0000)]
advanced_tree changes and system locale checks in configtest.php

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

15 years agoadding advanced template to default configuration
tokul [Wed, 15 Mar 2006 17:23:27 +0000 (17:23 +0000)]
adding advanced template to default configuration

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

15 years agoadding supported locale tests and displaying current server's time zone.
tokul [Wed, 15 Mar 2006 17:17:13 +0000 (17:17 +0000)]
adding supported locale tests and displaying current server's time zone.

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

15 years agofix from Dimitar Pashev
stekkel [Tue, 14 Mar 2006 17:06:31 +0000 (17:06 +0000)]
fix from Dimitar Pashev

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

15 years agoFix from Dimitar Pashev to make sure the rfc822 from adres isn't mixed up
stekkel [Tue, 14 Mar 2006 17:05:01 +0000 (17:05 +0000)]
Fix from Dimitar Pashev to make sure the rfc822 from adres isn't mixed up
when we set the $from vars to '' to make sure MAIL FROM <> is sent (MDN
receipt).
Could be a php 5.x thing because normally $from isn't a reference.

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

15 years agoremoving advanced_tree configuration variable. code is moved to templates
tokul [Sun, 12 Mar 2006 20:21:56 +0000 (20:21 +0000)]
removing advanced_tree configuration variable. code is moved to templates

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

15 years ago<input> needs to be within <td> to be html-valid
kink [Sun, 12 Mar 2006 16:12:02 +0000 (16:12 +0000)]
<input> needs to be within <td> to be html-valid

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

15 years agowe need to encode the message so it won't interfere with
kink [Sun, 12 Mar 2006 16:10:00 +0000 (16:10 +0000)]
we need to encode the message so it won't interfere with
the <input> tag

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

15 years agoneed to encode & in strings
kink [Sun, 12 Mar 2006 14:38:39 +0000 (14:38 +0000)]
need to encode & in strings

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

15 years agoAllowing display of unsafe images when viewing HTML attachments and when HTML is...
jervfors [Sun, 12 Mar 2006 11:57:50 +0000 (11:57 +0000)]
Allowing display of unsafe images when viewing HTML attachments and when HTML is in an <iframe>.

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

15 years agoAllowing display of unsafe images when viewing HTML attachments and when HTML is...
jervfors [Sun, 12 Mar 2006 01:50:54 +0000 (01:50 +0000)]
Allowing display of unsafe images when viewing HTML attachments and when HTML is in an <iframe>.

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

15 years agoString update.
jervfors [Sat, 11 Mar 2006 20:00:44 +0000 (20:00 +0000)]
String update.

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

15 years agoUpdating theme list.
jervfors [Sat, 11 Mar 2006 18:11:54 +0000 (18:11 +0000)]
Updating theme list.

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

15 years agoUpdating examples for setting up directories
jervfors [Sat, 11 Mar 2006 13:52:05 +0000 (13:52 +0000)]
Updating examples for setting up directories

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

15 years agoinformation about Ukrainian translators
tokul [Thu, 9 Mar 2006 20:47:38 +0000 (20:47 +0000)]
information about Ukrainian translators

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

15 years agopossible fix for unsolicited fetch responses during select call (IA Mail
stekkel [Thu, 9 Mar 2006 18:22:47 +0000 (18:22 +0000)]
possible fix for unsolicited fetch responses during select call (IA Mail
Server v.5.3 Corporate Edition

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

15 years ago - Issue loading options page always loaded the prefs
jangliss [Wed, 8 Mar 2006 19:57:24 +0000 (19:57 +0000)]
  - Issue loading options page always loaded the prefs
    initial_value on display, instead of the users' value.

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

15 years agocreating first phpdoc block
tokul [Wed, 8 Mar 2006 18:42:25 +0000 (18:42 +0000)]
creating first phpdoc block

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

15 years agoAdding templates for the note in right_main.php, MOTD, and empty folder notification.
stevetruckstuff [Mon, 6 Mar 2006 20:58:06 +0000 (20:58 +0000)]
Adding templates for the note in right_main.php, MOTD, and empty folder notification.

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

15 years agoCorrecting color indexes so transparency is displayed correctly in IE.
stevetruckstuff [Mon, 6 Mar 2006 18:28:59 +0000 (18:28 +0000)]
Correcting color indexes so transparency is displayed correctly in IE.

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

15 years agoinformation about added themes and sq_strpos_8bit() function in url parser.
tokul [Mon, 6 Mar 2006 17:17:13 +0000 (17:17 +0000)]
information about added themes and sq_strpos_8bit() function in url parser.

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

15 years agocyrus can use / as delimiter
tokul [Mon, 6 Mar 2006 17:12:46 +0000 (17:12 +0000)]
cyrus can use / as delimiter

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

15 years agoadding new themes. Patch numbers are in changelog.
tokul [Mon, 6 Mar 2006 17:10:56 +0000 (17:10 +0000)]
adding new themes. Patch numbers are in changelog.

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