aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Mail/EMailTemplate.php
Commit message (Collapse)AuthorAgeFilesLines
* Stricter phan config fixesLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove unneeded stylesMorris Jobke2017-07-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Adjust to height=120Lukas Reschke2017-07-241-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Revert "Set max-width of image to 100px in Outlook as well"Lukas Reschke2017-07-241-3/+0
|
* Set max-width of image to 100px in Outlook as wellMorris Jobke2017-07-231-0/+3
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add function to request SVG or regular fallback imageLukas Reschke2017-05-081-1/+1
| | | | | | Fixes https://github.com/nextcloud/server/issues/4647 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Allow meta info and iconsJoas Schilling2017-04-251-6/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add lists to HTML emailsJoas Schilling2017-04-241-22/+104
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename renderHTML to renderHtmlMorris Jobke2017-04-191-2/+2
| | | | | | | * fixes #4383 * improves consistency Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix translationsJoas Schilling2017-04-181-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update email template for lost password emailMorris Jobke2017-04-121-2/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* No newlines when heading is emptyJoas Schilling2017-04-121-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make the plain text footer standard compliant and add a space after '--'. It ↵Bjoern Schiessle2017-04-121-1/+1
| | | | | | also adds a line break in front so that there is some spacing between the mail body and the footer Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Use instance name as alt-textJoas Schilling2017-04-121-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't duplicate the sentence with the headerJoas Schilling2017-04-121-2/+5
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly escape heading, body and button textMorris Jobke2017-04-121-5/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add addBodyButton to add a single button to email templatesMorris Jobke2017-04-121-0/+64
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to set text versions for the plain text emailMorris Jobke2017-04-111-7/+24
| | | | | | * allows different texts for HTML and text version of the email Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add IEMailTemplate to public OCP APILukas Reschke2017-04-111-0/+1
| | | | | | Also adds `\OCP\Mail\IMailer::createEMailTemplate` as helper so the functionality can easily be used within apps. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Move OC_Defaults to OCP\DefaultsMorris Jobke2017-04-091-5/+5
| | | | | | | | | | | | | * currently there are two ways to access default values: OCP\Defaults or OC_Defaults (which is extended by OCA\Theming\ThemingDefaults) * our code used a mixture of both of them, which made it hard to work on theme values * this extended the public interface with the missing methods and uses them everywhere to only rely on the public interface Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add support for themingLukas Reschke2017-04-071-20/+36
| | | | | | Add support for theming in generated emails and simplify API Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* New layout for welcome emailMorris Jobke2017-04-071-0/+392
* thanks to @espina2 for make this nice design * the button says "Set password" if the admin didn't specified a password Signed-off-by: Morris Jobke <hey@morrisjobke.de>