From 7a26038e66da9d958cc1cc439c904a6a7977428e Mon Sep 17 00:00:00 2001 From: mistic100 Date: Tue, 5 Nov 2013 19:23:29 +0000 Subject: feature 2965: apply new template on pwg_mail() TODO : review other mail functions, configuration GUI git-svn-id: http://piwigo.org/svn/trunk@25344 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/emogrifier.class.php | 404 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 404 insertions(+) create mode 100644 include/emogrifier.class.php (limited to 'include/emogrifier.class.php') diff --git a/include/emogrifier.class.php b/include/emogrifier.class.php new file mode 100644 index 000000000..ef2c49730 --- /dev/null +++ b/include/emogrifier.class.php @@ -0,0 +1,404 @@ +XPath conversion for adjacent sibling selectors and id/class combinations... Thanks Bob V.! + 2011-06-08 Fixed an error where CSS @media types weren't being parsed correctly... Thanks Will W.! + 2011-08-03 Fixed an error where an empty selector at the beginning of the CSS would cause a parse error on the next selector... Thanks Alexei T.! + 2011-10-13 Fully fixed a bug introduced in 2011-06-08 where selectors at the beginning of the CSS would be parsed incorrectly... Thanks Thomas A.! + 2011-10-26 Added an option to allow you to output emogrified code without extended characters being turned into HTML entities. + Moved static references to class attributes so they can be manipulated. + Added the ability to clear out the (formerly) static cache when CSS is reloaded. + 2011-12-22 Fixed a bug that was overwriting existing inline styles from the original HTML... Thanks Sagi L.! + 2012-01-31 Fixed a bug that was introduced with the 2011-12-22 revision... Thanks Sagi L. and M. BÄ…kowski! + Added extraction of