1 {assign var='count' value=$event->getAuthors()|count}{assign var='guestTimesTriggered' value=$event->getNotification()->guestTimesTriggered}{assign var='authors' value=$event->getAuthors()|array_values}
2 {if $mimeType === 'text/plain'}
3 {capture assign='authorList'}{lang}wcf.user.notification.mail.authorList.plaintext{/lang}{/capture}
4 {lang}{@$languageVariablePrefix}.mail.plaintext{/lang}{if $count == 1 && !$guestTimesTriggered}
6 {$event->getUserNotificationObject()->message}{/if} {* this line ends with a space *}
8 {capture assign='authorList'}{lang}wcf.user.notification.mail.authorList.html{/lang}{/capture}
9 {lang}{@$languageVariablePrefix}.mail.html{/lang}
10 {assign var='user' value=$event->getAuthor()}
11 {assign var='comment' value=$event->getUserNotificationObject()}
13 {if $notificationType == 'instant'}{assign var='avatarSize' value=48}
14 {else}{assign var='avatarSize' value=32}{/if}
15 {capture assign='commentContent'}
16 <table cellpadding="0" cellspacing="0" border="0">
18 <td><a href="{link controller='User' object=$user isEmail=true}{/link}" title="{$comment->username}">{@$user->getAvatar()->getImageTag($avatarSize)}</a></td>
19 <td class="boxContent">
20 <div class="containerHeadline">
23 <a href="{link controller='User' object=$user isEmail=true}{/link}">{$comment->username}</a>
28 <small>{$comment->time|plainTime}</small>
38 {include file='email_paddingHelper' block=true class='box'|concat:$avatarSize content=$commentContent sandbox=true}