1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub-skin.git synced 2024-07-05 08:14:21 +03:00
ifhub-skin/emails/email.comment_new.tpl

16 lines
871 B
Smarty
Raw Normal View History

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}