Fredrik Jervfors
c076a1f1ae
Update copyright
2013-07-26 17:31:02 +00:00
Thijs Kinkhorst
efd75f4867
Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
...
New function sm_encode_html_special_chars() encodes HTML special
characters by calling htmlspecialchars(). It sets the character set
to ISO-8859-1, to fix compatibility with PHP >= 5.4.
Patch by Paul Lesniewski.
See #3491925
2012-12-09 12:06:30 +00:00
pdontthink
acc409fb2a
Updating copyrights. Happy New Year.
2012-01-02 02:09:17 +00:00
pdontthink
361b09f7a2
Add clickjacking protection (thanks to Asbjorn Thorsen and Geir Hansen for bringing this to our attention) [CVE-2010-4554]
2011-07-12 03:44:23 +00:00
pdontthink
fc57bf2b59
Happy New Year!
2011-01-06 03:16:21 +00:00
pdontthink
e85832efce
Synchronize no-cache headers. This reverses revision 13940 because no-cahce headers were already being sent in displayHtmlHeader() for left_main.php and right_main.php (the tracker referred to in that revision only applies to SquirrelMail 1.4.x).
2010-06-21 00:39:12 +00:00
Thijs Kinkhorst
a9d46c71ad
Send X-DNS-Prefetch-Control: off header to browsers to prevent information
...
leakage when Firefox does DNS prefetching for URL's contained in emails.
https://secure.grepular.com/DNS_Prefetch_Exposure_on_Thunderbird_and_Webmail
2010-02-13 16:27:52 +00:00
pdontthink
7aa0e60863
Update copyrights to 2010
2010-01-25 03:23:30 +00:00
Fredrik Jervfors
134d462c94
The copyright symbol isn't really needed since the word "copyright" is there. Also it doesn't display right in the documentation.
2009-09-29 12:15:33 +00:00
Fredrik Jervfors
0a6245814a
There are too many modified files being committed without the copyright year being updated, so here's a copyright year update the old-fashioned style.
2009-04-15 22:00:49 +00:00
pdontthink
ffc720544d
Translate special folders doesn't mean translate any folder
2009-04-06 10:48:28 +00:00
pdontthink
d27f53fb49
Fix for accesskey getting set to 'NONE' in somem cases
2009-03-26 21:05:53 +00:00
pdontthink
39355dd534
Add access keys for menubar
2009-03-26 08:40:48 +00:00
pdontthink
836d2c03e6
Allow makeInternalLink() and makeComposeLink() to accomodate access keys
2009-03-25 03:16:51 +00:00
pdontthink
28be6e0075
Fix body onload per FIXME
2008-12-21 09:43:22 +00:00
pdontthink
e4252c5bf3
Just fiddling. Give credit where credit is due. Template class header() function now supports the 'replace' argument.
2008-09-24 01:56:59 +00:00
pdontthink
fa7436a9de
Allow template sets to define what the content-type of their output is.
2008-09-10 03:04:14 +00:00
Thijs Kinkhorst
811297b6ed
Add preliminary printerfriendly-through-css feature. This adds a new print.css
...
stylesheet that is used when using the browser's print (or print preview) function.
A problem is that due to the frames, it won't work if selecting File -> Print because
this will print webmail.php instead of read_body. To see it in action, open read_body
on its own and use File -> Print Preview.
It would be nice if this could replace the printer_friendly function over time, because
it's purely css based and thus doesn't require extra code. For that we need to finetune
the sheet and most importantly, conquer the frames-problem in some smart way.
2008-05-08 10:19:18 +00:00
pdontthink
d27435974b
Allow plugins to add or modify page headers
2008-05-06 21:11:15 +00:00
Thijs Kinkhorst
bbaef06d43
only execute mailbox name manipulation when we actually use $mailbox,
...
thanks Thierry Godefroy.
2008-01-24 10:58:52 +00:00
pdontthink
664a3eb94a
Remove accidental commits that were included in last page_header commit
2007-08-30 03:35:19 +00:00
pdontthink
01db845df0
Remove hook call from template; fix all corresponding core plugins.
2007-08-30 02:10:25 +00:00
pdontthink
1abe5b9ba5
Fix login error for users with no theme
2007-07-17 22:20:15 +00:00
Erin Schnabel
1dae65a45f
list_files vomits over the non-existence of 'none'. The definition of $used_theme is
...
arguably wrong, but either way, 'none' means 'none', and we shouldn't go off
listing files if that's the value.
2007-07-06 23:49:59 +00:00
Fredrik Jervfors
7534282ca3
Going XHTML.
2007-03-12 12:16:17 +00:00
Thijs Kinkhorst
567ef6de29
do not special case a folder named 'None'. There's no reason
...
to not use the empty string and this prevents people who want
to have a "None" folder from using it properly.
2007-03-06 14:57:12 +00:00
pdontthink
377da39efe
Make sure no plugins output things before protocol header goes out
2007-02-16 01:44:22 +00:00
Thijs Kinkhorst
46215ecd92
Drop the default top-right 'SquirrelMail' name and link, as discussed
...
on squirrelmail-devel. It's overkill anyway to name and link SquirrelMail
so prominently on every page. It also confused users who clicked straight
through to our site. It will now only display something if provider_name
and provider_uri have been set, i.o.w., it's completely optional.
2007-02-08 14:47:23 +00:00
pdontthink
020b2476e2
Add hook to compose_Header() that mirrors one for displayPageHeader()
2007-02-07 20:49:21 +00:00
pdontthink
49af86d128
Add body tag template; stop outputting body tags directly from core (there are still a couple places that need to be updated to use this)
2007-02-07 20:34:28 +00:00
pdontthink
b64bd252c7
New hook page_header_bottom
2007-02-06 10:04:00 +00:00
pdontthink
ec64dccba3
forgot to globalize base_uri
2007-01-15 08:30:54 +00:00
pdontthink
be0abf8532
Remove HTML from provider_uri and name; also fix default provider_uri when on plugin pages; base path was not part of the link
2007-01-15 08:27:10 +00:00
Thijs Kinkhorst
11b10ba5d1
increment year in copyright notices
2007-01-13 20:15:44 +00:00
pdontthink
c872ff3394
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?
2007-01-04 09:35:44 +00:00
pdontthink
3174ac0e31
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?
2007-01-03 09:26:44 +00:00
pdontthink
7a16713e83
Refactor hyperlink template code
2006-12-31 04:18:52 +00:00
pdontthink
548b9b18f8
Add id attribute to hyperlink and image templates
2006-12-30 22:22:05 +00:00
pdontthink
e6aa350ba9
Add class attribute to template
2006-12-30 21:29:54 +00:00
pdontthink
bfb6ea2078
Fix comp_in_new getting tagged onto ALL the menu links
2006-12-20 07:19:55 +00:00
pdontthink
8245571b10
Strip HTML for hyperlink creation from core
2006-12-10 21:44:28 +00:00
pdontthink
717be5c30c
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 http://marc.theaimsgroup.com/?t=116282394000001&r=1&w=2
2006-12-10 05:07:54 +00:00
stevetruckstuff
5d57ba360d
Template themes are now directories, not individual stylesheets.
2006-10-13 14:41:25 +00:00
stevetruckstuff
bb268c7629
Use paths for user/template themes rather than u_ and t_ prefixes.
2006-10-09 20:56:38 +00:00
stevetruckstuff
fdf2e1dba5
Add / before default.css in user themes in case it is not in the path for some reason.
2006-10-04 19:12:09 +00:00
stevetruckstuff
441608ef28
Add support for tempalte-provided themes.
2006-10-03 15:30:53 +00:00
stevetruckstuff
318b324085
Correct handling of default user themes.
2006-10-02 20:17:32 +00:00
stevetruckstuff
cd78ffd151
$theme_css is no longer supported.
2006-10-02 16:36:30 +00:00
stevetruckstuff
f19a624375
Additional comments re user-provided stylesheets
2006-10-02 16:26:37 +00:00
pdontthink
bf69c58369
Just adding some comments
2006-10-02 12:04:54 +00:00