1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00
* Сайдбар в профиле developer'a перенесен вправо
* Сайдбар в коде размещен ниже контента
This commit is contained in:
Denis Shakhov 2013-05-04 23:24:09 +07:00
parent e3ff284acc
commit d830e7e7c0
7 changed files with 23 additions and 28 deletions

View file

@ -9,13 +9,12 @@
{block name='options'}
{assign var='noHeader' value=true}
{assign var='noNav' value=true}
{assign var='noContent' value=true}
{assign var='noFooter' value=true}
{/block}
{block name='type'}profile-actions{/block}
{block name='content_after'}
{block name='content'}
<script type="text/javascript">
jQuery(function($){
ls.lang.load({lang_load name="profile_user_unfollow,profile_user_follow"});

View file

@ -66,7 +66,7 @@
* @file blocks/block.profilePhoto.tpl
*/
.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 .status { position: absolute; top: 5px; left: 5px; padding: 1px 7px; font-size: 11px; }

View file

@ -3,7 +3,7 @@
</div> <!-- /content-wrapper -->
{if !$noSidebar && $sidebarPosition != 'left'}
{if !$noSidebar}
{include file='sidebar.tpl'}
{/if}
</div> <!-- /wrapper -->

View file

@ -35,13 +35,13 @@
<script type="text/javascript">
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
var DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}';
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
var SESSION_ID = '{$_sPhpSessionId}';
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var DIR_WEB_ROOT = '{cfg name="path.root.web"}',
DIR_STATIC_SKIN = '{cfg name="path.static.skin"}',
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}',
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
SESSION_ID = '{$_sPhpSessionId}',
BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var TINYMCE_LANG = 'en';
{if $oConfig->GetValue('lang.current') == 'russian'}
@ -128,11 +128,7 @@
{include file='nav.tpl'}
<div id="wrapper" class="{hook run='wrapper_class'}">
{if !$noSidebar && $sidebarPosition == 'left'}
{include file='sidebar.tpl'}
{/if}
<div id="content-wrapper" class="{if $sidebarPosition == 'left'}content-right{/if}">
<div id="content-wrapper">
<div id="content" role="main"
class="{if $noSidebar}content-full-width{/if}"
{if $sMenuItemSelect=='profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>

View file

@ -1,3 +1,3 @@
<aside id="sidebar" {if $sidebarPosition == 'left'}class="sidebar-left"{/if}>
<aside id="sidebar">
{include file='blocks.tpl' group='right'}
</aside>

View file

@ -1,6 +1,10 @@
{hook run='content_end'}
</div> <!-- /content -->
</div> <!-- /content-wrapper -->
{if !$noSidebar}
{include file='sidebar.tpl'}
{/if}
</div> <!-- /wrapper -->

View file

@ -37,13 +37,13 @@
<script type="text/javascript">
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
var DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}';
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
var SESSION_ID = '{$_sPhpSessionId}';
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var DIR_WEB_ROOT = '{cfg name="path.root.web"}',
DIR_STATIC_SKIN = '{cfg name="path.static.skin"}',
DIR_STATIC_FRAMEWORK = '{cfg name="path.static.framework"}',
DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}',
LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}',
SESSION_ID = '{$_sPhpSessionId}',
BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var TINYMCE_LANG = 'en';
{if $oConfig->GetValue('lang.current') == 'russian'}
@ -132,10 +132,6 @@
{include file='nav.tpl'}
<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" role="main" {if $sMenuItemSelect=='profile'}itemscope itemtype="http://data-vocabulary.org/Person"{/if}>
{include file='nav_content.tpl'}