2013-05-24 17:34:04 +03:00
|
|
|
|
{**
|
|
|
|
|
* Базовый шаблона e-mail'а
|
|
|
|
|
*}
|
|
|
|
|
|
2014-10-22 17:56:53 +03:00
|
|
|
|
{$backgroundColor = 'F4F4F4'} {* Цвет фона *}
|
2013-05-24 17:34:04 +03:00
|
|
|
|
|
2014-10-22 17:56:53 +03:00
|
|
|
|
{$containerBorderColor = 'D0D6E8'} {* Цвет границ основного контейнера *}
|
2013-05-24 17:34:04 +03:00
|
|
|
|
|
2014-10-22 17:56:53 +03:00
|
|
|
|
{$headerBackgroundColor = '5C7DC4'} {* Цвет фона шапки *}
|
|
|
|
|
{$headerTitleColor = 'FFFFFF'} {* Цвет заголовка в шапке *}
|
|
|
|
|
{$headerDescriptionColor = 'B8C5E1'} {* Цвет описания в шапке *}
|
2013-05-24 17:34:04 +03:00
|
|
|
|
|
2014-10-22 17:56:53 +03:00
|
|
|
|
{$contentBackgroundColor = 'FFFFFF'} {* Цвет фона содержимого письма *}
|
|
|
|
|
{$contentTitleColor = '000000'} {* Цвет заголовка *}
|
|
|
|
|
{$contentTextColor = '4f4f4f'} {* Цвет текста *}
|
2013-05-24 17:34:04 +03:00
|
|
|
|
|
2014-10-22 17:56:53 +03:00
|
|
|
|
{$footerBackgroundColor = 'fafafa'} {* Цвет фона футера *}
|
|
|
|
|
{$footerTextColor = '949fa3'} {* Цвет текста в футере *}
|
|
|
|
|
{$footerLinkColor = '949fa3'} {* Цвет ссылки в футере *}
|
2013-05-24 17:34:04 +03:00
|
|
|
|
|
2013-07-01 10:38:24 +03:00
|
|
|
|
{* Путь до папки с изображенями *}
|
2014-10-22 17:56:53 +03:00
|
|
|
|
{$imagesDir = "{Config::Get('path.skin.web')}/components/email/images"}
|
2013-06-30 06:02:51 +03:00
|
|
|
|
|
2013-05-24 17:34:04 +03:00
|
|
|
|
|
|
|
|
|
{* Фон *}
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<table width="100%" align="center" bgcolor="#{$backgroundColor}" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
|
2013-05-24 17:34:04 +03:00
|
|
|
|
<tr><td>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
{* Основной контейнер *}
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<table width="573" align="center" cellpadding="0" cellspacing="0" style="border-collapse: collapse; font: normal 13px/1.4em Verdana, Arial; color: #4f4f4f; border: 1px solid #{$containerBorderColor};">
|
2013-05-24 17:34:04 +03:00
|
|
|
|
{* Шапка *}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<table width="100%" bgcolor="#{$headerBackgroundColor}" cellpadding="50" cellspacing="0" style="border-collapse: collapse;">
|
2013-05-24 17:34:04 +03:00
|
|
|
|
<tr>
|
2014-07-22 19:41:31 +03:00
|
|
|
|
<td style="font-size: 11px; line-height: 1em;">
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<span style="font: normal 29px Arial, sans-serif; line-height: 1em; color: #{$headerTitleColor}"><strong>{Config::Get('view.name')}</strong></span>
|
|
|
|
|
<div style="line-height: 0; height: 10px;"><img src="{$imagesDir}/blank.gif" width="10" height="10"/></div>
|
|
|
|
|
<span style="color: #{$headerDescriptionColor}">{Config::Get('view.description')}</span>
|
2013-05-24 17:34:04 +03:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
{* Контент *}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<table width="100%" cellpadding="50" cellspacing="0" bgcolor="#{$contentBackgroundColor}" style="border-collapse: collapse;">
|
2013-05-24 17:34:04 +03:00
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top">
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" style="border-collapse: collapse; font: normal 13px/1.4em Verdana, Arial; color: #{$contentTextColor};">
|
2013-05-24 17:34:04 +03:00
|
|
|
|
{* Заголовок *}
|
|
|
|
|
{if $sTitle}
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top">
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<span style="font: normal 19px Arial; line-height: 1.3em; color: #{$contentTitleColor}">{$title}</span>
|
2013-05-24 17:34:04 +03:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<tr><td height="10"><div style="line-height: 0;"><img src="{$imagesDir}/blank.gif" width="15" height="15"/></div></td></tr>
|
2013-05-24 17:34:04 +03:00
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{* Текст *}
|
|
|
|
|
<tr>
|
|
|
|
|
<td valign="top">
|
2014-10-18 09:07:45 +03:00
|
|
|
|
{block 'content'}{/block}
|
2013-05-24 17:34:04 +03:00
|
|
|
|
<br>
|
|
|
|
|
<br>
|
2014-07-22 19:41:31 +03:00
|
|
|
|
{$aLang.emails.common.regards} <a href="{Router::GetPath('/')}">{Config::Get('view.name')}</a>
|
2013-05-24 17:34:04 +03:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
{* Подвал *}
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<table width="100%" bgcolor="#{$footerBackgroundColor}" cellpadding="20" cellspacing="0" style="border-collapse: collapse; font: normal 11px Verdana, Arial; line-height: 1.3em; color: #{$footerTextColor};">
|
2013-05-24 17:34:04 +03:00
|
|
|
|
<tr>
|
|
|
|
|
<td valign="center">
|
2014-10-22 17:56:53 +03:00
|
|
|
|
<img src="{$imagesDir}/blank.gif" width="27" height="10" style="vertical-align: middle">
|
|
|
|
|
<a href="{Router::GetPath('/')}" style="color: #{$footerLinkColor} !important;">{Config::Get('view.name')}</a>
|
2013-05-24 17:34:04 +03:00
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
</td></tr>
|
|
|
|
|
</table>
|