Commit | Line | Data |
---|---|---|
af35d999 | 1 | {assign var='count' value=$event->getAuthors()|count}{assign var='guestTimesTriggered' value=$event->getNotification()->guestTimesTriggered}{assign var='authors' value=$event->getAuthors()|array_values} |
3c5d2b85 | 2 | {if $mimeType === 'text/plain'} |
af35d999 | 3 | {capture assign='authorList'}{lang}wcf.user.notification.mail.authorList.plaintext{/lang}{/capture} |
3c5d2b85 TD |
4 | {lang}wcf.user.notification.follow.mail.plaintext{/lang} |
5 | {else} | |
af35d999 | 6 | {capture assign='authorList'}{lang}wcf.user.notification.mail.authorList.html{/lang}{/capture} |
852a7f7f | 7 | {lang}wcf.user.notification.follow.mail.html{/lang} |
3c5d2b85 | 8 | {assign var='user' value=$event->getAuthor()} |
b16a5be6 | 9 | |
541bbe3a TD |
10 | {if $notificationType == 'instant'}{assign var='avatarSize' value=48} |
11 | {else}{assign var='avatarSize' value=32}{/if} | |
3c5d2b85 TD |
12 | {capture assign='userContent'} |
13 | <table cellpadding="0" cellspacing="0" border="0"> | |
14 | <tr> | |
c8a69deb | 15 | <td><a href="{link controller='User' object=$user isHtmlEmail=true}{/link}" title="{$user->username}">{@$user->getAvatar()->getSafeImageTag($avatarSize)}</a></td> |
852a7f7f | 16 | <td class="boxContent"> |
3c5d2b85 TD |
17 | {include file='email_userInformationHeadline'} |
18 | </td> | |
19 | </tr> | |
20 | </table> | |
21 | {/capture} | |
b16a5be6 | 22 | {include file='email_paddingHelper' block=true class='box'|concat:$avatarSize content=$userContent sandbox=true} |
3c5d2b85 | 23 | {/if} |