mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-16 23:00:51 +03:00
Текст емэйлов вынесен в локализацию
This commit is contained in:
parent
e6149ee839
commit
a386abff70
|
@ -549,21 +549,9 @@ class ModuleNotify extends Module {
|
|||
? strtolower($aMatches[1])
|
||||
: strtolower($sPluginName);
|
||||
|
||||
$sLangDir=Plugin::GetTemplatePath($sPluginName).$this->sDir.'/'.$this->Lang_GetLang();
|
||||
if(is_dir($sLangDir)) {
|
||||
return $sLangDir.'/'.$sName;
|
||||
}
|
||||
return Plugin::GetTemplatePath($sPluginName).$this->sDir.'/'.$this->Lang_GetLangDefault().'/'.$sName;
|
||||
return Plugin::GetTemplatePath($sPluginName).$this->sDir.'/'.$sName;
|
||||
} else {
|
||||
$sLangDir = $this->sDir.'/'.$this->Lang_GetLang();
|
||||
/**
|
||||
* Если директория с сообщениями на текущем языке отсутствует,
|
||||
* используем язык по умолчанию
|
||||
*/
|
||||
if(is_dir(rtrim(Config::Get('path.smarty.template'),'/').'/'.$sLangDir)) {
|
||||
return $sLangDir.'/'.$sName;
|
||||
}
|
||||
return $this->sDir.'/'.$this->Lang_GetLangDefault().'/'.$sName;
|
||||
return $this->sDir.'/'.$sName;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -508,7 +508,7 @@ return array(
|
|||
),
|
||||
|
||||
/**
|
||||
*
|
||||
* Пополняемый список пользователей
|
||||
*/
|
||||
'user_list_add' => array(
|
||||
// Форма добавления
|
||||
|
@ -530,6 +530,198 @@ return array(
|
|||
),
|
||||
),
|
||||
|
||||
/**
|
||||
* Мэйлы
|
||||
*/
|
||||
'emails' => array(
|
||||
'common' => array(
|
||||
'comment_text' => 'Текст комментария'
|
||||
),
|
||||
|
||||
// Приглашение в закрытый блог
|
||||
'blog_invite_new' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
приглашает вас вступить в блог <a href="%%blog_url%%">%%blog_name%%</a>.
|
||||
<br><br>
|
||||
<a href="%%invite_url%%">Посмотреть приглашение</a>
|
||||
<br>
|
||||
Не забудьте предварительно авторизоваться!',
|
||||
),
|
||||
|
||||
// Оповещение о новом комментарии в топике
|
||||
'comment_new' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
оставил новый комментарий к топику <b>%%topic_name%%</b>,
|
||||
прочитать его можно перейдя по <a href="%%comment_url%%">этой ссылке</a>
|
||||
<br><br>
|
||||
%%comment_text%%
|
||||
%%unsubscribe%%',
|
||||
'unsubscribe' => '<a href="%%unsubscribe_url%%">Отписаться от новых комментариев к этому топику</a>'
|
||||
),
|
||||
|
||||
// Оповещение об ответе на комментарий
|
||||
'comment_reply' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
ответил на ваш комментарий в топике <b>%%topic_name%%</b>,
|
||||
прочитать его можно перейдя по <a href="%%comment_url%%">этой ссылке</a>
|
||||
<br><br>
|
||||
%%comment_text%%'
|
||||
),
|
||||
|
||||
// Приглашение на сайт
|
||||
'invite' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
пригласил вас зарегистрироваться на сайте <a href="%%website_url%%">%%website_name%%</a>
|
||||
<br><br>
|
||||
Код приглашения: <b>%%invite_code%%</b>
|
||||
<br><br>
|
||||
Для регистрации вам будет необходимо ввести код приглашения на <a href="%%login_url%%">странице входа</a>'
|
||||
),
|
||||
|
||||
// Повторная активация
|
||||
'reactivation' => array(
|
||||
'text' =>
|
||||
'Вы запросили повторную активацию на сайте <a href="%%website_url%%">%%website_name%%</a>
|
||||
<br><br>
|
||||
Ссылка на активацию аккаунта:
|
||||
<br>
|
||||
<a href="%%activation_url%%">%%activation_url%%</a>'
|
||||
),
|
||||
|
||||
// Регистрация
|
||||
'registration' => array(
|
||||
'text' =>
|
||||
'Вы зарегистрировались на сайте <a href="%%website_url%%">%%website_name%%</a>
|
||||
<br><br>
|
||||
Ваши регистрационные данные:
|
||||
<br><br>
|
||||
Логин: <b>%%user_name%%</b><br>
|
||||
Пароль: <b>%%user_password%%</b>'
|
||||
),
|
||||
|
||||
// Подтверждение регистрации
|
||||
'registration_activate' => array(
|
||||
'text' =>
|
||||
'Вы зарегистрировались на сайте <a href="%%website_url%%">%%website_name%%</a>
|
||||
<br><br>
|
||||
Ваши регистрационные данные:
|
||||
<br><br>
|
||||
Логин: <b>%%user_name%%</b><br>
|
||||
Пароль: <b>%%user_password%%</b>
|
||||
<br><br>
|
||||
Для завершения регистрации вам необходимо активировать аккаунт пройдя по ссылке:<br>
|
||||
<a href="%%activation_url%%">%%activation_url%%</a>'
|
||||
),
|
||||
|
||||
// Смена пароля
|
||||
'reminder_code' => array(
|
||||
'text' =>
|
||||
'Если вы хотите сменить себе пароль на сайте <a href="%%website_url%%">%%website_name%%</a>, то перейдите по ссылке ниже:<br>
|
||||
<a href="%%recover_url%%">%%recover_url%%</a>'
|
||||
),
|
||||
|
||||
// Новый пароль
|
||||
'reminder_password' => array(
|
||||
'text' =>
|
||||
'Вам присвоен новый пароль: <b>%%password%%</b>'
|
||||
),
|
||||
|
||||
// Оповещение о новом сообщении в диалоге
|
||||
'talk_comment_new' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
оставил новый комментарий к письму <b>%%talk_name%%</b>,
|
||||
прочитать его можно перейдя по <a href="%%message_url%%">этой ссылке</a>
|
||||
<br><br>
|
||||
%%message_text%%
|
||||
<br><br>
|
||||
Не забудьте предварительно авторизоваться!'
|
||||
),
|
||||
|
||||
// Оповещение о новом сообщении
|
||||
'talk_new' => array(
|
||||
'text' =>
|
||||
'Вам пришло новое письмо от пользователя <a href="%%user_url%%">%%user_name%%</a>,
|
||||
прочитать его можно перейдя по <a href="%%talk_url%%">этой ссылке</a>
|
||||
<br><br>
|
||||
Тема письма: <b>%%talk_name%%</b><br>
|
||||
%%talk_text%%
|
||||
<br><br>
|
||||
Не забудьте предварительно авторизоваться!'
|
||||
),
|
||||
|
||||
// Оповещение о новом топике
|
||||
'topic_new' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
опубликовал в блоге <b>%%blog_name%%</b>,
|
||||
новый топик — <a href="%%topic_url%%">%%topic_name%%</a>'
|
||||
),
|
||||
|
||||
// Смена почты
|
||||
'user_changemail' => array(
|
||||
'text' =>
|
||||
'Вами отправлен запрос на смену e-mail адреса пользователя <a href="%%user_url%%">%%user_name%%</a>
|
||||
на сайте <a href="%%website_url%%">%%website_name%%</a>.
|
||||
<br><br>
|
||||
Старый e-mail: <b>%%mail_old%%</b><br>
|
||||
Новый e-mail: <b>%%mail_new%%</b>
|
||||
<br><br>
|
||||
Для подтверждения смены емайла пройдите по ссылке:<br>
|
||||
<a href="%%change_url%%">%%change_url%%</a>'
|
||||
),
|
||||
|
||||
// Жалоба
|
||||
'user_complaint' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
пожаловался на пользователя <a href="%%user_target_url%%">%%user_target_url%%</a>.
|
||||
<br><br>
|
||||
<b>Причина:</b> %%complaint_title%%<br>
|
||||
%%complaint_text%%',
|
||||
'more' => 'Подробнее'
|
||||
),
|
||||
|
||||
// Заявка в друзья
|
||||
'user_friend_new' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
<br><br>
|
||||
<em>%%text%%</em>
|
||||
<br><br>
|
||||
<a href="%%url%%">Посмотреть заявку</a>
|
||||
<br><br>
|
||||
Не забудьте предварительно авторизоваться!'
|
||||
),
|
||||
|
||||
// Новое сообщение на стене
|
||||
'wall_new' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
оставил сообщение на <a href="%%wall_url%%">вашей стене</a>
|
||||
<br><br>
|
||||
Текст сообщения:<br>
|
||||
%%message_text%%'
|
||||
),
|
||||
|
||||
// Ответ на сообщение на стене
|
||||
'wall_reply' => array(
|
||||
'text' =>
|
||||
'Пользователь <a href="%%user_url%%">%%user_name%%</a>
|
||||
ответил на ваше сообщение на <a href="%%wall_url%%">стене</a>
|
||||
<br><br>
|
||||
<b>Ваше сообщение:</b><br>
|
||||
<em>%%message_parent_text%%</em>
|
||||
<br><br>
|
||||
Текст ответа:<br>
|
||||
<em>%%message_text%%</em>'
|
||||
)
|
||||
),
|
||||
|
||||
/**
|
||||
* Почта
|
||||
*/
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Приглашение в закрытый блог
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.blog_invite_new.text' params=[
|
||||
'user_url' => $oUserFrom->getUserWebPath(),
|
||||
'user_name' => $oUserFrom->getDisplayName(),
|
||||
'blog_url' => $oBlog->getUrlFull(),
|
||||
'blog_name' => $oBlog->getTitle()|escape,
|
||||
'invite_url' => $sPath
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,16 @@
|
|||
{**
|
||||
* Оповещение о новом комментарии в топике
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{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}
|
|
@ -0,0 +1,16 @@
|
|||
{**
|
||||
* Оповещение об ответе на комментарий
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.comment_reply.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}"
|
||||
]}
|
||||
{/block}
|
||||
|
16
application/frontend/skin/developer/emails/email.invite.tpl
Normal file
16
application/frontend/skin/developer/emails/email.invite.tpl
Normal file
|
@ -0,0 +1,16 @@
|
|||
{**
|
||||
* Приглашение на сайт
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.invite.text' params=[
|
||||
'user_url' => $oUserFrom->getUserWebPath(),
|
||||
'user_name' => $oUserFrom->getDisplayName(),
|
||||
'website_url' => Router::GetPath('/'),
|
||||
'website_name' => Config::Get('view.name'),
|
||||
'invite_code' => $oInvite->getCode(),
|
||||
'login_url' => {router page='login'}
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,13 @@
|
|||
{**
|
||||
* Повторная активация
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.reactivation.text' params=[
|
||||
'website_url' => Router::GetPath('/'),
|
||||
'website_name' => Config::Get('view.name'),
|
||||
'activation_url' => "{router page='registration'}activate/{$oUser->getActivateKey()}/"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,14 @@
|
|||
{**
|
||||
* Регистрация
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.registration.text' params=[
|
||||
'website_url' => Router::GetPath('/'),
|
||||
'website_name' => Config::Get('view.name'),
|
||||
'user_name' => $oUser->getLogin(),
|
||||
'user_password' => $sPassword
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Подтверждение регистрации
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.registration_activate.text' params=[
|
||||
'website_url' => Router::GetPath('/'),
|
||||
'website_name' => Config::Get('view.name'),
|
||||
'user_name' => $oUser->getLogin(),
|
||||
'user_password' => $sPassword,
|
||||
'activation_url' => "{router page='registration'}activate/{$oUser->getActivateKey()}/"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,13 @@
|
|||
{**
|
||||
* Смена пароля
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.reminder_code.text' params=[
|
||||
'website_url' => Router::GetPath('/'),
|
||||
'website_name' => Config::Get('view.name'),
|
||||
'recover_url' => "{router page='login'}reminder/{$oReminder->getCode()}/"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,11 @@
|
|||
{**
|
||||
* Новый пароль
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.reminder_password.text' params=[
|
||||
'password' => $sNewPassword
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Оповещение о новом сообщении в диалоге
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.talk_comment_new.text' params=[
|
||||
'user_url' => $oUserFrom->getUserWebPath(),
|
||||
'user_name' => $oUserFrom->getDisplayName(),
|
||||
'talk_name' => $oTalk->getTitle()|escape,
|
||||
'message_url' => "{router page='talk'}read/{$oTalk->getId()}/#comment{$oTalkComment->getId()}",
|
||||
'message_text' => "{if Config::Get('sys.mail.include_comment')}{lang name='emails.common.comment_text'}:<br><em>{$oTalkComment->getText()}</em>{/if}"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Оповещение о новом сообщении
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.talk_new.text' params=[
|
||||
'user_url' => $oUserFrom->getUserWebPath(),
|
||||
'user_name' => $oUserFrom->getDisplayName(),
|
||||
'talk_name' => $oTalk->getTitle()|escape,
|
||||
'talk_url' => "{router page='talk'}read/{$oTalk->getId()}/#comment{$oTalkComment->getId()}",
|
||||
'talk_text' => "{if Config::Get('sys.mail.include_talk')}{lang name='emails.common.comment_text'}:<br><em>{$oTalk->getText()}</em>{/if}"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Оповещение о новом топике
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.topic_new.text' params=[
|
||||
'user_url' => $oUserTopic->getUserWebPath(),
|
||||
'user_name' => $oUserTopic->getDisplayName(),
|
||||
'blog_name' => $oBlog->getTitle()|escape,
|
||||
'topic_url' => $oTopic->getUrl(),
|
||||
'topic_name' => $oTopic->getTitle()|escape
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Смена почты
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.user_changemail.text' params=[
|
||||
'user_url' => $oUser->getUserWebPath(),
|
||||
'user_name' => $oUser->getDisplayName(),
|
||||
'mail_old' => $oChangemail->getMailFrom(),
|
||||
'mail_new' => $oChangemail->getMailTo(),
|
||||
'change_url' => "{router page='profile'}changemail/confirm-from/{$oChangemail->getCodeFrom()}/"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Смена почты
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.user_changemail.text' params=[
|
||||
'user_url' => $oUser->getUserWebPath(),
|
||||
'user_name' => $oUser->getDisplayName(),
|
||||
'mail_old' => $oChangemail->getMailFrom(),
|
||||
'mail_new' => $oChangemail->getMailTo(),
|
||||
'change_url' => "{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeFrom()}/"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,16 @@
|
|||
{**
|
||||
* Жалоба
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.user_complaint.text' params=[
|
||||
'user_url' => $oUserFrom->getUserWebPath(),
|
||||
'user_name' => $oUserFrom->getDisplayName(),
|
||||
'user_target_url' => $oUserTarget->getUserWebPath(),
|
||||
'user_target_name' => $oUserTarget->getDisplayName(),
|
||||
'complaint_title' => $oComplaint->getTypeTitle(),
|
||||
'complaint_text' => "{if $oComplaint->getText()}{lang name='emails.user_changemail.more'}:<br>{$oComplaint->getText()}{/if}"
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,14 @@
|
|||
{**
|
||||
* Заявка в друзья
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.user_friend_new.text' params=[
|
||||
'user_url' => $oUserFrom->getUserWebPath(),
|
||||
'user_name' => $oUserFrom->getDisplayName(),
|
||||
'text' => $sText,
|
||||
'url' => $sPath
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,14 @@
|
|||
{**
|
||||
* Новое сообщение на стене
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.wall_new.text' params=[
|
||||
'user_url' => $oUser->getUserWebPath(),
|
||||
'user_name' => $oUser->getDisplayName(),
|
||||
'wall_url' => "{$oUserWall->getUserWebPath()}wall/",
|
||||
'message_text' => $oWall->getText()
|
||||
]}
|
||||
{/block}
|
|
@ -0,0 +1,15 @@
|
|||
{**
|
||||
* Ответ на сообщение на стене
|
||||
*}
|
||||
|
||||
{extends 'components/email/email.tpl'}
|
||||
|
||||
{block 'content'}
|
||||
{lang name='emails.wall_reply.text' params=[
|
||||
'user_url' => $oUser->getUserWebPath(),
|
||||
'user_name' => $oUser->getDisplayName(),
|
||||
'wall_url' => "{$oUserWall->getUserWebPath()}wall/",
|
||||
'message_parent_text' => $oWallParent->getText(),
|
||||
'message_text' => $oWall->getText()
|
||||
]}
|
||||
{/block}
|
|
@ -1,11 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
User «<a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>» complain on the user «<a href="{$oUserTarget->getUserWebPath()}">{$oUserTarget->getDisplayName()}</a>».
|
||||
<br>
|
||||
<br>
|
||||
<b>Reason:</b> {$oComplaint->getTypeTitle()}<br/>
|
||||
{if $oComplaint->getText()}
|
||||
<b>Details:</b> {$oComplaint->getText()}<br/>
|
||||
{/if}
|
||||
{/block}
|
|
@ -1,5 +0,0 @@
|
|||
The user «<a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>»</b> invites you to join the blog <a href="{$oBlog->getUrlFull()}">"{$oBlog->getTitle()|escape:'html'}"</a>.
|
||||
<br /><br />
|
||||
<a href='{$sPath}'>Have a look at the invitation</a> (Don't forget to register before!)
|
||||
<br />
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,12 +0,0 @@
|
|||
The user <a href="{$oUserComment->getUserWebPath()}">{$oUserComment->getDisplayName()}</a> left a new comment to topic <b>«{$oTopic->getTitle()|escape:'html'}»</b>, you can read it by clicking on <a href="{if Config::Get('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">this link</a><br>
|
||||
{if Config::Get('sys.mail.include_comment')}
|
||||
Message: <i>{$oComment->getText()}</i>
|
||||
{/if}
|
||||
|
||||
{if $sSubscribeKey}
|
||||
<br><br>
|
||||
<a href="{router page='subscribe'}unsubscribe/{$sSubscribeKey}/">Unsubscribe from new comments to this topic</a>
|
||||
{/if}
|
||||
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,6 +0,0 @@
|
|||
The user <a href="{$oUserComment->getUserWebPath()}">{$oUserComment->getDisplayName()}</a> replied your comment in the topic <b>«{$oTopic->getTitle()|escape:'html'}»</b>, you can read it by clicking on <a href="{if Config::Get('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">this link</a><br>
|
||||
{if Config::Get('sys.mail.include_comment')}
|
||||
Message: <i>{$oComment->getText()}</i>
|
||||
{/if}
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,6 +0,0 @@
|
|||
The user <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a> invited you to register on the site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
|
||||
The invitation code: <b>{$oInvite->getCode()}</b><br>
|
||||
To register you need to enter the invitation code on <a href="{router page='login'}"> the main page</a>
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
You have requested re-activation on the site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
|
||||
|
||||
Link to the account activation:
|
||||
<a href="{router page='registration'}activate/{$oUser->getActivateKey()}/">{router page='registration'}activate/{$oUser->getActivateKey()}/</a>
|
||||
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,6 +0,0 @@
|
|||
You have been registered on the site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
|
||||
Your credentials:<br>
|
||||
login: <b>{$oUser->getLogin()}</b><br>
|
||||
password: <b>{$sPassword}</b><br>
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,10 +0,0 @@
|
|||
You have been registered on the site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
|
||||
Your credentials:<br>
|
||||
login: <b>{$oUser->getLogin()}</b><br>
|
||||
password: <b>{$sPassword}</b><br>
|
||||
<br>
|
||||
To complete registration you need to activate your account by clicking this link:
|
||||
<a href="{router page='registration'}activate/{$oUser->getActivateKey()}/">{router page='registration'}activate/{$oUser->getActivateKey()}/</a>
|
||||
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,5 +0,0 @@
|
|||
If you want to change your password on the site, <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>, then click on the link below:
|
||||
<a href="{router page='login'}reminder/{$oReminder->getCode()}/">{router page='login'}reminder/{$oReminder->getCode()}/</a>
|
||||
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,4 +0,0 @@
|
|||
You have a new password: {$sNewPassword}
|
||||
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,8 +0,0 @@
|
|||
The user <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a> left a new comment to the letter <b>«{$oTalk->getTitle()|escape:'html'}»</b>, you can read it by clicking on <a href="{router page='talk'}read/{$oTalk->getId()}/#comment{$oTalkComment->getId()}">this link</a><br>
|
||||
{if Config::Get('sys.mail.include_talk')}
|
||||
Message: <i>{$oTalkComment->getText()}</i> <br>
|
||||
{/if}
|
||||
<br>
|
||||
Do not forget to register before!
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,9 +0,0 @@
|
|||
You have a new incoming letter from the user <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>, you can read and answer it by clicking on <a href="{router page='talk'}read/{$oTalk->getId()}/"> this link</a><br>
|
||||
Letter topic: <b>{$oTalk->getTitle()|escape:'html'}</b><br>
|
||||
{if Config::Get('sys.mail.include_talk')}
|
||||
Message: <i>{$oTalk->getText()}</i> <br>
|
||||
{/if}
|
||||
<br>
|
||||
Don't forget to register before!
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,4 +0,0 @@
|
|||
The user <a href="{$oUserTopic->getUserWebPath()}">{$oUserTopic->getDisplayName()}</a> posted a new topic - <a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a><br> in a blog <b>«{$oBlog->getTitle()|escape:'html'}»</b>
|
||||
|
||||
<br><br>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,11 +0,0 @@
|
|||
You have sent a request to change user email <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> on site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>.<br/>
|
||||
Old email: <b>{$oChangemail->getMailFrom()}</b><br/>
|
||||
New email: <b>{$oChangemail->getMailTo()}</b><br/>
|
||||
|
||||
|
||||
<br/>
|
||||
To confirm the email change, please click here:
|
||||
<a href="{router page='profile'}changemail/confirm-from/{$oChangemail->getCodeFrom()}/">{router page='profile'}changemail/confirm-from/{$oChangemail->getCodeFrom()}/</a>
|
||||
|
||||
<br/><br/>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,11 +0,0 @@
|
|||
You have sent a request to change user email <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> on site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>.<br/>
|
||||
Old email: <b>{$oChangemail->getMailFrom()}</b><br/>
|
||||
New email: <b>{$oChangemail->getMailTo()}</b><br/>
|
||||
|
||||
|
||||
<br/>
|
||||
To confirm the email change, please click here:
|
||||
<a href="{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeTo()}/">{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeTo()}/</a>
|
||||
|
||||
<br/><br/>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,6 +0,0 @@
|
|||
The user «<a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>»</b> wants to add you to Friends.
|
||||
<br /><br />
|
||||
<i>{$sText}</i>
|
||||
<a href='{$sPath}'>See application</a> (Dont forget to register before!)
|
||||
<br />
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,6 +0,0 @@
|
|||
The user <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> post on <a href="{$oUserWall->getUserWebPath()}wall/">your wall</a><br/>
|
||||
|
||||
Post: <i>{$oWall->getText()}</i>
|
||||
|
||||
<br/><br/>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,7 +0,0 @@
|
|||
The user <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> replied your post on <a href="{$oUserWall->getUserWebPath()}wall/">wall</a><br/>
|
||||
|
||||
Your post: <i>{$oWallParent->getText()}</i><br/><br/>
|
||||
Reply post: <i>{$oWall->getText()}</i>
|
||||
|
||||
<br/><br/>
|
||||
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>
|
|
@ -1,8 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь «<a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>» приглашает вас вступить в блог <a href="{$oBlog->getUrlFull()}">"{$oBlog->getTitle()|escape:'html'}"</a>.
|
||||
<br>
|
||||
<br>
|
||||
<a href='{$sPath}'>Посмотреть приглашение</a> (Не забудьте предварительно авторизоваться!)
|
||||
{/block}
|
|
@ -1,15 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUserComment->getUserWebPath()}">{$oUserComment->getDisplayName()}</a> оставил новый комментарий к топику <b>«{$oTopic->getTitle()|escape:'html'}»</b>, прочитать его можно перейдя по <a href="{if Config::Get('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">этой ссылке</a><br>
|
||||
|
||||
{if Config::Get('sys.mail.include_comment')}
|
||||
Текст сообщения: <i>{$oComment->getText()}</i>
|
||||
{/if}
|
||||
|
||||
{if $sSubscribeKey}
|
||||
<br>
|
||||
<br>
|
||||
<a href="{router page='subscribe'}unsubscribe/{$sSubscribeKey}/">Отписаться от новых комментариев к этому топику</a>
|
||||
{/if}
|
||||
{/block}
|
|
@ -1,11 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUserComment->getUserWebPath()}">{$oUserComment->getDisplayName()}</a> ответил на ваш комментарий в топике <b>«{$oTopic->getTitle()|escape:'html'}»</b>, прочитать его можно перейдя по <a href="{if Config::Get('module.comment.nested_per_page')}{router page='comments'}{else}{$oTopic->getUrl()}#comment{/if}{$oComment->getId()}">этой ссылке</a>
|
||||
<br>
|
||||
|
||||
{if Config::Get('sys.mail.include_comment')}
|
||||
Текст сообщения: <i>{$oComment->getText()}</i>
|
||||
{/if}
|
||||
{/block}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a> пригласил вас зарегистрироваться на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>
|
||||
<br>
|
||||
<br>
|
||||
Код приглашения: <b>{$oInvite->getCode()}</b>
|
||||
<br>
|
||||
Для регистрации вам будет необходимо ввести код приглашения на <a href="{router page='login'}">странице входа</a>
|
||||
{/block}
|
|
@ -1,10 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вы запросили повторную активацию на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>
|
||||
<br>
|
||||
<br>
|
||||
Ссылка на активацию аккаунта:
|
||||
<br>
|
||||
<a href="{router page='registration'}activate/{$oUser->getActivateKey()}/">{router page='registration'}activate/{$oUser->getActivateKey()}/</a>
|
||||
{/block}
|
|
@ -1,10 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вы зарегистрировались на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>
|
||||
<br>
|
||||
<br>
|
||||
Ваши регистрационные данные:<br>
|
||||
логин: <b>{$oUser->getLogin()}</b><br>
|
||||
пароль: <b>{$sPassword}</b>
|
||||
{/block}
|
|
@ -1,14 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вы зарегистрировались на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>
|
||||
<br>
|
||||
<br>
|
||||
Ваши регистрационные данные:<br>
|
||||
логин: <b>{$oUser->getLogin()}</b><br>
|
||||
пароль: <b>{$sPassword}</b>
|
||||
<br>
|
||||
<br>
|
||||
Для завершения регистрации вам необходимо активировать аккаунт пройдя по ссылке:
|
||||
<a href="{router page='registration'}activate/{$oUser->getActivateKey()}/">{router page='registration'}activate/{$oUser->getActivateKey()}/</a>
|
||||
{/block}
|
|
@ -1,6 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Если вы хотите сменить себе пароль на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>, то перейдите по ссылке ниже:<br>
|
||||
<a href="{router page='login'}reminder/{$oReminder->getCode()}/">{router page='login'}reminder/{$oReminder->getCode()}/</a>
|
||||
{/block}
|
|
@ -1,5 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вам присвоен новый пароль: <b>{$sNewPassword}</b>
|
||||
{/block}
|
|
@ -1,15 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a> оставил новый комментарий к письму <b>«{$oTalk->getTitle()|escape:'html'}»</b>, прочитать его можно перейдя по <a href="{router page='talk'}read/{$oTalk->getId()}/#comment{$oTalkComment->getId()}">этой ссылке</a>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
{if Config::Get('sys.mail.include_talk')}
|
||||
Текст сообщения: <i>{$oTalkComment->getText()}</i>
|
||||
<br>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
Не забудьте предварительно авторизоваться!
|
||||
{/block}
|
|
@ -1,18 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вам пришло новое письмо от пользователя <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>, прочитать и ответить на него можно перейдя по <a href="{router page='talk'}read/{$oTalk->getId()}/">этой ссылке</a>
|
||||
<br>
|
||||
<br>
|
||||
Тема письма: <b>{$oTalk->getTitle()|escape:'html'}</b>
|
||||
<br>
|
||||
|
||||
{if Config::Get('sys.mail.include_talk')}
|
||||
Текст сообщения:<br>
|
||||
<i>{$oTalk->getText()}</i>
|
||||
<br>
|
||||
{/if}
|
||||
|
||||
<br>
|
||||
Не забудьте предварительно авторизоваться!
|
||||
{/block}
|
|
@ -1,5 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUserTopic->getUserWebPath()}">{$oUserTopic->getDisplayName()}</a> опубликовал в блоге <b>«{$oBlog->getTitle()|escape:'html'}»</b> новый топик — <a href="{$oTopic->getUrl()}">{$oTopic->getTitle()|escape:'html'}</a>
|
||||
{/block}
|
|
@ -1,13 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вами отправлен запрос на смену e-mail адреса пользователя <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>.
|
||||
<br>
|
||||
<br>
|
||||
Старый e-mail: <b>{$oChangemail->getMailFrom()}</b><br>
|
||||
Новый e-mail: <b>{$oChangemail->getMailTo()}</b>
|
||||
<br>
|
||||
<br>
|
||||
Для подтверждения смены емайла пройдите по ссылке:<br>
|
||||
<a href="{router page='profile'}changemail/confirm-from/{$oChangemail->getCodeFrom()}/">{router page='profile'}changemail/confirm-from/{$oChangemail->getCodeFrom()}/</a>
|
||||
{/block}
|
|
@ -1,13 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Вами отправлен запрос на смену e-mail адреса пользователя <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> на сайте <a href="{Router::GetPath('/')}">{cfg name='view.name'}</a>.
|
||||
<br>
|
||||
<br>
|
||||
Старый e-mail: <b>{$oChangemail->getMailFrom()}</b><br>
|
||||
Новый e-mail: <b>{$oChangemail->getMailTo()}</b>
|
||||
<br>
|
||||
<br>
|
||||
Для подтверждения смены емайла пройдите по ссылке:<br>
|
||||
<a href="{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeTo()}/">{router page='profile'}changemail/confirm-to/{$oChangemail->getCodeTo()}/</a>
|
||||
{/block}
|
|
@ -1,11 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь «<a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>» пожаловался на пользователя «<a href="{$oUserTarget->getUserWebPath()}">{$oUserTarget->getDisplayName()}</a>».
|
||||
<br>
|
||||
<br>
|
||||
<b>Причина:</b> {$oComplaint->getTypeTitle()}<br/>
|
||||
{if $oComplaint->getText()}
|
||||
<b>Подробнее:</b> {$oComplaint->getText()}<br/>
|
||||
{/if}
|
||||
{/block}
|
|
@ -1,14 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь «<a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getDisplayName()}</a>» хочет добавить вас в друзья.
|
||||
<br>
|
||||
<br>
|
||||
<i>{$sText}</i>
|
||||
<br>
|
||||
<br>
|
||||
<a href='{$sPath}'>Посмотреть заявку</a>
|
||||
<br>
|
||||
<br>
|
||||
Не забудьте предварительно авторизоваться!
|
||||
{/block}
|
|
@ -1,10 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> оставил сообщение на <a href="{$oUserWall->getUserWebPath()}wall/">вашей стене</a>
|
||||
<br>
|
||||
<br>
|
||||
Текст сообщения:
|
||||
<br>
|
||||
<i>{$oWall->getText()}</i>
|
||||
{/block}
|
|
@ -1,13 +0,0 @@
|
|||
{extends file='components/email/email.tpl'}
|
||||
|
||||
{block name='content'}
|
||||
Пользователь <a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a> ответил на ваше сообщение на <a href="{$oUserWall->getUserWebPath()}wall/">стене</a>
|
||||
<br>
|
||||
<br>
|
||||
<b>Ваше сообщение:</b><br>
|
||||
<i>{$oWallParent->getText()}</i>
|
||||
<br>
|
||||
<br>
|
||||
<b>Текст ответа:</b><br>
|
||||
<i>{$oWall->getText()}</i>
|
||||
{/block}
|
Loading…
Reference in a new issue