tokul [Sat, 3 Jun 2006 17:23:59 +0000 (17:23 +0000)]
wrong default left after testing backend.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11177
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sat, 3 Jun 2006 17:14:49 +0000 (17:14 +0000)]
Adding write support to address book ldap backend. Patch by David Hardeman
(#
1495763).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11176
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 30 May 2006 17:19:27 +0000 (17:19 +0000)]
information about added special folder translations.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11173
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 30 May 2006 16:30:00 +0000 (16:30 +0000)]
translating folder names in selection box.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11172
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 29 May 2006 17:30:05 +0000 (17:30 +0000)]
translate folder names in mailbox tree
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11171
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 29 May 2006 17:26:48 +0000 (17:26 +0000)]
don't modify sent_folder option in plugin. It does not belong to plugin.
Plugin still rewrites target folder in compose_send hook
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11170
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 29 May 2006 17:12:54 +0000 (17:12 +0000)]
adding option that should control translation of special folders
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11169
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 28 May 2006 09:28:03 +0000 (09:28 +0000)]
info about abook information
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11166
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 28 May 2006 09:13:03 +0000 (09:13 +0000)]
don't use $r == DB_OK checks, because they cause PHP warnings when $r is DB_Error object.
turned on field case portability for Oracle.
escaped SQL wildcards in search() method
handle nickname changes in modify() method. Users could get DB error when new nickname is already in use
make search case insensitive in serch() method.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11165
7612ce4b-ef26-0410-bec9-
ea0150e637f0
avel [Fri, 26 May 2006 12:53:18 +0000 (12:53 +0000)]
Fix capability retrieval for "double" cases in server capability response, for instance in a new Cyrus: SORT SORT=MODSEQ . This patch will eliminate a notice that was displayed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11162
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Mon, 22 May 2006 17:43:43 +0000 (17:43 +0000)]
initialize template object here. logout_error() depends on it.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11152
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 21 May 2006 18:45:27 +0000 (18:45 +0000)]
SCRIPT_FILENAME is not set on IIS 5.1 php cgi
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11151
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 21 May 2006 18:23:09 +0000 (18:23 +0000)]
SCRIPT_FILENAME is not set in some setups
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11150
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 18 May 2006 15:09:30 +0000 (15:09 +0000)]
Take X-Forwarded-Host HTTP header in consideration when constructing
base_uri for redirects; reduces problems with transparent proxies
(#
1488590). Also test strcasecmp on literally '0' with respect to
#
1047883 although I don't think it's absolutely necessary, it's safest.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11147
7612ce4b-ef26-0410-bec9-
ea0150e637f0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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