squirrelmail.git
14 years agono & encoding in redirect url please
kink [Sun, 7 Jan 2007 17:57:38 +0000 (17:57 +0000)]
no & encoding in redirect url please

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

14 years agoImprove attachment file handling: use one new function to create a temp
kink [Sun, 7 Jan 2007 17:30:13 +0000 (17:30 +0000)]
Improve attachment file handling: use one new function to create a temp
file for storing the attachment. This replaces the same code in five
places. It also improves on the code, it's now much more safe against
overwriting existing attachments by chance.

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

14 years agonew file for compose-related functions
kink [Sun, 7 Jan 2007 17:02:32 +0000 (17:02 +0000)]
new file for compose-related functions

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

14 years agounify lists or allowed values for set_defaults and imap_server_type (#1629722),
kink [Sun, 7 Jan 2007 15:53:14 +0000 (15:53 +0000)]
unify lists or allowed values for set_defaults and imap_server_type (#1629722),
thanks Johnny Hughes

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

14 years agoMake js escaping compatible with magic_quotes_sybase (#1616953),
kink [Sun, 7 Jan 2007 15:48:48 +0000 (15:48 +0000)]
Make js escaping compatible with magic_quotes_sybase (#1616953),
thanks Tomas Kuliavas

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

14 years agoAdd warning about magic_quotes_* in configtest.
kink [Sun, 7 Jan 2007 15:47:46 +0000 (15:47 +0000)]
Add warning about magic_quotes_* in configtest.

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

14 years agoframeset pages must not use standard footer because it contains "</body>",
kink [Sun, 7 Jan 2007 15:44:12 +0000 (15:44 +0000)]
frameset pages must not use standard footer because it contains "</body>",
just need closing </html> tag

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

14 years agoimprove smtp delivery failed message.
kink [Sun, 7 Jan 2007 15:37:08 +0000 (15:37 +0000)]
improve smtp delivery failed message.

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

14 years agoMake use of mailbox cache because flag info is updated in the mailbox cache
stekkel [Sun, 7 Jan 2007 14:04:10 +0000 (14:04 +0000)]
Make use of mailbox cache because flag info is updated in the mailbox cache
and not in the cached message objects (because it wasn't needed before the
new status display feature)

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

14 years agodisplay status of message when reading it (deleted, answered, flagged etc)
kink [Sun, 7 Jan 2007 13:25:23 +0000 (13:25 +0000)]
display status of message when reading it (deleted, answered, flagged etc)
#1278696

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

14 years agostrip all whitespace from $domain, an accidental space breaks quite some
kink [Sun, 7 Jan 2007 12:55:41 +0000 (12:55 +0000)]
strip all whitespace from $domain, an accidental space breaks quite some
things (#1533795)

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

14 years agoStrip HTML out of forms.php. Need to run through rest of core and use these function...
pdontthink [Sun, 7 Jan 2007 07:34:58 +0000 (07:34 +0000)]
Strip HTML out of forms.php.  Need to run through rest of core and use these functions such as in all the options pages instead of the embedded HTML there.  Note the FIXME comments in forms.php -- I will post something on the DEVEL list in a while with a proposed patch.

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

14 years agoTemplate files for form widgets being added
pdontthink [Sun, 7 Jan 2007 07:28:11 +0000 (07:28 +0000)]
Template files for form widgets being added

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

14 years agoDrop obsolete ORDB RBL from filters plugin, thanks Tomas Kuliavas (#1629398).
kink [Sat, 6 Jan 2007 16:44:22 +0000 (16:44 +0000)]
Drop obsolete ORDB RBL from filters plugin, thanks Tomas Kuliavas (#1629398).

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

14 years agoIncrease max limit for sqGetGlobalVarMultiple search "radius".
pdontthink [Fri, 5 Jan 2007 05:02:03 +0000 (05:02 +0000)]
Increase max limit for sqGetGlobalVarMultiple search "radius".

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

14 years agoMake compact paginator work on search results
pdontthink [Fri, 5 Jan 2007 03:39:22 +0000 (03:39 +0000)]
Make compact paginator work on search results

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

14 years agoPartial fix for non-javascript compact paginator on search results, but as Marc noted...
pdontthink [Thu, 4 Jan 2007 14:15:25 +0000 (14:15 +0000)]
Partial fix for non-javascript compact paginator on search results, but as Marc noted, the widgets need to be named or otherwise associated with which form they belong, which is why it still isn't working

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

14 years agoDo it the right way
pdontthink [Thu, 4 Jan 2007 14:09:15 +0000 (14:09 +0000)]
Do it the right way

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

14 years agoUse org_title -- why not? (That's what it's for.) Can't believe this wasn't fixed...
pdontthink [Thu, 4 Jan 2007 09:35:44 +0000 (09:35 +0000)]
Use org_title -- why not?  (That's what it's for.)  Can't believe this wasn't fixed before now.  STABLE admins, how do you feel about backporting this?

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

14 years agoAdd attribute array to hyperlink/image/span templates for future extensibility
pdontthink [Thu, 4 Jan 2007 07:23:03 +0000 (07:23 +0000)]
Add attribute array to hyperlink/image/span templates for future extensibility

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

14 years agoGive date fields just a touch more space on message list
pdontthink [Wed, 3 Jan 2007 20:36:57 +0000 (20:36 +0000)]
Give date fields just a touch more space on message list

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

14 years agoFix for unknown index notices caused in templates when looking for plugin output...
pdontthink [Wed, 3 Jan 2007 20:33:11 +0000 (20:33 +0000)]
Fix for unknown index notices caused in templates when looking for plugin output in what was an empty string instead of an empty array

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

14 years agoClarify docs
pdontthink [Wed, 3 Jan 2007 13:04:26 +0000 (13:04 +0000)]
Clarify docs

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

14 years agoFixed broken GO button in compact paginator (when javascript is off) -- problem was...
pdontthink [Wed, 3 Jan 2007 12:41:18 +0000 (12:41 +0000)]
Fixed broken GO button in compact paginator (when javascript is off) -- problem was that startMessage was already in <form> action attribute, so naming the <select> widget startMessage was incorrect, and a compounding issue was that there were two <select> widgets with the same name.  Whew.

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

14 years agoNew hook. See added comments if you care.
pdontthink [Wed, 3 Jan 2007 10:08:00 +0000 (10:08 +0000)]
New hook.  See added comments if you care.

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

14 years agoAlways add $base_uri to templates
pdontthink [Wed, 3 Jan 2007 09:46:30 +0000 (09:46 +0000)]
Always add $base_uri to templates

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

14 years agoAdding useful vars to template; is there a better place to add these?? Anyone??
pdontthink [Wed, 3 Jan 2007 09:40:43 +0000 (09:40 +0000)]
Adding useful vars to template; is there a better place to add these??  Anyone??

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

14 years agoUse checkForJavascript() instead of $javascript_on. Not well tested. PLEASE HELP...
pdontthink [Wed, 3 Jan 2007 09:38:31 +0000 (09:38 +0000)]
Use checkForJavascript() instead of $javascript_on.  Not well tested.  PLEASE HELP TEST.

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

14 years agoUse checkForJavascript() instead of $javascript_on. Except I did not change mailbox_...
pdontthink [Wed, 3 Jan 2007 09:26:44 +0000 (09:26 +0000)]
Use checkForJavascript() instead of $javascript_on.  Except I did not change mailbox_display.php because $javascript_on comes from $aProps, not sure if it could be changed - Marc?

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

14 years agoUse checkForJavascrip() instead of $javascript_on
pdontthink [Wed, 3 Jan 2007 09:23:56 +0000 (09:23 +0000)]
Use checkForJavascrip() instead of $javascript_on

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

14 years agoUse checkForJavascript() instead of $javascript_on
pdontthink [Wed, 3 Jan 2007 09:03:58 +0000 (09:03 +0000)]
Use checkForJavascript() instead of $javascript_on

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

14 years agoMove another template util file, strip HTML out of paginator utility fxns.
pdontthink [Tue, 2 Jan 2007 22:06:39 +0000 (22:06 +0000)]
Move another template util file, strip HTML out of paginator utility fxns.

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

14 years agoCan't have any whitespace output
pdontthink [Tue, 2 Jan 2007 21:03:07 +0000 (21:03 +0000)]
Can't have any whitespace output

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

14 years agoLet template set tell us what the valid non-breaking space is for the target output...
pdontthink [Tue, 2 Jan 2007 20:33:39 +0000 (20:33 +0000)]
Let template set tell us what the valid non-breaking space is for the target output format.  This is somewhat inefficient (although so far only found one place to use it - commit coming later); faster design choice might be to create a <template_name>_functions.php file in the template set's directory, where a function called <template_name>_non_breaking_space() can be called, but then where do you draw the line? (Could also replace the hyperlink.tpl file, but then it starts to look like you are doing exactly what the template engine is supposed to be doing.)

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

14 years agoAt this moment concat_hook_function can return string and arrays.
stekkel [Tue, 2 Jan 2007 19:31:45 +0000 (19:31 +0000)]
At this moment concat_hook_function can return string and arrays.
In php 4.3.x a notice will be raised (i.e. in login.tpl) when a string is passed
as $aPluginOutput.
TODO, only return an arrays by concat_hook_function.

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

14 years agoRemoving hook from template, misc cleanup
pdontthink [Tue, 2 Jan 2007 08:07:24 +0000 (08:07 +0000)]
Removing hook from template, misc cleanup

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

14 years agoAdd name attribute to hyperlink template
pdontthink [Tue, 2 Jan 2007 06:38:34 +0000 (06:38 +0000)]
Add name attribute to hyperlink template

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

14 years agoRefactor message list control widgets into their own template file; useful if we...
pdontthink [Mon, 1 Jan 2007 00:37:42 +0000 (00:37 +0000)]
Refactor message list control widgets into their own template file; useful if we want to show controls at bottom of message list as well, HOWEVER, note that while most browsers handle it perfectly fine, putting same-named widgets on one page is bad news; I think invalid HTML, so we might try to figure out a way to rename widgets(?).

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

14 years agoRefactor message list template, move hooks out of template, add hook for plugin acces...
pdontthink [Sun, 31 Dec 2006 23:48:11 +0000 (23:48 +0000)]
Refactor message list template, move hooks out of template, add hook for plugin access to message list controls, change message list control array to use associative (string) array keys for easier groking

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

14 years agorequired file already included by template class => it raised a fatal error.
stekkel [Sun, 31 Dec 2006 17:40:51 +0000 (17:40 +0000)]
required file already included by template class => it raised a fatal error.

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

14 years agoForgot to wrap output in PHP tags
pdontthink [Sun, 31 Dec 2006 06:31:32 +0000 (06:31 +0000)]
Forgot to wrap output in PHP tags

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

14 years agoRemoving hooks from template one by one...
pdontthink [Sun, 31 Dec 2006 06:29:37 +0000 (06:29 +0000)]
Removing hooks from template one by one...

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

14 years agot12n of fortune output
pdontthink [Sun, 31 Dec 2006 06:28:19 +0000 (06:28 +0000)]
t12n of fortune output

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

14 years agoRemove span tags from core
pdontthink [Sun, 31 Dec 2006 05:40:57 +0000 (05:40 +0000)]
Remove span tags from core

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

14 years agoDoc update... needs to be finished
pdontthink [Sun, 31 Dec 2006 05:19:39 +0000 (05:19 +0000)]
Doc update... needs to be finished

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

14 years agoMoving template util files
pdontthink [Sun, 31 Dec 2006 05:18:59 +0000 (05:18 +0000)]
Moving template util files

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

14 years agoAllow text alternative for images to percolate all the way through template layers
pdontthink [Sun, 31 Dec 2006 05:09:39 +0000 (05:09 +0000)]
Allow text alternative for images to percolate all the way through template layers

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

14 years agoRefactor image template code
pdontthink [Sun, 31 Dec 2006 04:39:00 +0000 (04:39 +0000)]
Refactor image template code

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

14 years agoRefactor hyperlink template code
pdontthink [Sun, 31 Dec 2006 04:18:52 +0000 (04:18 +0000)]
Refactor hyperlink template code

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

14 years agoMoving template util files
pdontthink [Sun, 31 Dec 2006 01:42:11 +0000 (01:42 +0000)]
Moving template util files

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

14 years agoAdd id attribute to hyperlink and image templates
pdontthink [Sat, 30 Dec 2006 22:22:05 +0000 (22:22 +0000)]
Add id attribute to hyperlink and image templates

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

14 years agoFix typo
pdontthink [Sat, 30 Dec 2006 21:44:50 +0000 (21:44 +0000)]
Fix typo

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

14 years agoRemove HTML from login src and add image template
pdontthink [Sat, 30 Dec 2006 21:41:42 +0000 (21:41 +0000)]
Remove HTML from login src and add image template

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

14 years agoAdd class attribute to template
pdontthink [Sat, 30 Dec 2006 21:29:54 +0000 (21:29 +0000)]
Add class attribute to template

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

14 years agoUpdate for new location of global template utilities. Note that templates/util_globa...
pdontthink [Sat, 30 Dec 2006 21:24:00 +0000 (21:24 +0000)]
Update for new location of global template utilities.  Note that templates/util_global.php is already included by the Template class so is ALWAYS available for ALL template files.

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

14 years agoAdd class attribute to template
pdontthink [Sat, 30 Dec 2006 21:14:54 +0000 (21:14 +0000)]
Add class attribute to template

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

14 years agoMoving template utilities... help appreciated moving the other util files too
pdontthink [Sat, 30 Dec 2006 20:36:03 +0000 (20:36 +0000)]
Moving template utilities... help appreciated moving the other util files too

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

14 years agoMoving template utilities... help appreciated moving the other util files too
pdontthink [Sat, 30 Dec 2006 20:29:59 +0000 (20:29 +0000)]
Moving template utilities... help appreciated moving the other util files too

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

14 years agoRemoved extraneous comments
pdontthink [Sat, 30 Dec 2006 20:05:22 +0000 (20:05 +0000)]
Removed extraneous comments

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

14 years agoFixed note from last commit, but NOT tested, sorry not an Opera regular
pdontthink [Sat, 30 Dec 2006 09:50:11 +0000 (09:50 +0000)]
Fixed note from last commit, but NOT tested, sorry not an Opera regular

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

14 years agoNote to fix naive user agent sniffing
pdontthink [Sat, 30 Dec 2006 07:57:28 +0000 (07:57 +0000)]
Note to fix naive user agent sniffing

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

14 years agoLanguage fix
pdontthink [Wed, 20 Dec 2006 23:29:51 +0000 (23:29 +0000)]
Language fix

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

14 years agoFix comp_in_new getting tagged onto ALL the menu links
pdontthink [Wed, 20 Dec 2006 07:19:55 +0000 (07:19 +0000)]
Fix comp_in_new getting tagged onto ALL the menu links

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

14 years agoMove code that verifies template and theme settings AFTER plugin hook that might...
pdontthink [Wed, 13 Dec 2006 10:56:19 +0000 (10:56 +0000)]
Move code that verifies template and theme settings AFTER plugin hook that might override those settings

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

14 years agoAllow template sets to override plugin configuration. See config file in template...
pdontthink [Tue, 12 Dec 2006 10:43:00 +0000 (10:43 +0000)]
Allow template sets to override plugin configuration.  See config file in template directories.

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

14 years agoBetter hook placement
pdontthink [Mon, 11 Dec 2006 21:07:32 +0000 (21:07 +0000)]
Better hook placement

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

14 years agoRe-enable plugins in configtest
pdontthink [Mon, 11 Dec 2006 21:05:11 +0000 (21:05 +0000)]
Re-enable plugins in configtest

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

14 years agoCorrect subpackage
pdontthink [Sun, 10 Dec 2006 22:11:12 +0000 (22:11 +0000)]
Correct subpackage

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

14 years agoProbably poor synopsis of plugin system changes...
pdontthink [Sun, 10 Dec 2006 21:51:24 +0000 (21:51 +0000)]
Probably poor synopsis of plugin system changes...

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

14 years agoRemove debugging code
pdontthink [Sun, 10 Dec 2006 21:47:04 +0000 (21:47 +0000)]
Remove debugging code

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

14 years agoStrip HTML for hyperlink creation from core
pdontthink [Sun, 10 Dec 2006 21:44:28 +0000 (21:44 +0000)]
Strip HTML for hyperlink creation from core

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

14 years agoCorrect CVS Id tag
pdontthink [Sun, 10 Dec 2006 21:19:20 +0000 (21:19 +0000)]
Correct CVS Id tag

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

14 years agoListcommands plugin now updated to 1.5.2-style 'templat-ized' output
pdontthink [Sun, 10 Dec 2006 21:10:14 +0000 (21:10 +0000)]
Listcommands plugin now updated to 1.5.2-style 'templat-ized' output

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

14 years agoReposition read_body_header plugin output point
pdontthink [Sun, 10 Dec 2006 21:06:24 +0000 (21:06 +0000)]
Reposition read_body_header plugin output point

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

14 years agomake spamcop plugin work again
kink [Sun, 10 Dec 2006 20:19:45 +0000 (20:19 +0000)]
make spamcop plugin work again

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

14 years agoaccept &$links by reference
kink [Sun, 10 Dec 2006 20:18:47 +0000 (20:18 +0000)]
accept &$links by reference

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

14 years agoRevert last commit; passing by reference like that causes deprecation PHP notices...
pdontthink [Sun, 10 Dec 2006 20:11:29 +0000 (20:11 +0000)]
Revert last commit; passing by reference like that causes deprecation PHP notices in PHP4.  It is the responsibility of the receiving plugin to accept the args by reference if it intends to change its value.

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

14 years ago(finally)fix message_details plugin for new plugin infrastructure, and as
kink [Sun, 10 Dec 2006 19:43:27 +0000 (19:43 +0000)]
(finally)fix message_details plugin for new plugin infrastructure, and as
added bonus, make it work without javascript too

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

14 years agomust pass $args by ref to to plugin function too, if we want the plugin
kink [Sun, 10 Dec 2006 19:37:11 +0000 (19:37 +0000)]
must pass $args by ref to to plugin function too, if we want the plugin
to be able to modify it

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

14 years agoMassive update to plugin system architecture. Please test! Not all core plugins...
pdontthink [Sun, 10 Dec 2006 05:13:40 +0000 (05:13 +0000)]
Massive update to plugin system architecture.  Please test!  Not all core plugins are tested yet, please point out issues that need to be fixed.  Please see marc.theaimsgroup.com/?t=116282394000001&r=1&w=2

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

14 years agoMassive update to plugin system architecture. Please test! Not all core plugins...
pdontthink [Sun, 10 Dec 2006 05:07:54 +0000 (05:07 +0000)]
Massive update to plugin system architecture.  Please test!  Not all core plugins are tested yet, please point out issues that need to be fixed.  Please see marc.theaimsgroup.com/?t=116282394000001&r=1&w=2

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

14 years agoRemove embedded HTML for displaying submit buttons on option pages, also display...
pdontthink [Fri, 8 Dec 2006 05:24:15 +0000 (05:24 +0000)]
Remove embedded HTML for displaying submit buttons on option pages, also display more than one submit button so you need not scroll to the bottom to change options right at the top of a page.  Doesn't look so good on the Personal Information page, so if anyone has any bright ideas on how to fine-tune this...

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

14 years agoadd security fixes to changelog
kink [Mon, 4 Dec 2006 08:46:31 +0000 (08:46 +0000)]
add security fixes to changelog

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

14 years agotweak comments
kink [Mon, 4 Dec 2006 08:45:18 +0000 (08:45 +0000)]
tweak comments

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

14 years agoMore XSS fixes related to magicHtml
stekkel [Mon, 4 Dec 2006 01:08:51 +0000 (01:08 +0000)]
More XSS fixes related to magicHtml

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

14 years agobring string in line with rest
kink [Sun, 3 Dec 2006 10:53:20 +0000 (10:53 +0000)]
bring string in line with rest

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

14 years agoalso show printer friendly link when javascript off
kink [Sat, 2 Dec 2006 19:36:42 +0000 (19:36 +0000)]
also show printer friendly link when javascript off

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

14 years ago - Security: close cross site scripting vulnerability in draft, compose
kink [Sat, 2 Dec 2006 15:11:09 +0000 (15:11 +0000)]
  - Security: close cross site scripting vulnerability in draft, compose
    and mailto functionality [CVE-2006-6142].
  - Security: work around an issue in Internet Explorer that would guess
    the mime type of a file based on contents, not Content-Type header.

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

14 years agothis should read "download as a file"
kink [Thu, 30 Nov 2006 08:26:37 +0000 (08:26 +0000)]
this should read "download as a file"

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

14 years agoBodystructure parsing fix
stekkel [Sun, 26 Nov 2006 21:29:46 +0000 (21:29 +0000)]
Bodystructure parsing fix

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

14 years agoworkaround to make squirrelspell work again in SM 1.5 CVS
avel [Fri, 24 Nov 2006 09:23:50 +0000 (09:23 +0000)]
workaround to make squirrelspell work again in SM 1.5 CVS

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

14 years agoAdding plugins on/off switch, which disables plugins completely (optionally for only...
pdontthink [Thu, 16 Nov 2006 12:25:48 +0000 (12:25 +0000)]
Adding plugins on/off switch, which disables plugins completely (optionally for only one named user, otherwise for all users).

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

14 years agoAdded comment
pdontthink [Thu, 16 Nov 2006 01:44:35 +0000 (01:44 +0000)]
Added comment

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

14 years agoUpdating and converting to UTF-8.
jervfors [Wed, 15 Nov 2006 22:25:56 +0000 (22:25 +0000)]
Updating and converting to UTF-8.

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

14 years agoAllow sqimap_login() to return error string when connection fails; would be nice...
pdontthink [Sat, 11 Nov 2006 20:05:23 +0000 (20:05 +0000)]
Allow sqimap_login() to return error string when connection fails; would be nice if we had an error code system instead; the extent to which HTML is buried in error messages in the core like here is indicative of just how far away SM's architecture is from a good modularized system that is truly ready for t12n and a good API.

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

14 years agoAdd ability to return error string as well. Would be nice if we had an error code...
pdontthink [Sat, 11 Nov 2006 19:49:19 +0000 (19:49 +0000)]
Add ability to return error string as well.  Would be nice if we had an error code system too.....

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

14 years agoAllow silent failure for sqimap_get_message()
pdontthink [Sat, 11 Nov 2006 10:34:22 +0000 (10:34 +0000)]
Allow silent failure for sqimap_get_message()

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

14 years agoDoc fix
pdontthink [Sat, 11 Nov 2006 08:24:25 +0000 (08:24 +0000)]
Doc fix

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

14 years agoLong time in coming: allow sqimap_login() to return even if connection failed. Usefu...
pdontthink [Sat, 11 Nov 2006 08:13:12 +0000 (08:13 +0000)]
Long time in coming: allow sqimap_login() to return even if connection failed.  Useful in many places, including the new API library.

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

14 years agoAdding contact info to author name
pdontthink [Fri, 10 Nov 2006 23:35:09 +0000 (23:35 +0000)]
Adding contact info to author name

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