Commit graph

287 commits

Author SHA1 Message Date
Andy
c32baf6f95
Merge branch 'trunk' into master 2021-02-05 11:57:03 -08:00
pdontthink
c4ef1a0eea
Happy New Year 2021-02-05 11:55:37 -08:00
Andy
a3e51f1ee6
Merge branch 'trunk' 2020-01-07 00:13:04 -08:00
pdontthink
fc283980d0
Happy New Year 2020-01-07 00:12:38 -08:00
Andy
f7fe4708b2
Merge branch 'trunk' 2019-01-07 21:55:40 -08:00
pdontthink
fbcb1ca1f5
Happy New Year 2019-01-07 21:55:08 -08:00
Andy
f27a4c69fc
Merge branch 'trunk' 2018-10-13 16:42:40 -07:00
pdontthink
9d64bf61a6
Make sure link tags are proper XHTML 2018-10-13 16:41:57 -07:00
Andy
195bdbc5da
Merge branch 'trunk' 2018-10-13 03:21:28 -07:00
pdontthink
da08b38ebd
Add favicon and ability for admins to use their own by setting in config_local.php (see documentation in config/config_local.php) 2018-10-13 03:19:24 -07:00
Andy
1cd1fed06b
SAMEORIGIN replaced with CSP frame-ancestors 2018-08-01 18:35:51 -07:00
pdontthink
23cd61b628 Happy New Year 2018-01-16 23:44:07 +00:00
pdontthink
6cd24c0552 Happy 2017 2017-01-27 20:34:08 +00:00
pdontthink
2934017d92 Happy New Year 2016-01-01 20:59:53 +00:00
pdontthink
3b465a0d0f Happy 2015 2015-01-03 04:09:49 +00:00
pdontthink
581dc23061 Happy 2014 2014-01-01 20:33:20 +00:00
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