mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 09:24:25 +03:00
Sidebar
* Сайдбар в профиле developer'a перенесен вправо * Сайдбар в коде размещен ниже контента
This commit is contained in:
parent
e3ff284acc
commit
d830e7e7c0
|
@ -9,13 +9,12 @@
|
||||||
{block name='options'}
|
{block name='options'}
|
||||||
{assign var='noHeader' value=true}
|
{assign var='noHeader' value=true}
|
||||||
{assign var='noNav' value=true}
|
{assign var='noNav' value=true}
|
||||||
{assign var='noContent' value=true}
|
|
||||||
{assign var='noFooter' value=true}
|
{assign var='noFooter' value=true}
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name='type'}profile-actions{/block}
|
{block name='type'}profile-actions{/block}
|
||||||
|
|
||||||
{block name='content_after'}
|
{block name='content'}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
jQuery(function($){
|
jQuery(function($){
|
||||||
ls.lang.load({lang_load name="profile_user_unfollow,profile_user_follow"});
|
ls.lang.load({lang_load name="profile_user_unfollow,profile_user_follow"});
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
* @file blocks/block.profilePhoto.tpl
|
* @file blocks/block.profilePhoto.tpl
|
||||||
*/
|
*/
|
||||||
.block-type-profile-photo { background: none; border: none; padding: 0; }
|
.block-type-profile-photo { background: none; border: none; padding: 0; }
|
||||||
.block-type-profile-photo .profile-photo-wrapper { position: relative; min-height: 50px; }
|
.block-type-profile-photo .profile-photo-wrapper { position: relative; min-height: 50px; width: 250px; margin: 0 auto; }
|
||||||
.block-type-profile-photo .profile-photo { vertical-align: top; }
|
.block-type-profile-photo .profile-photo { vertical-align: top; }
|
||||||
|
|
||||||
.block-type-profile-photo .status { position: absolute; top: 5px; left: 5px; padding: 1px 7px; font-size: 11px; }
|
.block-type-profile-photo .status { position: absolute; top: 5px; left: 5px; padding: 1px 7px; font-size: 11px; }
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
</div> <!-- /content-wrapper -->
|
</div> <!-- /content-wrapper -->
|
||||||
|
|
||||||
|
|
||||||
{if !$noSidebar && $sidebarPosition != 'left'}
|
{if !$noSidebar}
|
||||||
{include file='sidebar.tpl'}
|
{include file='sidebar.tpl'}
|
||||||
{/if}
|
{/if}
|
||||||
</div> <!-- /wrapper -->
|
</div> <!-- /wrapper -->
|
||||||
|
|
|
@ -35,13 +35,13 @@
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
|
var DIR_WEB_ROOT = '{cfg name="path.root.web"}',
|
||||||
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
|
DIR_STATIC_SKIN = '{cfg name="path.static.skin"}',
|
||||||
var DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}';
|
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
|
||||||
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
|
DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}',
|
||||||
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
|
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
|
||||||
var SESSION_ID = '{$_sPhpSessionId}';
|
SESSION_ID = '{$_sPhpSessionId}',
|
||||||
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
|
BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
|
||||||
|
|
||||||
var TINYMCE_LANG = 'en';
|
var TINYMCE_LANG = 'en';
|
||||||
{if $oConfig->GetValue('lang.current') == 'russian'}
|
{if $oConfig->GetValue('lang.current') == 'russian'}
|
||||||
|
@ -128,11 +128,7 @@
|
||||||
{include file='nav.tpl'}
|
{include file='nav.tpl'}
|
||||||
|
|
||||||
<div id="wrapper" class="{hook run='wrapper_class'}">
|
<div id="wrapper" class="{hook run='wrapper_class'}">
|
||||||
{if !$noSidebar && $sidebarPosition == 'left'}
|
<div id="content-wrapper">
|
||||||
{include file='sidebar.tpl'}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<div id="content-wrapper" class="{if $sidebarPosition == 'left'}content-right{/if}">
|
|
||||||
<div id="content" role="main"
|
<div id="content" role="main"
|
||||||
class="{if $noSidebar}content-full-width{/if}"
|
class="{if $noSidebar}content-full-width{/if}"
|
||||||
{if $sMenuItemSelect=='profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
|
{if $sMenuItemSelect=='profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<aside id="sidebar" {if $sidebarPosition == 'left'}class="sidebar-left"{/if}>
|
<aside id="sidebar">
|
||||||
{include file='blocks.tpl' group='right'}
|
{include file='blocks.tpl' group='right'}
|
||||||
</aside>
|
</aside>
|
|
@ -1,6 +1,10 @@
|
||||||
{hook run='content_end'}
|
{hook run='content_end'}
|
||||||
</div> <!-- /content -->
|
</div> <!-- /content -->
|
||||||
</div> <!-- /content-wrapper -->
|
</div> <!-- /content-wrapper -->
|
||||||
|
|
||||||
|
{if !$noSidebar}
|
||||||
|
{include file='sidebar.tpl'}
|
||||||
|
{/if}
|
||||||
</div> <!-- /wrapper -->
|
</div> <!-- /wrapper -->
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -37,13 +37,13 @@
|
||||||
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
|
var DIR_WEB_ROOT = '{cfg name="path.root.web"}',
|
||||||
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
|
DIR_STATIC_SKIN = '{cfg name="path.static.skin"}',
|
||||||
var DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}';
|
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
|
||||||
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
|
DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}',
|
||||||
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
|
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
|
||||||
var SESSION_ID = '{$_sPhpSessionId}';
|
SESSION_ID = '{$_sPhpSessionId}',
|
||||||
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
|
BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
|
||||||
|
|
||||||
var TINYMCE_LANG = 'en';
|
var TINYMCE_LANG = 'en';
|
||||||
{if $oConfig->GetValue('lang.current') == 'russian'}
|
{if $oConfig->GetValue('lang.current') == 'russian'}
|
||||||
|
@ -132,10 +132,6 @@
|
||||||
{include file='nav.tpl'}
|
{include file='nav.tpl'}
|
||||||
|
|
||||||
<div id="wrapper" class="{if $noSidebar}no-sidebar{/if}{hook run='wrapper_class'}">
|
<div id="wrapper" class="{if $noSidebar}no-sidebar{/if}{hook run='wrapper_class'}">
|
||||||
{if !$noSidebar}
|
|
||||||
{include file='sidebar.tpl'}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
<div id="content-wrapper" {if $sidebarPosition == 'left'}class="content-profile"{/if}>
|
<div id="content-wrapper" {if $sidebarPosition == 'left'}class="content-profile"{/if}>
|
||||||
<div id="content" role="main" {if $sMenuItemSelect=='profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
|
<div id="content" role="main" {if $sMenuItemSelect=='profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
|
||||||
{include file='nav_content.tpl'}
|
{include file='nav_content.tpl'}
|
||||||
|
|
Loading…
Reference in a new issue