squirrelmail.git
17 years agoSynch advanced template with SM attribute string changes
pdontthink [Mon, 15 Jan 2007 07:58:55 +0000 (07:58 +0000)]
Synch advanced template with SM attribute string changes

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

17 years agoBetter formatting (I hope)
pdontthink [Mon, 15 Jan 2007 07:58:05 +0000 (07:58 +0000)]
Better formatting (I hope)

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

17 years agoRemove things that snuck in accidentally on last commit
pdontthink [Mon, 15 Jan 2007 07:50:40 +0000 (07:50 +0000)]
Remove things that snuck in accidentally on last commit

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

17 years agoRemove a spec of HTML from login.php
pdontthink [Mon, 15 Jan 2007 07:46:53 +0000 (07:46 +0000)]
Remove a spec of HTML from login.php

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

17 years agoForgot to add template for non-RFC list management functionality
pdontthink [Sun, 14 Jan 2007 05:46:24 +0000 (05:46 +0000)]
Forgot to add template for non-RFC list management functionality

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

17 years agoHow did config.php get in? SVN doesn't tell me I need to commit file removals, so...
pdontthink [Sun, 14 Jan 2007 05:44:08 +0000 (05:44 +0000)]
How did config.php get in?  SVN doesn't tell me I need to commit file removals, so I'm guessing I have to.

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

17 years agoincrement year in copyright notices
kink [Sat, 13 Jan 2007 20:15:44 +0000 (20:15 +0000)]
increment year in copyright notices

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

17 years agoreplace CVS with SVN
kink [Sat, 13 Jan 2007 19:08:18 +0000 (19:08 +0000)]
replace CVS with SVN

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

17 years agotest
kink [Sat, 13 Jan 2007 18:33:34 +0000 (18:33 +0000)]
test

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

17 years agotest
kink [Sat, 13 Jan 2007 18:30:59 +0000 (18:30 +0000)]
test

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

17 years agoHttpOnly cookies
stekkel [Sat, 13 Jan 2007 16:10:31 +0000 (16:10 +0000)]
HttpOnly cookies

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

17 years agoSetting the SQSESSID cookie with path "/" to deleted caused failed logins
stekkel [Sat, 13 Jan 2007 16:04:20 +0000 (16:04 +0000)]
Setting the SQSESSID cookie with path "/" to deleted caused failed logins
because somehow php or the browser prefered the SQSESSID cookie with path
"/" over the SQSESSID cookie with the correct path $base_uri.

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

17 years agoStop warning about invalid session_id
stekkel [Sat, 13 Jan 2007 15:07:56 +0000 (15:07 +0000)]
Stop warning about invalid session_id

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

17 years agoHttpOnly cookies support. I hope this does not break SquirrelMail on certain
stekkel [Sat, 13 Jan 2007 14:21:18 +0000 (14:21 +0000)]
HttpOnly cookies support. I hope this does not break SquirrelMail on certain
PHP versions.
It works on PHP 5.2.

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

17 years agoRemove sqsetcookieflush call
stekkel [Sat, 13 Jan 2007 14:06:32 +0000 (14:06 +0000)]
Remove sqsetcookieflush call

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

17 years agoRemove sqsetcookieflush call (not needed)
stekkel [Sat, 13 Jan 2007 14:04:39 +0000 (14:04 +0000)]
Remove sqsetcookieflush call (not needed)

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

17 years agoCredit Peter Steiner's idea for list commands change
pdontthink [Sat, 13 Jan 2007 07:38:02 +0000 (07:38 +0000)]
Credit Peter Steiner's idea for list commands change

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

17 years agoAdd ability for listcommands plugin to show reply and post links for user-configured...
pdontthink [Sat, 13 Jan 2007 07:34:17 +0000 (07:34 +0000)]
Add ability for listcommands plugin to show reply and post links for user-configured non-RFC 2369-compliant lists; admin must enable by configuring plugin.

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

17 years agoAdding initial RPC baseline functionality. The delete message request does in fact...
pdontthink [Thu, 11 Jan 2007 08:05:51 +0000 (08:05 +0000)]
Adding initial RPC baseline functionality.  The delete message request does in fact work in any RPC (such as AJAX) environment, but does not actually delete messages.  SM core needs a lot of reworking before this functionality can be fully fleshed out.

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

17 years agoBack out something that shouldn't be here (yet?) and leave behind a comment explainin...
pdontthink [Wed, 10 Jan 2007 20:34:26 +0000 (20:34 +0000)]
Back out something that shouldn't be here (yet?) and leave behind a comment explaining that htmlencoded is currently ignored

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

17 years agoBack out some minor things (mostly comments) that shouldn't have made it in (yet?)
pdontthink [Wed, 10 Jan 2007 20:19:56 +0000 (20:19 +0000)]
Back out some minor things (mostly comments) that shouldn't have made it in (yet?)

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

17 years agoAllow template sets to filter or completely change header delivery
pdontthink [Tue, 9 Jan 2007 08:03:54 +0000 (08:03 +0000)]
Allow template sets to filter or completely change header delivery

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

17 years agoReminders to remove HTML from core
pdontthink [Tue, 9 Jan 2007 06:27:51 +0000 (06:27 +0000)]
Reminders to remove HTML from core

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

17 years agoRemove HTML from SM option widget code; use forms.php utilities, which in turn use...
pdontthink [Tue, 9 Jan 2007 05:09:28 +0000 (05:09 +0000)]
Remove HTML from SM option widget code; use forms.php utilities, which in turn use templated output

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

17 years agoMoving template util file
pdontthink [Mon, 8 Jan 2007 19:54:19 +0000 (19:54 +0000)]
Moving template util file

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

17 years agoGive threading URI to template, let template do the HTML layout
pdontthink [Mon, 8 Jan 2007 19:09:01 +0000 (19:09 +0000)]
Give threading URI to template, let template do the HTML layout

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

17 years agoRemove unneeded changes.
stekkel [Sun, 7 Jan 2007 20:33:23 +0000 (20:33 +0000)]
Remove unneeded changes.

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

17 years agoI don't know what triggered this bug to become visible but suddenly the
stekkel [Sun, 7 Jan 2007 20:30:01 +0000 (20:30 +0000)]
I don't know what triggered this bug to become visible but suddenly the
compose screen was full with serialized data from compose_session. Putting
back urlencode() removed in revision 1.372, Sun Mar 28 14:38:13 2004
UTC fixed this again.

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

17 years agofixup logout error
kink [Sun, 7 Jan 2007 18:29:07 +0000 (18:29 +0000)]
fixup logout error

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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

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