Added proper support for font size and color
[GitHub/WoltLab/WCF.git] / com.woltlab.wcf / templates / email.tpl
CommitLineData
86ebc520
TD
1{if $mimeType === 'text/plain'}
2{@$content}
3{hascontent}
4
5-- {* The Space is important, do not remove *}
6{content}
7{@MAIL_SIGNATURE|language}
8{if $mailbox|is_a:'wcf\system\email\UserMailbox'}{if MAIL_SIGNATURE|language}{* add newlines *}
9
10
11{/if}This email was sent to you, because you registered on
12the {$mailbox->getUser()->registrationDate|plainTime} at {@PAGE_TITLE|language}.{/if} {* TODO: language item *}
13{/content}
14{/hascontent}
15
16{elseif $mimeType === 'text/html'}
7c52e0fd
TD
17<html>
18<body>
19<div style="text-align: center;">
20<a href="{link}{/link}">
21{if $__wcf->getStyleHandler()->getStyle()->getPageLogo()}<img src="{$__wcf->getStyleHandler()->getStyle()->getPageLogo()}" alt="">{/if}
22{event name='headerLogo'}
23</a>
24</div>
86ebc520 25<div class="content">{@$content}</div>
7c52e0fd
TD
26{hascontent}
27<div class="signature" style="color: grey; font-size: 10px;">
28-- <br>
29{content}
30{@MAIL_SIGNATURE|language}
31{if $mailbox|is_a:'wcf\system\email\UserMailbox'}
32{if MAIL_SIGNATURE|language}<br><br>{/if}
33This email was sent to you, because you registered on the {$mailbox->getUser()->registrationDate|plainTime} at {@PAGE_TITLE|language}.{/if} {* TODO: language item *}
34{/content}
35</div>
36{/hascontent}
37</body>
38</html>
86ebc520 39{/if}