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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years agoAdd support for SpamAssassin's X-Spam-Status header (#1589520).
perlstalker [Fri, 10 Nov 2006 17:07:17 +0000 (17:07 +0000)]
Add support for SpamAssassin's X-Spam-Status header (#1589520).

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

17 years agoConvert plugin output on signout page to new template system; plugins previously...
pdontthink [Sat, 4 Nov 2006 10:11:01 +0000 (10:11 +0000)]
Convert plugin output on signout page to new template system; plugins previously hooking into the 'logout_above_text' hook should hook into the 'template_construct_signout.tpl' hook and return output in an array under a key called 'signout_message', such as: return array('signout_message' => )

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

17 years agoPlay it a little safer when reassigning login uri
pdontthink [Sat, 4 Nov 2006 04:11:42 +0000 (04:11 +0000)]
Play it a little safer when reassigning login uri

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

17 years agoMake login uri dynamic
pdontthink [Sat, 4 Nov 2006 03:55:54 +0000 (03:55 +0000)]
Make login uri dynamic

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

17 years agoSignout.php needed the error class to be loaded earlier.
pdontthink [Sat, 4 Nov 2006 03:50:20 +0000 (03:50 +0000)]
Signout.php needed the error class to be loaded earlier.

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

17 years agoFix for namespace parsing. UWash has a namespace prefix without a delimiter, which...
avel [Thu, 2 Nov 2006 12:54:14 +0000 (12:54 +0000)]
Fix for namespace parsing. UWash has a namespace prefix without a delimiter, which is perfectly legal.

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

17 years agoI should read RFC 2831 more carefully: DIGEST-MD5 with authzid needs one more tweak.
avel [Wed, 1 Nov 2006 15:24:54 +0000 (15:24 +0000)]
I should read RFC 2831 more carefully: DIGEST-MD5 with authzid needs one more tweak.

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

17 years agologout_error hook should be able to override login link too
pdontthink [Fri, 27 Oct 2006 04:26:54 +0000 (04:26 +0000)]
logout_error hook should be able to override login link too

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

17 years agoRemoved one line left over from copied code
pdontthink [Wed, 25 Oct 2006 11:07:22 +0000 (11:07 +0000)]
Removed one line left over from copied code

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

17 years agoAfter looking into it, I slightly misunderstood the intention here. Code is just...
pdontthink [Wed, 25 Oct 2006 11:05:18 +0000 (11:05 +0000)]
After looking into it, I slightly misunderstood the intention here.  Code is just fine as is.

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

17 years agoAdding ability to hook into ANY attachment type. Also, please review my comments...
pdontthink [Wed, 25 Oct 2006 02:00:54 +0000 (02:00 +0000)]
Adding ability to hook into ANY attachment type.  Also, please review my comments, Does anyone know if/when/how the wildcard attachment code was working???  It looks pretty broken to me, but has been here a long time, so...????

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

17 years agoAttachment hooks were not registering. Also, brace count code had no effect where...
pdontthink [Wed, 25 Oct 2006 01:54:54 +0000 (01:54 +0000)]
Attachment hooks were not registering.  Also, brace count code had no effect where it was.

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

17 years ago- Add CEST and MEST (non-standard) timezone codes for +0200.
kink [Fri, 20 Oct 2006 08:47:20 +0000 (08:47 +0000)]
- Add CEST and MEST (non-standard) timezone codes for +0200.

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

17 years agoTemplate for viewing text attachments.
stevetruckstuff [Thu, 19 Oct 2006 16:49:45 +0000 (16:49 +0000)]
Template for viewing text attachments.

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

17 years agoTemplate for viewing HTML messages in iframes
stevetruckstuff [Thu, 19 Oct 2006 16:08:14 +0000 (16:08 +0000)]
Template for viewing HTML messages in iframes

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

17 years agoTemplate for view header feature.
stevetruckstuff [Thu, 19 Oct 2006 15:23:56 +0000 (15:23 +0000)]
Template for view header feature.

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

17 years ago- Translate plugin: prevent PHP notice when viewing empty message.
kink [Thu, 19 Oct 2006 11:46:25 +0000 (11:46 +0000)]
- Translate plugin: prevent PHP notice when viewing empty message.

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

17 years agoCSS for printer-friendly templates
stevetruckstuff [Wed, 18 Oct 2006 18:42:39 +0000 (18:42 +0000)]
CSS for printer-friendly templates

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

17 years agoTemplates for printer-friendly views
stevetruckstuff [Wed, 18 Oct 2006 18:39:45 +0000 (18:39 +0000)]
Templates for printer-friendly views

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

17 years agoCreate a separate function to build the attachments array so that the same array...
stevetruckstuff [Tue, 17 Oct 2006 22:16:29 +0000 (22:16 +0000)]
Create a separate function to build the attachments array so that the same array can be given to printer-freindly views.

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

17 years agoFix default theme setting.
stevetruckstuff [Tue, 17 Oct 2006 22:15:37 +0000 (22:15 +0000)]
Fix default theme setting.

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

17 years agoAdd two new command line options in conf.pl: --update-plugins or -u updates plugin_ho...
avel [Tue, 17 Oct 2006 13:53:54 +0000 (13:53 +0000)]
Add two new command line options in conf.pl: --update-plugins or -u updates plugin_hooks.php only and exits. --help or -h displays some command line usage.

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

17 years agoReorg placement of plugin loading and add config_override hook. Wondering why we...
pdontthink [Sat, 14 Oct 2006 15:57:13 +0000 (15:57 +0000)]
Reorg placement of plugin loading and add config_override hook.  Wondering why we can't move SM version constants to top of file.  Also considering removal of loading_constants hook.  Anyone know what plugins use it?

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

17 years agoAllow plugins to hook in under other name
pdontthink [Sat, 14 Oct 2006 15:15:52 +0000 (15:15 +0000)]
Allow plugins to hook in under other name

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

17 years agorequire instead of include_once
pdontthink [Fri, 13 Oct 2006 17:57:50 +0000 (17:57 +0000)]
require instead of include_once

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

17 years agoMake config/plugin_hooks.php just a touch more readable
pdontthink [Fri, 13 Oct 2006 17:36:39 +0000 (17:36 +0000)]
Make config/plugin_hooks.php just a touch more readable

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