squirrelmail.git
18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 years agoDon't display counts for boxes that can't be selected. Also fixes bug of not display...
stevetruckstuff [Mon, 6 Mar 2006 17:02:27 +0000 (17:02 +0000)]
Don't display counts for boxes that can't be selected.  Also fixes bug of not displaying message count when no unread messages are found, but the count of all folders is desired.

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

18 years ago8bit symbol should not be part of URL. If URL parser detects 8bit, it
tokul [Mon, 6 Mar 2006 17:00:39 +0000 (17:00 +0000)]
8bit symbol should not be part of URL. If URL parser detects 8bit, it
treats it as end of URL. (#1356798)

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

18 years agoConverting images from gif to png
stevetruckstuff [Mon, 6 Mar 2006 17:00:23 +0000 (17:00 +0000)]
Converting images from gif to png

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

18 years agoThe purge link should be based on MessageCount, not UnreadCount
indiri69 [Fri, 3 Mar 2006 23:07:00 +0000 (23:07 +0000)]
The purge link should be based on MessageCount, not UnreadCount

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

18 years ago - Security: Possible cookie theft in src/redirect.php if
jangliss [Fri, 3 Mar 2006 03:39:18 +0000 (03:39 +0000)]
  - Security: Possible cookie theft in src/redirect.php if
    register_globals is enabled, and malicous site is running
    in same domain.

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

18 years agoif PHP recode functions are used for decoding, they might use html character
tokul [Thu, 2 Mar 2006 20:31:31 +0000 (20:31 +0000)]
if PHP recode functions are used for decoding, they might use html character
entities. Encoding functions can't handle them. It is easier to convert all
entities in one place instead of finding supported entities in every encoding
function.

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

18 years agochanges in sqimap_mailbox_create()
tokul [Wed, 1 Mar 2006 21:27:24 +0000 (21:27 +0000)]
changes in sqimap_mailbox_create()

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

18 years agodon't include delimiter in subscription command, when noselect mailbox is created
tokul [Wed, 1 Mar 2006 21:15:00 +0000 (21:15 +0000)]
don't include delimiter in subscription command, when noselect mailbox is created

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

18 years agoFixed View as HTML link so it doesn't forget it was part of a seach result.
indiri69 [Tue, 28 Feb 2006 20:10:33 +0000 (20:10 +0000)]
Fixed View as HTML link so it doesn't forget it was part of a seach result.

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

18 years agoAdded text icons for sorting
stevetruckstuff [Tue, 28 Feb 2006 17:03:21 +0000 (17:03 +0000)]
Added text icons for sorting

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

18 years agoDon't display counts for boxes that can't be selected.
indiri69 [Tue, 28 Feb 2006 01:21:53 +0000 (01:21 +0000)]
Don't display counts for boxes that can't be selected.

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

18 years agoIf Unseen and Total is selected in Folder Preference, display the message counts...
indiri69 [Mon, 27 Feb 2006 19:14:52 +0000 (19:14 +0000)]
If Unseen and Total is selected in Folder Preference, display the message counts regardless of how many unseen messages there are. This restores the old behavior of showing (0/15) after a folder name.

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

18 years agoPut cell end before row end
indiri69 [Mon, 27 Feb 2006 18:13:25 +0000 (18:13 +0000)]
Put cell end before row end

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

18 years agoremoving debug call and adding information about added function argument
tokul [Sun, 26 Feb 2006 14:51:00 +0000 (14:51 +0000)]
removing debug call and adding information about added function argument

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

18 years agoDoing include_once(SM_PATH . 'plugins/filters/filters.php') inside plugin
tokul [Sun, 26 Feb 2006 14:45:20 +0000 (14:45 +0000)]
Doing include_once(SM_PATH . 'plugins/filters/filters.php') inside plugin
init function breaks purpose of removing code from setup.php

using simple hook setup and moving right_main_after_header hook handling
to main filtering function.

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

18 years agoinformation about administrator plugin fix
tokul [Sun, 26 Feb 2006 12:55:25 +0000 (12:55 +0000)]
information about administrator plugin fix

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

18 years agotrue != 2 in this case
tokul [Sun, 26 Feb 2006 12:51:10 +0000 (12:51 +0000)]
true != 2 in this case

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

18 years agofixed strings with quotes.
tokul [Sun, 26 Feb 2006 12:41:24 +0000 (12:41 +0000)]
fixed strings with quotes.
escaped quotes in modified $newcfg vars
removed escapes and sanitized quotes in html display

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

18 years agoRenaming "config_sample.php" to "config_default.php".
jervfors [Sun, 26 Feb 2006 10:52:34 +0000 (10:52 +0000)]
Renaming "config_sample.php" to "config_default.php".

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

18 years agoMake the use_*_tls options half respect old values. If you leave it as
jangliss [Sun, 26 Feb 2006 06:32:17 +0000 (06:32 +0000)]
Make the use_*_tls options half respect old values.  If you leave it as
true, then it would try to use STARTTLS.  While I understand this is a
new feature, and this is the dev branch, a little backwards compatibility
is easy in this case.  The value 2 is considered true... Using === instead
is an exact match, so you'd have to have 2 in the use_*_tls options for it
to trigger starttls mode.

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

18 years agoAssuming that this was used for debugging, thus removing it.
jervfors [Sat, 25 Feb 2006 13:13:22 +0000 (13:13 +0000)]
Assuming that this was used for debugging, thus removing it.

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

18 years agoadded newmail_unseen_notify option
tokul [Sat, 25 Feb 2006 08:25:29 +0000 (08:25 +0000)]
added newmail_unseen_notify option

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

18 years agoadding option to choose monitored folders. Monitoring according to
tokul [Sat, 25 Feb 2006 08:24:47 +0000 (08:24 +0000)]
adding option to choose monitored folders. Monitoring according to
$unseen_notify does not provide enough end user options.
removing display_messages.php loading. sqm_baseuri() function is already
loaded in 1.5.1+.
main folder status code still needs some fixes. Status is incorrect, if
plugin wants more data than $unseen_notify.

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

18 years agoNew template for advanced mailbox tree, which uses the dTree package. To use this...
stevetruckstuff [Fri, 24 Feb 2006 22:34:14 +0000 (22:34 +0000)]
New template for advanced mailbox tree, which uses the dTree package.  To use this template, it must first be installed through config/conf.pl

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

18 years agoFixed problem with changing templates using the tempalte's icon theme.
stevetruckstuff [Fri, 24 Feb 2006 22:33:15 +0000 (22:33 +0000)]
Fixed problem with changing templates using the tempalte's icon theme.

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

18 years agoIncoproated template config file. Templates can now include their own javascript...
stevetruckstuff [Fri, 24 Feb 2006 22:32:11 +0000 (22:32 +0000)]
Incoproated template config file.  Templates can now include their own javascript files.  Also, if a template pack does not incorporate a specific template, the default template will be used instead.

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

18 years agoIncoproated template config file. Templates can now include their own javascript...
stevetruckstuff [Fri, 24 Feb 2006 22:31:40 +0000 (22:31 +0000)]
Incoproated template config file.  Templates can now include their own javascript files.  If a template pack does not incorporate a specific template, the default template will be used instead.

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

18 years agoIncorporated getIconPath to allow third-party packages (like dTree) to getch the...
stevetruckstuff [Fri, 24 Feb 2006 22:29:09 +0000 (22:29 +0000)]
Incorporated getIconPath to allow third-party packages (like dTree) to getch the correct icon path.

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

18 years agoFix notice when image is missing
stevetruckstuff [Thu, 23 Feb 2006 16:16:17 +0000 (16:16 +0000)]
Fix notice when image is missing

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

18 years agoneed to keep it 'url', not 'idiocy', because 'url' also matches the regexp
kink [Thu, 23 Feb 2006 14:13:47 +0000 (14:13 +0000)]
need to keep it 'url', not 'idiocy', because 'url' also matches the regexp

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

18 years agoalso need to get u\rl outside of style blocks;
kink [Thu, 23 Feb 2006 13:50:08 +0000 (13:50 +0000)]
also need to get u\rl outside of style blocks;
do not try to correct them since they are obviously malicious

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

18 years agoalso parse uppercase U\RL
kink [Thu, 23 Feb 2006 13:10:58 +0000 (13:10 +0000)]
also parse uppercase U\RL

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

18 years ago- Fix MagicHTML fix with respect to parsing of u\rl in IE.
kink [Thu, 23 Feb 2006 13:03:20 +0000 (13:03 +0000)]
- Fix MagicHTML fix with respect to parsing of u\rl in IE.

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

18 years agoAdding folder icon support to basic template
stevetruckstuff [Wed, 22 Feb 2006 23:39:13 +0000 (23:39 +0000)]
Adding folder icon support to basic template

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

18 years agoRemove "(0)" if there are no unread messages.
stevetruckstuff [Wed, 22 Feb 2006 23:14:16 +0000 (23:14 +0000)]
Remove "(0)" if there are no unread messages.

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