2017-01-08 13:05:51 +02:00
|
|
|
|
{**
|
|
|
|
|
* Оповещение о новом комментарии в топике
|
|
|
|
|
*}
|
|
|
|
|
|
2018-03-05 14:05:17 +02:00
|
|
|
|
{extends 'component@email.email'}
|
2017-01-08 13:05:51 +02:00
|
|
|
|
|
|
|
|
|
{block 'content'}
|
|
|
|
|
{lang name='emails.comment_new.text' params=[
|
|
|
|
|
'user_url' => $oUserComment->getUserWebPath(),
|
|
|
|
|
'user_name' => $oUserComment->getDisplayName(),
|
|
|
|
|
'topic_name' => $oTopic->getTitle()|escape,
|
|
|
|
|
'comment_url' => "{if Config::Get('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}",
|
|
|
|
|
'comment_text' => "{if Config::Get('sys.mail.include_comment')}{lang name='emails.common.comment_text'}:<br><em>{$oComment->getText()}</em>{/if}",
|
|
|
|
|
'unsubscribe' => "{if $sSubscribeKey}<br><br>{lang name='emails.comment_new.unsubscribe' unsubscribe_url="{router page='subscribe'}unsubscribe/{$sSubscribeKey}/"}{/if}"
|
|
|
|
|
]}
|
|
|
|
|
{/block}
|