pdontthink [Fri, 2 Feb 2007 21:31:59 +0000 (21:31 +0000)]
All this document.write stuff is overkill when we already have checkForJavascript() in place
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12211
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Fri, 2 Feb 2007 21:20:09 +0000 (21:20 +0000)]
Add new addButton() function
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12210
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 26 Jan 2007 14:03:08 +0000 (14:03 +0000)]
replace reserved word 'action' with 'encaction'
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12205
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 26 Jan 2007 13:58:41 +0000 (13:58 +0000)]
add labels to make checkboxes better clickable
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12204
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Thu, 25 Jan 2007 07:27:37 +0000 (07:27 +0000)]
Removing hooks where we can from templates; one hook will probably have to stay; see comments in the code
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12203
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Thu, 25 Jan 2007 02:02:25 +0000 (02:02 +0000)]
Allow admin to disable secure-only cookie transmission
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12202
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Thu, 25 Jan 2007 01:22:33 +0000 (01:22 +0000)]
Fix: When session auto-start not enabled, undefined var notice for
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12201
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Wed, 24 Jan 2007 14:50:31 +0000 (14:50 +0000)]
misspelled reply_to and in_reply_to attributes
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12200
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Wed, 24 Jan 2007 06:51:15 +0000 (06:51 +0000)]
Add preview pane to advanced default template. This serves as an example of how to use a plugin to provide backend functionality introduced by a template (preview pane needs to be turned on/off by settings in the display preferences, which the plugin does; actual preview pane output is done by the template set). Note any plugin can be turned on or off for a given skin using the template's own config file.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12197
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 23 Jan 2007 06:14:11 +0000 (06:14 +0000)]
Center is an illegal value for vertical-align
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12192
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 23 Jan 2007 05:12:18 +0000 (05:12 +0000)]
Minor HTML adjustment
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12191
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 23 Jan 2007 04:25:14 +0000 (04:25 +0000)]
Forgot to i18n a string
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12190
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 23 Jan 2007 03:37:36 +0000 (03:37 +0000)]
Somehow went missing options.php and config file, minor adjustments to template output formatting.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12189
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sat, 20 Jan 2007 07:05:20 +0000 (07:05 +0000)]
Boolean hook call needs priority 1 to error out when any plugin has problems.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12161
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sat, 20 Jan 2007 07:02:22 +0000 (07:02 +0000)]
Comment change only
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12160
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sat, 20 Jan 2007 02:19:50 +0000 (02:19 +0000)]
Allow auto-refresh after options are changed (when JavaScript is turned on). Future enhancement might be to pass a GET variable to options page so after a *complete* page refresh, it can still tell the user that the options were saved.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12155
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Fri, 19 Jan 2007 23:21:54 +0000 (23:21 +0000)]
Simplify and standardize sendMDN function.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12154
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Fri, 19 Jan 2007 13:41:18 +0000 (13:41 +0000)]
obsolete .cvsignore; add plugin_hooks.php to svn:ignore
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12149
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Fri, 19 Jan 2007 09:11:16 +0000 (09:11 +0000)]
Remove HTML from org_logo on logout error page
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12146
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Fri, 19 Jan 2007 09:10:10 +0000 (09:10 +0000)]
Minor fix; reduce needless open/closing of PHP
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12145
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 18 Jan 2007 16:11:28 +0000 (16:11 +0000)]
do not add spaces to references header (#
1634294),
thanks SOCS
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12143
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Thu, 18 Jan 2007 15:19:38 +0000 (15:19 +0000)]
Fix URL to send read receipts from read_body (#
1637572),
thanks to Ce1ta
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12142
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Mon, 15 Jan 2007 21:07:58 +0000 (21:07 +0000)]
Added a list of "core" plugins shipped with Squirrelmail. I could use the reference, maybe someone else will find it useful too.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12139
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 15 Jan 2007 08:40:21 +0000 (08:40 +0000)]
Update attributions string output
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12138
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 15 Jan 2007 08:35:27 +0000 (08:35 +0000)]
Remove more HTML from sm_attributions. Where exactly do these show up? Certainly not in the footer, which is what's displayed here.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12137
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 15 Jan 2007 08:30:54 +0000 (08:30 +0000)]
forgot to globalize base_uri
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12136
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 15 Jan 2007 08:27:10 +0000 (08:27 +0000)]
Remove HTML from provider_uri and name; also fix default provider_uri when on plugin pages; base path was not part of the link
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12135
7612ce4b-ef26-0410-bec9-
ea0150e637f0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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