2013-06-08 10:05:37 +03:00
|
|
|
|
<!doctype html>
|
|
|
|
|
|
|
|
|
|
{block name='layout_options'}{/block}
|
|
|
|
|
|
|
|
|
|
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]-->
|
|
|
|
|
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="ru"> <![endif]-->
|
|
|
|
|
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="ru"> <![endif]-->
|
|
|
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]-->
|
|
|
|
|
|
|
|
|
|
<head>
|
|
|
|
|
{hook run='html_head_begin'}
|
|
|
|
|
{block name='layout_head_begin'}{/block}
|
|
|
|
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
|
|
|
|
|
|
<meta name="description" content="{block name='layout_description'}{$sHtmlDescription}{/block}">
|
|
|
|
|
<meta name="keywords" content="{block name='layout_keywords'}{$sHtmlKeywords}{/block}">
|
|
|
|
|
|
2013-06-10 11:47:22 +03:00
|
|
|
|
|
|
|
|
|
<title>{block name='layout_title'}{$sHtmlTitle}{/block}</title>
|
|
|
|
|
|
2013-06-08 10:05:37 +03:00
|
|
|
|
{**
|
|
|
|
|
* Стили
|
|
|
|
|
* CSS файлы подключаются в конфиге шаблона (ваш_шаблон/settings/config.php)
|
|
|
|
|
*}
|
|
|
|
|
{$aHtmlHeadFiles.css}
|
|
|
|
|
|
2013-06-08 10:58:39 +03:00
|
|
|
|
<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
|
2013-08-08 14:00:37 +03:00
|
|
|
|
<link href="{cfg name='path.skin.assets.web'}/images/favicons/favicon.ico?v1" rel="shortcut icon" />
|
2013-06-08 10:05:37 +03:00
|
|
|
|
<link rel="search" type="application/opensearchdescription+xml" href="{router page='search'}opensearch/" title="{cfg name='view.name'}" />
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* RSS
|
|
|
|
|
*}
|
|
|
|
|
{if $aHtmlRssAlternate}
|
|
|
|
|
<link rel="alternate" type="application/rss+xml" href="{$aHtmlRssAlternate.url}" title="{$aHtmlRssAlternate.title}">
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $sHtmlCanonical}
|
|
|
|
|
<link rel="canonical" href="{$sHtmlCanonical}" />
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2013-08-08 14:00:37 +03:00
|
|
|
|
var PATH_ROOT = '{cfg name="path.root.web"}',
|
|
|
|
|
PATH_SKIN = '{cfg name="path.skin.web"}',
|
|
|
|
|
PATH_FRAMEWORK_FRONTEND = '{cfg name="path.framework.frontend.web"}',
|
|
|
|
|
PATH_FRAMEWORK_LIBS_VENDOR = '{cfg name="path.framework.libs_vendor.web"}',
|
|
|
|
|
/**
|
|
|
|
|
* Для совместимости с прошлыми версиями. БУДУТ УДАЛЕНЫ
|
|
|
|
|
*/
|
|
|
|
|
DIR_WEB_ROOT = '{cfg name="path.root.web"}',
|
|
|
|
|
DIR_STATIC_SKIN = '{cfg name="path.skin.web"}',
|
|
|
|
|
DIR_STATIC_FRAMEWORK = '{cfg name="path.framework.frontend.web"}',
|
|
|
|
|
DIR_ENGINE_LIBS = '{cfg name="path.framework.web"}/libs',
|
|
|
|
|
|
|
|
|
|
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
|
|
|
|
|
SESSION_ID = '{$_sPhpSessionId}',
|
|
|
|
|
SESSION_NAME = '{$_sPhpSessionName}',
|
|
|
|
|
LANGUAGE = '{$oConfig->GetValue('lang.current')}',
|
|
|
|
|
WYSIWYG = {if $oConfig->GetValue('view.wysiwyg')}true{else}false{/if};
|
2013-06-08 10:05:37 +03:00
|
|
|
|
|
|
|
|
|
var aRouter = [];
|
2013-07-10 11:36:21 +03:00
|
|
|
|
{foreach $aRouter as $sPage => $sPath}
|
2013-06-08 10:05:37 +03:00
|
|
|
|
aRouter['{$sPage}'] = '{$sPath}';
|
|
|
|
|
{/foreach}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* JavaScript файлы
|
|
|
|
|
* JS файлы подключаются в конфиге шаблона (ваш_шаблон/settings/config.php)
|
|
|
|
|
*}
|
|
|
|
|
{$aHtmlHeadFiles.js}
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
ls.lang.load({json var = $aLangJs});
|
2013-07-08 07:42:49 +03:00
|
|
|
|
ls.lang.load({lang_load name="blog, talk_favourite_add, talk_favourite_del, topic_question_create_answers_error_max"});
|
2013-06-08 10:05:37 +03:00
|
|
|
|
|
|
|
|
|
ls.registry.set('comment_max_tree', {json var=$oConfig->Get('module.comment.max_tree')});
|
|
|
|
|
ls.registry.set('block_stream_show_tip', {json var=$oConfig->Get('block.stream.show_tip')});
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* Тип сетки сайта
|
|
|
|
|
*}
|
|
|
|
|
{if {cfg name='view.grid.type'} == 'fluid'}
|
|
|
|
|
<style>
|
|
|
|
|
#container {
|
|
|
|
|
min-width: {cfg name='view.grid.fluid_min_width'}px;
|
|
|
|
|
max-width: {cfg name='view.grid.fluid_max_width'}px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{else}
|
|
|
|
|
<style>
|
|
|
|
|
#container { width: {cfg name='view.grid.fixed_width'}px; } {* *}
|
|
|
|
|
</style>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{block name='layout_head_end'}{/block}
|
|
|
|
|
{hook run='html_head_end'}
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* Вспомогательные классы
|
|
|
|
|
*
|
|
|
|
|
* ls-user-role-guest Посетитель - гость
|
|
|
|
|
* ls-user-role-user Залогиненый пользователь - обычный пользователь
|
|
|
|
|
* ls-user-role-admin Залогиненый пользователь - админ
|
2013-06-18 12:36:21 +03:00
|
|
|
|
* ls-user-role-not-admin Залогиненый пользователь - не админ
|
2013-06-08 10:05:37 +03:00
|
|
|
|
* ls-template-* Класс с названием активного шаблона
|
|
|
|
|
*}
|
|
|
|
|
{if $oUserCurrent}
|
|
|
|
|
{$sBodyClasses = $sBodyClasses|cat:' ls-user-role-user'}
|
|
|
|
|
|
|
|
|
|
{if $oUserCurrent->isAdministrator()}
|
|
|
|
|
{$sBodyClasses = $sBodyClasses|cat:' ls-user-role-admin'}
|
|
|
|
|
{/if}
|
|
|
|
|
{else}
|
|
|
|
|
{$sBodyClasses = $sBodyClasses|cat:' ls-user-role-guest'}
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if !$oUserCurrent or ($oUserCurrent and ! $oUserCurrent->isAdministrator())}
|
|
|
|
|
{$sBodyClasses = $sBodyClasses|cat:' ls-user-role-not-admin'}
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{$sBodyClasses = $sBodyClasses|cat:' ls-template-'|cat:{cfg name="view.skin"}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<body class="{$sBodyClasses} layout-{cfg name='view.grid.type'} {block name='layout_body_classes'}{/block}">
|
|
|
|
|
{hook run='body_begin'}
|
|
|
|
|
|
|
|
|
|
{block name='layout_body'}
|
2013-06-19 16:32:58 +03:00
|
|
|
|
<div id="header-back"></div>
|
|
|
|
|
|
2013-06-08 10:05:37 +03:00
|
|
|
|
<div id="container" class="{hook run='container_class'} {if $bNoSidebar}no-sidebar{/if}">
|
2013-07-02 05:58:58 +03:00
|
|
|
|
{**
|
|
|
|
|
* Хидер сайта
|
|
|
|
|
*}
|
|
|
|
|
<header id="header" role="banner">
|
|
|
|
|
{hook run='header_banner_begin'}
|
|
|
|
|
<h1 class="site-name"><a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a></h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="nav nav-main" id="nav-main">
|
|
|
|
|
<li {if $sMenuHeadItemSelect=='blog'}class="active"{/if}><a href="{cfg name='path.root.web'}">{$aLang.topic_title}</a> <i></i></li>
|
|
|
|
|
<li {if $sMenuHeadItemSelect=='blogs'}class="active"{/if}><a href="{router page='blogs'}">{$aLang.blogs}</a> <i></i></li>
|
|
|
|
|
<li {if $sMenuHeadItemSelect=='people'}class="active"{/if}><a href="{router page='people'}">{$aLang.people}</a> <i></i></li>
|
|
|
|
|
<li {if $sMenuHeadItemSelect=='stream'}class="active"{/if}><a href="{router page='stream'}">{$aLang.stream_menu}</a> <i></i></li>
|
|
|
|
|
|
|
|
|
|
{hook run='main_menu_item'}
|
|
|
|
|
|
|
|
|
|
<li id="nav-main-more" class="nav-main-more">
|
|
|
|
|
<a href="#"
|
|
|
|
|
id="dropdown-mainmenu-trigger"
|
|
|
|
|
class="dropdown-nav-main dropdown-toggle js-dropdown-default"
|
|
|
|
|
data-type="dropdown-toggle"
|
|
|
|
|
data-option-target="dropdown-mainmenu-menu"
|
|
|
|
|
data-option-align-x="right">{$aLang.more}</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<ul class="dropdown-menu dropdown-menu-nav-main" id="dropdown-mainmenu-menu"></ul>
|
|
|
|
|
|
|
|
|
|
{hook run='main_menu'}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{hook run='userbar_nav'}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* Юзербар
|
|
|
|
|
*}
|
|
|
|
|
{if $oUserCurrent}
|
|
|
|
|
<div class="dropdown-user" id="user-menu">
|
|
|
|
|
<a href="{$oUserCurrent->getUserWebPath()}"><img src="{$oUserCurrent->getProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a>
|
2013-10-23 10:02:40 +03:00
|
|
|
|
<a href="{$oUserCurrent->getUserWebPath()}" class="username">{$oUserCurrent->getDisplayName()}</a>
|
2013-07-02 05:58:58 +03:00
|
|
|
|
|
|
|
|
|
<div class="dropdown-user-shadow"></div>
|
|
|
|
|
<div class="dropdown-user-trigger js-dropdown-usermenu" data-type="dropdown-toggle" data-option-target="dropdown-user-menu"><i></i></div>
|
|
|
|
|
|
|
|
|
|
<ul class="dropdown-user-menu" id="dropdown-user-menu" style="display: none" data-type="dropdown-target">
|
|
|
|
|
<li class="item-stat">
|
|
|
|
|
<span class="rating {if $oUserCurrent->getRating() < 0}negative{/if}" title="{$aLang.user_rating}"><i class="icon-synio-rating"></i> {$oUserCurrent->getRating()}</span>
|
|
|
|
|
{hook run='userbar_stat_item'}
|
|
|
|
|
</li>
|
|
|
|
|
{hook run='userbar_item_first'}
|
|
|
|
|
<li class="item-messages">
|
|
|
|
|
<a href="{router page='talk'}" id="new_messages">
|
|
|
|
|
<i class="item-icon"></i>
|
|
|
|
|
{$aLang.user_privat_messages}
|
|
|
|
|
{if $iUserCurrentCountTalkNew}<div class="new">+{$iUserCurrentCountTalkNew}</div>{/if}
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="item-favourite"><i class="item-icon"></i><a href="{$oUserCurrent->getUserWebPath()}favourites/topics/">{$aLang.user_menu_profile_favourites}</a></li>
|
|
|
|
|
<li class="item-profile"><i class="item-icon"></i><a href="{$oUserCurrent->getUserWebPath()}">{$aLang.footer_menu_user_profile}</a></li>
|
|
|
|
|
<li class="item-settings"><i class="item-icon"></i><a href="{router page='settings'}profile/">{$aLang.user_settings}</a></li>
|
|
|
|
|
<li class="item-create"><i class="item-icon"></i><a href="{router page='topic'}add/">{$aLang.block_create}</a></li>
|
|
|
|
|
{hook run='userbar_item_last'}
|
|
|
|
|
<li class="item-signout"><i class="item-icon"></i><a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.exit}</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
{else}
|
|
|
|
|
<ul class="auth">
|
|
|
|
|
{hook run='userbar_item'}
|
|
|
|
|
|
2013-08-29 12:30:04 +03:00
|
|
|
|
<li><a href="{router page='login'}" data-type="modal-toggle" data-option-target="modal-login" data-option-center="false" class="js-modal-toggle-login">{$aLang.user_login_submit}</a></li>
|
|
|
|
|
<li><a href="{router page='registration'}" data-type="modal-toggle" data-option-target="modal-login" class="js-modal-toggle-registration">{$aLang.registration_submit}</a></li>
|
2013-07-02 05:58:58 +03:00
|
|
|
|
</ul>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $iUserCurrentCountTalkNew}<a href="{router page='talk'}" class="new-messages">+{$iUserCurrentCountTalkNew} <i class="icon-synio-new-message"></i></a>{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{hook run='header_banner_end'}
|
|
|
|
|
</header>
|
|
|
|
|
|
2013-06-08 10:05:37 +03:00
|
|
|
|
|
|
|
|
|
{* Навигация *}
|
|
|
|
|
<nav id="nav">
|
|
|
|
|
{if $sNav}
|
|
|
|
|
{if in_array($sNav, $aMenuContainers)}
|
|
|
|
|
{$aMenuFetch.$sNav}
|
|
|
|
|
{else}
|
|
|
|
|
{include file="navs/nav.$sNav.tpl"}
|
|
|
|
|
{/if}
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $oUserCurrent}
|
|
|
|
|
<a href="{router page='topic'}add/" class="button button-write" data-type="modal-toggle" data-option-target="modal-write">{$aLang.block_create}</a>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* Форма поиска
|
|
|
|
|
*
|
|
|
|
|
* @scripts js/init.js
|
|
|
|
|
*}
|
|
|
|
|
<div class="search-header">
|
|
|
|
|
<div class="search-header-show" id="search-header-show"><i class="icon-synio-search"></i> <a href="#" class="link-dotted">{$aLang.search_submit}</a></div>
|
|
|
|
|
|
|
|
|
|
<form class="search-form" id="search-header-form" action="{router page='search'}topics/" style="display: none">
|
|
|
|
|
<div class="search-form-search">
|
|
|
|
|
<input type="text" placeholder="{$aLang.search}" maxlength="255" name="q" class="search-form-input width-250">
|
|
|
|
|
<input type="submit" value="" title="{$aLang.search_submit}" class="search-form-submit">
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* Вспомогательный контейнер-обертка *}
|
|
|
|
|
<div id="wrapper" class="{hook run='wrapper_class'}">
|
|
|
|
|
{* Контент *}
|
|
|
|
|
<div id="content-wrapper">
|
|
|
|
|
<div id="content"
|
|
|
|
|
role="main"
|
|
|
|
|
{if $sMenuItemSelect == 'profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
|
|
|
|
|
|
|
|
|
|
{hook run='content_begin'}
|
|
|
|
|
{block name='layout_content_begin'}{/block}
|
|
|
|
|
|
2013-08-03 09:29:02 +03:00
|
|
|
|
{* Основной заголовок страницы *}
|
2013-06-18 12:36:21 +03:00
|
|
|
|
{block name='layout_page_title' hide}
|
|
|
|
|
<h2 class="page-header">{$smarty.block.child}</h2>
|
|
|
|
|
{/block}
|
|
|
|
|
|
2013-06-08 10:05:37 +03:00
|
|
|
|
{* Навигация *}
|
|
|
|
|
{if $sNavContent}
|
|
|
|
|
<div class="nav-group">
|
|
|
|
|
{include file="navs/nav.$sNavContent.content.tpl"}
|
|
|
|
|
</div>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{* Системные сообщения *}
|
2013-08-03 09:29:02 +03:00
|
|
|
|
{if ! $bNoSystemMessages}
|
|
|
|
|
{if $aMsgError}
|
|
|
|
|
{include file='alert.tpl' sAlertStyle='error' mAlerts=$aMsgError}
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{if $aMsgNotice}
|
|
|
|
|
{include file='alert.tpl' mAlerts=$aMsgNotice}
|
|
|
|
|
{/if}
|
|
|
|
|
{/if}
|
2013-06-08 10:05:37 +03:00
|
|
|
|
|
2013-08-03 09:29:02 +03:00
|
|
|
|
{* Контент *}
|
2013-06-08 10:05:37 +03:00
|
|
|
|
{block name='layout_content'}{/block}
|
|
|
|
|
|
|
|
|
|
{block name='layout_content_end'}{/block}
|
|
|
|
|
{hook run='content_end'}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* Сайдбар *}
|
|
|
|
|
{if ! $bNoSidebar}
|
2013-06-10 11:47:22 +03:00
|
|
|
|
<aside id="sidebar" role="complementary">
|
2013-06-08 10:05:37 +03:00
|
|
|
|
{include file='blocks.tpl' group='right'}
|
|
|
|
|
</aside>
|
|
|
|
|
{/if}
|
|
|
|
|
</div> {* /wrapper *}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* Подвал *}
|
|
|
|
|
<footer id="footer">
|
|
|
|
|
{if $oUserCurrent}
|
|
|
|
|
<ul class="footer-list">
|
2013-10-23 10:02:40 +03:00
|
|
|
|
<li class="footer-list-header word-wrap">{$oUserCurrent->getDisplayName()}</li>
|
2013-06-08 10:05:37 +03:00
|
|
|
|
<li><a href="{$oUserCurrent->getUserWebPath()}">{$aLang.footer_menu_user_profile}</a></li>
|
|
|
|
|
<li><a href="{router page='settings'}profile/">{$aLang.user_settings}</a></li>
|
|
|
|
|
<li><a href="{router page='topic'}add/" class="js-write-window-show">{$aLang.block_create}</a></li>
|
|
|
|
|
{hook run='footer_menu_user_item' oUser=$oUserCurrent}
|
|
|
|
|
<li><a href="{router page='login'}exit/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.exit}</a></li>
|
|
|
|
|
</ul>
|
|
|
|
|
{else}
|
|
|
|
|
<ul class="footer-list">
|
|
|
|
|
<li class="footer-list-header word-wrap">{$aLang.footer_menu_user_quest_title}</li>
|
|
|
|
|
<li><a href="{router page='registration'}" class="js-registration-form-show">{$aLang.registration_submit}</a></li>
|
|
|
|
|
<li><a href="{router page='login'}" class="js-login-form-show sign-in">{$aLang.user_login_submit}</a></li>
|
|
|
|
|
{hook run='footer_menu_user_item' isGuest=true}
|
|
|
|
|
</ul>
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
<ul class="footer-list">
|
|
|
|
|
<li class="footer-list-header">{$aLang.footer_menu_navigate_title}</li>
|
|
|
|
|
<li><a href="{cfg name='path.root.web'}">{$aLang.topic_title}</a></li>
|
|
|
|
|
<li><a href="{router page='blogs'}">{$aLang.blogs}</a></li>
|
|
|
|
|
<li><a href="{router page='people'}">{$aLang.people}</a></li>
|
|
|
|
|
<li><a href="{router page='stream'}">{$aLang.stream_menu}</a></li>
|
|
|
|
|
{hook run='footer_menu_navigate_item'}
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* RU: Тут можно добавить свой блок со ссылками, расскоментируйте блок кода ниже и добавьте свои ссылки *}
|
|
|
|
|
{* EN: You can add additional block with links here, just uncomment code below and add your links *}
|
|
|
|
|
|
|
|
|
|
{*
|
|
|
|
|
<ul class="footer-list">
|
|
|
|
|
<li class="footer-list-header">{$aLang.footer_menu_project_title}</li>
|
|
|
|
|
<li><a href="#">{$aLang.footer_menu_project_about}</a></li>
|
|
|
|
|
<li><a href="#">{$aLang.footer_menu_project_contact}</a></li>
|
|
|
|
|
<li><a href="#">{$aLang.footer_menu_project_advert}</a></li>
|
|
|
|
|
<li><a href="#">{$aLang.footer_menu_project_help}</a></li>
|
|
|
|
|
{hook run='footer_menu_project_item'}
|
|
|
|
|
</ul>
|
|
|
|
|
*}
|
|
|
|
|
|
|
|
|
|
<div class="copyright">
|
|
|
|
|
{hook run='copyright'}
|
|
|
|
|
|
|
|
|
|
<div class="design-by">
|
2013-07-08 07:42:49 +03:00
|
|
|
|
<i class="icon-xeoart"></i>
|
2013-06-08 10:05:37 +03:00
|
|
|
|
Design by <a href="http://xeoart.com">xeoart</a>
|
|
|
|
|
<div>2012</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{hook run='footer_end'}
|
|
|
|
|
</footer>
|
|
|
|
|
</div> {* /container *}
|
|
|
|
|
{/block}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* Подключение модальных окон *}
|
|
|
|
|
{if $oUserCurrent}
|
2013-06-30 06:02:51 +03:00
|
|
|
|
{include file='modals/modal.create.tpl'}
|
|
|
|
|
{include file='modals/modal.favourite_tags.tpl'}
|
2013-06-08 10:05:37 +03:00
|
|
|
|
{else}
|
2013-06-30 06:02:51 +03:00
|
|
|
|
{include file='modals/modal.auth.tpl'}
|
2013-06-08 10:05:37 +03:00
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{**
|
|
|
|
|
* Тулбар
|
|
|
|
|
* Добавление кнопок в тулбар
|
|
|
|
|
*}
|
2013-06-30 06:02:51 +03:00
|
|
|
|
{add_block group='toolbar' name='toolbar/toolbar.admin.tpl' priority=100}
|
|
|
|
|
{add_block group='toolbar' name='toolbar/toolbar.scrollup.tpl' priority=-100}
|
2013-06-08 10:05:37 +03:00
|
|
|
|
|
|
|
|
|
{* Подключение тулбара *}
|
|
|
|
|
{include file='toolbar/toolbar.tpl'}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{hook run='body_end'}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|