Commit | Line | Data |
---|---|---|
69fa057b TD |
1 | {if $mimeType === 'text/plain'} |
2 | {capture assign='content'} | |
3 | {lang}wcf.user.notification.mail.plaintext.intro{/lang} | |
4 | ||
3c5d2b85 TD |
5 | {if $notificationContent|is_array}{include file=$notificationContent[template] application=$notificationContent[application]}{* |
6 | *}{else}{@$notificationContent}{/if} | |
69fa057b TD |
7 | |
8 | {lang}wcf.user.notification.mail.plaintext.outro{/lang} | |
9 | {/capture} | |
10 | {include file='email_plaintext'} | |
11 | {else} | |
12 | {capture assign='content'} | |
69fa057b TD |
13 | {lang}wcf.user.notification.mail.html.intro{/lang} |
14 | ||
3c5d2b85 TD |
15 | {if $notificationContent|is_array} |
16 | {include file=$notificationContent[template] application=$notificationContent[application]} | |
17 | {else} | |
18 | {@$notificationContent} | |
19 | {/if} | |
69fa057b | 20 | |
713d7042 | 21 | {capture assign=button} |
d13cae5b | 22 | <a href="{link controller='NotificationConfirm' isHtmlEmail=true id=$event->getNotification()->notificationID}{/link}"> |
6863349d | 23 | {lang}wcf.user.notification.mail.jumpToContent{/lang} |
713d7042 TD |
24 | </a> |
25 | {/capture} | |
26 | {include file='email_paddingHelper' class='button' outerClass='paragraphMargin' content=$button sandbox=true} | |
27 | ||
69fa057b TD |
28 | {lang}wcf.user.notification.mail.html.outro{/lang} |
29 | {/capture} | |
30 | {include file='email_html'} | |
31 | {/if} |