Bug #14774
closedA few improvements(?) in 3.8.
0%
Description
I've done a few changes to some Typo3 source files, which could be interesting. I'm sending these files as attachement. I've put /* by bednee */ commentar to every line/paragraph which I have changed. So it should be easy to check it out.
About these changes:
class.t3lib_htmlmail.php
- the charset of an e-mail was hardcoded as iso-8852-1. Well, not everyone uses this charset and if your pages are in utf-8, you prefer to send the e-mails in utf-8 as well. Therefore I changed this class. If forceCharset is empty it uses iso-8852-1, otherwise it uses the value in the forceCharset field as charset of the e-mail.
class.t3lib_stdgraphic.php
- it's now possible to resize images using GD. That means without ImageMagick installed on a server.
class.tslib_content.php
- if you put some non-ASCII chars to a goodMess/badMess in a formmail, the PHP function rawurlencode messes them up. Therefore I removed this function. I really don't see the point why it should be there.
- if a really large picture (with a "click to resize" option on) is on a page and you null the imageLinkWrap.width and imageLinkWrap.height values (as you want the original size) then you get a really huge window poped up. That's not very good. With my change, if a picture with offset is bigger than 820x620px you get a 800x600px big resizable window with scrollbars.
(issue imported from #M1134)
Files