1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00

Доработка шаблона developer-jquery

This commit is contained in:
Denis Shakhov 2012-04-07 00:06:57 +07:00
parent ea57898d9b
commit 8e3c39c934
22 changed files with 162 additions and 117 deletions

View file

@ -688,7 +688,7 @@ return array(
'block_stream_comments' => 'Комментарии',
'block_stream_comments_no' => 'Нет комментариев.',
'block_stream_comments_all' => 'Весь эфир',
'block_friends' => 'Друзья',
'block_friends' => 'Выбрать получателей из списка друзей',
'block_friends_check' => 'Отметить всех',
'block_friends_uncheck' => 'Снять отметку',
'block_friends_empty' => 'Список ваших друзей пуст',
@ -737,13 +737,13 @@ return array(
'talk_favourite_del' => 'удалить из избранного',
'talk_favourite_del_ok' => 'Письмо удалено из избранного',
'talk_favourite_empty' => 'Нет писем в избранном',
'talk_filter_title' => 'Фильтровать',
'talk_filter_title' => 'Поиск сообщений',
'talk_filter_erase' => 'Сбросить фильтр',
'talk_filter_erase_form' => 'Очистить форму',
'talk_filter_label_sender' => 'Отправитель',
'talk_filter_label_keyword' => 'Искать в заголовке',
'talk_filter_label_keyword_text' => 'Искать в тексте',
'talk_filter_label_favourite' => 'Искать в избранном',
'talk_filter_label_favourite' => 'Искать только в избранном',
'talk_filter_label_date' => 'Ограничения по дате',
'talk_filter_notice_sender' => 'Укажите логин отправителя',
'talk_filter_notice_keyword' => 'Введите одно или несколько слов',

View file

@ -13,16 +13,9 @@
<div class="count" id="user_skill_{$oUserProfile->getId()}">{math equation="round(x, 1)" x=$oUserProfile->getSkill()}</div>
</div>
<h2 class="page-header user-login">{$oUserProfile->getLogin()}</h2>
<h2 class="page-header user-login {if !$oUserProfile->getProfileName()}no-user-name{/if}">{$oUserProfile->getLogin()}</h2>
{if $oUserProfile->getProfileName()}
<p class="user-name">{$oUserProfile->getProfileName()|escape:'html'}</p>
{/if}
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
<ul id="profile_actions">
{include file='actions/ActionProfile/friend_item.tpl' oUserFriend=$oUserProfile->getUserFriend()}
<li><a href="{router page='talk'}add/?talk_users={$oUserProfile->getLogin()}">{$aLang.user_write_prvmsg}</a></li>
</ul>
{/if}
</div>

View file

@ -12,34 +12,47 @@
{if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
<section class="block block-type-profile-actions">
<div class="block-content">
<ul class="profile-actions" id="profile_actions">
{include file='actions/ActionProfile/friend_item.tpl' oUserFriend=$oUserProfile->getUserFriend()}
<li><a href="{router page='talk'}add/?talk_users={$oUserProfile->getLogin()}">{$aLang.user_write_prvmsg}</a></li>
</ul>
</div>
</section>
{/if}
{if $oUserCurrent && $oUserCurrent->getId() != $oUserProfile->getId()}
<section class="block block-type-profile-note">
{if $oUserNote}
<script type="text/javascript">
ls.usernote.sText = {json var = $oUserNote->getText()};
</script>
{/if}
{if $oUserNote}
<script type="text/javascript">
ls.usernote.sText = {json var = $oUserNote->getText()};
</script>
{/if}
<div id="usernote-note" class="profile-note" {if !$oUserNote}style="display: none;"{/if}>
<p id="usernote-note-text">
{if $oUserNote}
{$oUserNote->getText()}
{/if}
</p>
<ul class="actions">
<li><a href="#" onclick="return ls.usernote.showForm();" class="link-dotted">{$aLang.user_note_form_edit}</a></li>
<li><a href="#" onclick="return ls.usernote.remove({$oUserProfile->getId()});" class="link-dotted">{$aLang.user_note_form_delete}</a></li>
</ul>
</div>
<div id="usernote-note" class="profile-note" {if !$oUserNote}style="display: none;"{/if}>
<p id="usernote-note-text">
{if $oUserNote}
{$oUserNote->getText()}
{/if}
</p>
<div id="usernote-form" style="display: none;">
<p><textarea rows="4" cols="20" id="usernote-form-text" class="input-text input-width-full"></textarea></p>
<button onclick="return ls.usernote.save({$oUserProfile->getId()});" class="button button-primary">{$aLang.user_note_form_save}</button>
<button onclick="return ls.usernote.hideForm();" class="button">{$aLang.user_note_form_cancel}</button>
</div>
<a href="#" onclick="return ls.usernote.showForm();" id="usernote-button-add" class="link-dotted" {if $oUserNote}style="display:none;"{/if}>{$aLang.user_note_add}</a>
<ul class="actions">
<li><a href="#" onclick="return ls.usernote.showForm();" class="link-dotted">{$aLang.user_note_form_edit}</a></li>
<li><a href="#" onclick="return ls.usernote.remove({$oUserProfile->getId()});" class="link-dotted">{$aLang.user_note_form_delete}</a></li>
</ul>
</div>
<div id="usernote-form" style="display: none;">
<p><textarea rows="4" cols="20" id="usernote-form-text" class="input-text input-width-full"></textarea></p>
<button onclick="return ls.usernote.save({$oUserProfile->getId()});" class="button button-primary">{$aLang.user_note_form_save}</button>
<button onclick="return ls.usernote.hideForm();" class="button">{$aLang.user_note_form_cancel}</button>
</div>
<a href="#" onclick="return ls.usernote.showForm();" id="usernote-button-add" class="link-dotted" {if $oUserNote}style="display:none;"{/if}>{$aLang.user_note_add}</a>
</section>
{/if}
@ -50,7 +63,7 @@
<li {if $sAction=='profile' && ($aParams[0]=='whois' or $aParams[0]=='')}class="active"{/if}><a href="{$oUserProfile->getUserWebPath()}">{$aLang.user_menu_profile_whois}</a></li>
{if $oUserCurrent and $oUserCurrent->getId() == $oUserProfile->getId()}
<li {if $sAction=='talk'}class="active"{/if}><a href="{router page='talk'}">{$aLang.talk_menu_inbox} (0)</a></li>
<li {if $sAction=='talk'}class="active"{/if}><a href="{router page='talk'}">{$aLang.talk_menu_inbox} ({$iUserCurrentCountTalkNew})</a></li>
{/if}
<li {if $sAction=='profile' && $aParams[0]=='wall'}class="active"{/if}><a href="{$oUserProfile->getUserWebPath()}wall/">{$aLang.user_menu_profile_wall}{if ($iCountWallUser)>0} ({$iCountWallUser}){/if}</a></li>

View file

@ -6,7 +6,7 @@
<div class="comment">
<a href="{$oWallUser->getUserWebPath()}"><img src="{$oWallUser->getProfileAvatarPath(48)}" alt="avatar" class="comment-avatar" /></a>
<ul class="comment-info clearfix">
<ul class="comment-info">
<li class="comment-author"><a href="{$oWallUser->getUserWebPath()}">{$oWallUser->getLogin()}</a></li>
<li class="comment-date"><time datetime="{date_format date=$oWall->getDateAdd() format='c'}">{date_format date=$oWall->getDateAdd() hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y, H:i"}</time></li>
</ul>

View file

@ -1,8 +1,13 @@
{assign var="sidebarPosition" value='left'}
{include file='header.tpl'}
{include file='actions/ActionProfile/profile_top.tpl'}
{include file='menu.talk.tpl'}
{include file='actions/ActionTalk/friends.tpl'}
<div class="topic" style="display: none;">
<div class="content" id="text_preview"></div>
</div>

View file

@ -1,5 +1,7 @@
{assign var="sidebarPosition" value='left'}
{include file='header.tpl'}
{include file='actions/ActionProfile/profile_top.tpl'}
{include file='menu.talk.tpl'}

View file

@ -1,9 +1,9 @@
<section class="block">
<section class="block block-type-foldable block-type-talk-search">
<header class="block-header">
<h3>{$aLang.talk_filter_title}</h3>
<h3><a href="#" class="link-dotted" onclick="jQuery('#block_talk_search_content').toggle(); return false;">{$aLang.talk_filter_title}</a></h3>
</header>
<div class="block-content">
<div class="block-content" id="block_talk_search_content">
<form action="{router page='talk'}" method="GET" name="talk_filter_form">
<p><label for="talk_filter_sender">{$aLang.talk_filter_label_sender}:</label>
<input type="text" id="talk_filter_sender" name="sender" value="{$_aRequest.sender}" class="input-text input-width-full" />

View file

@ -1,10 +1,10 @@
<section class="block">
<section class="block block-type-foldable block-type-talk-friends">
<header class="block-header">
<h3>{$aLang.block_friends}</h3>
<h3><a href="#" class="link-dotted" onclick="jQuery('#block_talk_friends_content').toggle(); return false;">{$aLang.block_friends}</a></h3>
</header>
<div class="block-content">
<div class="block-content" id="block_talk_friends_content">
{if $aUsersFriend}
<ul class="list" id="friends">
{foreach from=$aUsersFriend item=oFriend}

View file

@ -1,9 +1,13 @@
{assign var="sidebarPosition" value='left'}
{include file='header.tpl' noShowSystemMessage=false}
{include file='actions/ActionProfile/profile_top.tpl'}
{include file='menu.talk.tpl'}
{if $aTalks}
{include file='actions/ActionTalk/filter.tpl'}
<form action="{router page='talk'}" method="post" id="form_talks_list">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -40,9 +44,9 @@
{else}
<a href="{router page='talk'}read/{$oTalk->getId()}/">{$oTalk->getTitle()|escape:'html'}</a>
{/if}
&nbsp;
{if $oTalk->getCountComment()}
{$oTalk->getCountComment()} {if $oTalkUserAuthor->getCommentCountNew()}+{$oTalkUserAuthor->getCommentCountNew()}{/if}
({$oTalk->getCountComment()}{if $oTalkUserAuthor->getCommentCountNew()} +{$oTalkUserAuthor->getCommentCountNew()}{/if})
{/if}
{if $oUserCurrent->getId()==$oTalk->getUserIdLast()}
&rarr;

View file

@ -1,35 +1,51 @@
{assign var="sidebarPosition" value='left'}
{include file='header.tpl'}
{include file='actions/ActionProfile/profile_top.tpl'}
{include file='menu.talk.tpl'}
{assign var="oUser" value=$oTalk->getUser()}
<article class="topic">
<article class="topic topic-type-talk">
<header class="topic-header">
<h1 class="topic-title">{$oTalk->getTitle()|escape:'html'}</h1>
<div class="topic-info">
<time datetime="{date_format date=$oTalk->getDate() format='c'}" pubdate>
{date_format date=$oTalk->getDate() format="j F Y, H:i"}
</time>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" width="32px" alt="avatar" class="avatar" /></a>
<p class="author-wrapper"><a href="{$oUser->getUserWebPath()}" class="author">{$oUser->getLogin()}</a>
<time datetime="{date_format date=$oTalk->getDate() format='c'}" pubdate>
{date_format date=$oTalk->getDate() format="j F Y, H:i"}
</time>
</p>
<p>
Кому:
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
{assign var="oUserRecipient" value=$oTalkUser->getUser()}
{if $oUser->getId() != $oUserRecipient->getId()}
<a class="{if $oTalkUser->getUserActive() != $TALK_USER_ACTIVE}inactive{/if}" href="{$oUserRecipient->getUserWebPath()}">{$oUserRecipient->getLogin()}</a>{if !$smarty.foreach.users.last}, {/if}
{/if}
{/foreach}
&nbsp;&nbsp;&nbsp;<a href="#" class="link-dotted" onclick="jQuery('#talk_recipients').toggle(); return false;">Редактировать список</a>
</p>
</div>
</header>
{include file='actions/ActionTalk/speakers.tpl'}
<div class="topic-content text">
{$oTalk->getText()}
</div>
<footer class="topic-footer">
<ul class="actions">
<li class="delete"><a href="{router page='talk'}delete/{$oTalk->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" onclick="return confirm('{$aLang.talk_inbox_delete_confirm}');" class="delete">{$aLang.delete}</a></li>
</ul>
<ul class="topic-info">
<li class="topic-info-author"><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
<li class="topic-info-favourite"><a href="#" onclick="return ls.favourite.toggle({$oTalk->getId()},this,'talk');" class="favourite {if $oTalk->getIsFavourite()}active{/if}"></a></li>
<li class="delete"><a href="{router page='talk'}delete/{$oTalk->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" onclick="return confirm('{$aLang.talk_inbox_delete_confirm}');" class="delete">{$aLang.delete}</a></li>
</ul>
</footer>
</article>

View file

@ -1,34 +1,32 @@
<section class="block">
<header class="block-header">
<h3>{$aLang.talk_speaker_title}</h3>
</header>
<div class="talk-recipients" id="talk_recipients">
<h3>{$aLang.talk_speaker_title}</h3>
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator()}
<form onsubmit="return ls.talk.addToTalk({$oTalk->getId()});">
<p><label for="talk_speaker_add">{$aLang.talk_speaker_add_label}:</label>
<input type="text" id="talk_speaker_add" name="add" class="input-text input-width-300 autocomplete-users" /></p>
<input type="hidden" id="talk_id" value="{$oTalk->getId()}" />
</form>
{/if}
<div class="block-content">
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator()}
<form onsubmit="return ls.talk.addToTalk({$oTalk->getId()});">
<p><label for="talk_speaker_add">{$aLang.talk_speaker_add_label}:</label>
<input type="text" id="talk_speaker_add" name="add" class="input-text input-width-full autocomplete-users" /></p>
<input type="hidden" id="talk_id" value="{$oTalk->getId()}" />
</form>
{/if}
<div id="speaker_list_block">
{if $oTalk->getTalkUsers()}
<ul class="list" id="speaker_list">
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
<div id="speaker_list_block">
{if $oTalk->getTalkUsers()}
<ul class="list" id="speaker_list">
{foreach from=$oTalk->getTalkUsers() item=oTalkUser name=users}
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
{assign var="oUser" value=$oTalkUser->getUser()}
{if $oTalkUser->getUserActive()!=$TALK_USER_DELETE_BY_AUTHOR}
<li id="speaker_item_{$oTalkUser->getUserId()}_area">
<a class="user {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}" href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
{if $oTalkUser->getUserActive()==$TALK_USER_ACTIVE and ($oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator())}- <a href="#" id="speaker_item_{$oTalkUser->getUserId()}" class="delete">{$aLang.blog_delete}</a>{/if}
</li>
{/if}
{if $oTalkUser->getUserActive()!=$TALK_USER_DELETE_BY_AUTHOR}
<li id="speaker_item_{$oTalkUser->getUserId()}_area">
<a class="user {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}" href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
{if $oTalkUser->getUserActive()==$TALK_USER_ACTIVE and ($oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator())}- <a href="#" id="speaker_item_{$oTalkUser->getUserId()}" class="delete">{$aLang.blog_delete}</a>{/if}
</li>
{/if}
{/foreach}
</ul>
{/if}
</div>
{/if}
{/foreach}
</ul>
{/if}
</div>
</section>
</div>

View file

@ -1,4 +1,4 @@
<section class="block block-type-favourite-topic">
<section class="block block-type-foldable block-type-favourite-topic">
<header class="block-header">
<h3><a href="#" class="link-dotted" onclick="jQuery('#block_favourite_topic_content').toggle(); return false;">{$aLang.topic_favourite_tags_block}</a></h3>
</header>

View file

@ -3,6 +3,7 @@
------------------------------------------------------------------- */
.block { background: #fafafa; margin-bottom: 30px; border-radius: 3px; }
.sidebar-left .block { margin-bottom: 10px; }
.block .block-header { padding: 13px 20px; background: #EAF6F9; border-bottom: 1px solid #D2E8EF; position: relative; }
.block .block-header h3 { font-size: 16px; line-height: 1em; font-weight: normal; }
@ -29,8 +30,15 @@
.block.block-type-profile-nav { padding: 0; }
.block.block-type-profile-actions .block-content { padding: 10px 15px; }
.block.block-type-profile-actions ul li { margin-bottom: 5px; }
.block.block-type-profile-actions ul li:last-child { margin-bottom: 0; }
/* Block Type - Topic Favourite */
.block.block-type-favourite-topic { background: none; }
.block.block-type-favourite-topic .block-header { background: none; border: none; padding: 0 0 10px; }
.block.block-type-favourite-topic .block-content { display: none; background: #fafafa; }
/* Block Type - Foldable */
.block.block-type-foldable { background: none; }
.block.block-type-foldable .block-header { background: none; border: none; padding: 0 0 10px; }
.block.block-type-foldable .block-content { display: none; background: #fafafa; }
.block.block-type-talk-search { margin-bottom: 10px; }
.block.block-type-talk-friends { margin-bottom: 10px; }

View file

@ -22,7 +22,7 @@
border-radius: 3px;
font-size: 12px;
line-height: 1.1;
line-height: 17px;
color: #fff;
background: #555;

View file

@ -47,7 +47,7 @@
/* Info Block */
.comment .comment-info { margin-bottom: 8px; line-height: 12px; position: relative; top: -2px; }
.comment .comment-info { margin-bottom: 5px; padding-bottom: 3px; line-height: 12px; position: relative; top: -2px; overflow: hidden; zoom: 1; }
.comment .comment-info li { float: left; padding-top: 3px; margin-right: 10px; }
.comment .comment-info li a { text-decoration: none; }
.comment .comment-info li.comment-author a { font-weight: bold; }

View file

@ -1,5 +1,5 @@
.input-text { width: 150px; padding: 5px; border: 1px solid #ddd; border-radius: 3px; -moz-box-sizing: border-box; box-sizing: border-box; }
.input-text:focus { border-color: #4D90FE; box-shadow: 0 0 3px #4D90FE; }
.input-text { width: 150px; padding: 5px; border: 1px solid #ddd; box-shadow: 0 2px 4px rgba(0,0,0,.07) inset; border-radius: 3px; -moz-box-sizing: border-box; box-sizing: border-box; }
.input-text:focus { border-color: #4D90FE; box-shadow: 0 2px 4px rgba(0,0,0,.07) inset, 0 0 3px #4D90FE; }
.input-checkbox { position: relative; top: 1px; margin: 0 2px 0 1px; }
.input-width-full { width: 100%; }

View file

@ -3,7 +3,7 @@
-------------------------------------------- */
#container { max-width: 1000px; margin: 0 auto; margin-bottom: 20px; }
#header { padding: 70px 0 70px; position: relative; }
#header { padding: 50px 0; position: relative; }
#nav { margin-bottom: 15px; overflow: hidden; }
#wrapper { overflow: hidden; zoom: 1; padding: 30px; background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 0 3px rgba(0,0,0,.1); }
#content { float: left; width: 61%; margin-right: 4%; background: #fff; }
@ -13,7 +13,7 @@
#content.content-full-width { width: 100%; margin-right: 0; }
#content.content-right { margin-right: 0; float: none; margin-left: 311px; width: auto; overflow: hidden; }
#content.content-right { margin-right: 0; float: none; margin-left: 311px; width: auto; }
#sidebar.sidebar-left { float: left; width: 250px; padding-right: 30px; border-right: 1px solid #eee; margin-right: 30px; }

View file

@ -1 +1 @@
/* Íàâèãàöèÿ ------------------------------------------------- */ .nav { zoom: 1; } .nav:before, .nav:after { content: ""; display: table; } .nav:after { clear: both; } .nav li { float: left; } .nav li:last-child { border-right: none; } .nav li a { display: block; padding: 10px 15px; } .nav li a:hover { background: #f3f3f3; } .nav li.active a { background: #f3f3f3; } /* Ìåíþ ïðîôèëÿ */ #userbar { border: 1px solid #ddd; border-top: none; background: #ffffff; background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3)); background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); background: linear-gradient(top, #ffffff 0%,#f3f3f3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 ); border-radius: 0 0 4px 4px; box-shadow: 0 0 5px #ddd; } #userbar .search { float: left; margin: 5px 0 0 7px; margin-bottom: 0; } .nav.nav-userbar { float: right; } .nav.nav-userbar li { border-radius: 0 0 0 4px; border-left: 1px solid #eaeaea; } .nav.nav-userbar li:first-child a { border-radius: 0 0 0 4px; } .nav.nav-userbar li:last-child a { border-radius: 0 0 4px 0; } .nav.nav-userbar li:first-child { } .nav.nav-userbar li.nav-userbar-username a { position: relative; padding-left: 47px; font-weight: bold; } .nav.nav-userbar li.nav-userbar-username .avatar { position: absolute; top: 7px; left: 15px; } .nav.nav-userbar li .new-messages { font-weight: bold; } /* Ãëàâíîå ìåíþ */ .nav.nav-main { border-radius: 4px; background: #222; background: -moz-linear-gradient(top, #333 0%, #222 100%); } .nav.nav-main li a { color: #ddd; } .nav.nav-main li a:hover { background: #333; } .nav.nav-main li:first-child a { border-radius: 4px 0 0 4px; } .nav.nav-main li:last-child a { border-radius: 0 4px 4px 0; } .nav.nav-main li.active a { background: #3a3a3a; color: #bbb; box-shadow: 0 0 7px rgba(0,0,0,.15) inset; } /* Âëîæåííîå ìåíþ */ .nav.nav-nested { height: 51px; margin: 0 0 50px 0; } .nav.nav-nested li { margin-right: 1px; position: relative; } .nav.nav-nested li a { background: #ddd; color: #333; padding: 7px 13px; } .nav.nav-nested li a:hover { background: #ccc; } .nav.nav-nested li.active > a { background: #333; color: #fff; } .nav.nav-nested ul { position: absolute; top: 100%; left: 0; width: 400px; margin-top: 1px; } /* Ïåðåêëþ÷àòåëè */ .nav.nav-pills { margin-bottom: 15px; } .nav.nav-pills li { margin-right: 3px; } .nav.nav-pills li a { border-radius: 4px; padding: 5px 12px; background: #eee; } .nav.nav-pills li a:hover { background: #eaeaea; } .nav.nav-pills li.active a { background: #2375C6; color: #fff; } .nav.nav-pills.nav-pills-profile { margin-bottom: 30px; } /* Íàâèãàöèÿ ïî ïðîôèëþ ïîëüçîâàòåëÿ */ .nav.nav-profile { margin-bottom: 15px; } .nav.nav-profile li { float: none; margin-bottom: 2px; background: #eee; } .nav.nav-profile li a { padding: 7px 12px; border-radius: 0; } .nav.nav-profile li a:hover { background: #e5e5e5; } .nav.nav-profile li.active a { background: #333; color: #fff; }
/* Íàâèãàöèÿ ------------------------------------------------- */ .nav { overflow: hidden; zoom: 1; } .nav li { float: left; } .nav li:last-child { border-right: none; } .nav li a { display: block; padding: 10px 15px; } .nav li a:hover { background: #f3f3f3; } .nav li.active a { background: #f3f3f3; } /* Ìåíþ ïðîôèëÿ */ #userbar { border: 1px solid #ddd; border-top: none; background: #ffffff; background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3)); background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 100%); background: linear-gradient(top, #ffffff 0%,#f3f3f3 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f3f3f3',GradientType=0 ); border-radius: 0 0 4px 4px; box-shadow: 0 0 5px #ddd; } #userbar .search { float: left; margin: 5px 0 0 7px; margin-bottom: 0; } .nav.nav-userbar { float: right; } .nav.nav-userbar li { border-radius: 0 0 0 4px; border-left: 1px solid #eaeaea; } .nav.nav-userbar li:first-child a { border-radius: 0 0 0 4px; } .nav.nav-userbar li:last-child a { border-radius: 0 0 4px 0; } .nav.nav-userbar li:first-child { } .nav.nav-userbar li.nav-userbar-username a { position: relative; padding-left: 47px; font-weight: bold; } .nav.nav-userbar li.nav-userbar-username .avatar { position: absolute; top: 7px; left: 15px; } .nav.nav-userbar li .new-messages { font-weight: bold; } /* Ãëàâíîå ìåíþ */ .nav.nav-main { border-radius: 4px; background: #222; background: -moz-linear-gradient(top, #333 0%, #222 100%); } .nav.nav-main li a { color: #ddd; } .nav.nav-main li a:hover { background: #333; } .nav.nav-main li:first-child a { border-radius: 4px 0 0 4px; } .nav.nav-main li:last-child a { border-radius: 0 4px 4px 0; } .nav.nav-main li.active a { background: #3a3a3a; color: #bbb; box-shadow: 0 0 7px rgba(0,0,0,.15) inset; } /* Âëîæåííîå ìåíþ */ .nav.nav-nested { height: 65px; margin: 0 0 50px 0; } .nav.nav-nested li { margin-right: 1px; position: relative; } .nav.nav-nested li a { background: #ddd; color: #333; padding: 7px 13px; } .nav.nav-nested li a:hover { background: #ccc; } .nav.nav-nested li.active > a { background: #333; color: #fff; } .nav.nav-nested ul { position: absolute; top: 100%; left: 0; width: 400px; margin-top: 1px; } /* Ïåðåêëþ÷àòåëè */ .nav.nav-pills { margin-bottom: 15px; } .nav.nav-pills li { margin-right: 3px; } .nav.nav-pills li a { border-radius: 4px; padding: 5px 12px; background: #eee; } .nav.nav-pills li a:hover { background: #eaeaea; } .nav.nav-pills li.active a { background: #2375C6; color: #fff; } .nav.nav-pills.nav-pills-profile { margin-bottom: 30px; } /* Íàâèãàöèÿ ïî ïðîôèëþ ïîëüçîâàòåëÿ */ .nav.nav-profile { margin-bottom: 15px; } .nav.nav-profile li { float: none; margin-bottom: 2px; background: #eee; } .nav.nav-profile li a { padding: 7px 12px; border-radius: 0; } .nav.nav-profile li a:hover { background: #e5e5e5; } .nav.nav-profile li.active a { background: #333; color: #fff; }

View file

@ -19,9 +19,10 @@
.profile .vote.voted .vote-down { display: block; }
.profile .vote.vote-count-positive .vote-count { color: #5055B2; }
.profile .strength { position: absolute; top: 0; right: 0; }
.profile .strength { position: absolute; top: 0; right: 0; }
.profile .user-login { font-size: 27px; line-height: 1em; font-weight: bold; margin-bottom: 5px; }
.profile .user-name { color: #777; }
.profile .user-login { font-size: 27px; line-height: 26px; font-weight: bold; margin-bottom: 5px; }
.profile .user-login.no-user-name { position: relative; top: 9px; }
.profile .user-name { color: #777; }
.profile-page-header { font-size: 12px; font-weight: bold; margin-bottom: 20px; background: #eee; color: #555; padding: 5px 10px 6px; }
.profile-page-header { font-size: 12px; font-weight: bold; margin-bottom: 20px; background: #eee; color: #555; padding: 5px 10px 6px; }

View file

@ -8,7 +8,7 @@
.topic .topic-header .topic-url { margin-bottom: 15px; }
.topic .topic-header .topic-url a { background: #eee; border-radius: 3px; padding: 3px 10px 4px; text-decoration: none; }
.topic .topic-header .topic-info { margin-bottom: 25px; color: #777; }
.topic .topic-header .topic-info a { margin-right: 15px; }
.topic .topic-header .topic-info a { -margin-right: 15px; }
/* Content */
.topic .topic-content { margin-bottom: 15px; }
@ -96,4 +96,22 @@
box-shadow: 0 0 10px #ddd;
}
#photoset-upload-form p { margin-bottom: 10px; }
#photoset-upload-form .input-text { width: 262px; border: 1px solid #ccc; margin: 0; padding: 3px; font-family: Arial, sans-serif; font-size: 12px; }
#photoset-upload-form .input-text { width: 262px; border: 1px solid #ccc; margin: 0; padding: 3px; font-family: Arial, sans-serif; font-size: 12px; }
/* Topic Talk */
.topic.topic-type-talk { }
.topic.topic-type-talk .topic-header { background: #f7f7f7; padding: 10px 15px 15px; border-top: 1px solid #dfdfdf; border-bottom: 1px solid #eee; }
.topic.topic-type-talk .topic-header .topic-title { margin-bottom: 13px; font-size: 20px; }
.topic.topic-type-talk .topic-header .topic-info { margin-bottom: 0; position: relative; min-height: 30px; padding-left: 40px; line-height: 14px; }
.topic.topic-type-talk .topic-header .topic-info .avatar { position: absolute; top: 0; left: 0; }
.topic.topic-type-talk .topic-header .topic-info .author-wrapper { margin-bottom: 4px; position: relative; top: -2px; }
.topic.topic-type-talk .topic-header .topic-info .author-wrapper .author { font-weight: bold; margin-right: 15px; }
.topic.topic-type-talk .topic-header .topic-info .recipient { margin-right: 10px; }
.topic.topic-type-talk .topic-content { font-size: 13px; padding: 15px; background: #fafafa; margin-bottom: 1px; border-top: 1px solid #fff; }
.topic.topic-type-talk .topic-footer .topic-info { border-radius: 0; background: #fafafa; }
.topic.topic-type-talk .talk-recipients { padding: 15px; background: #fafafa; display: none; border-top: 1px solid #fff; border-bottom: 1px solid #eee; }
.topic.topic-type-talk .talk-recipients h3 { font-size: 16px; font-weight: bold; margin-bottom: 10px; }

View file

@ -1,7 +1,7 @@
<h2 class="page-header">{$aLang.talk_menu_inbox}</h2>
<h3 class="profile-page-header">{$aLang.talk_menu_inbox}</h3>
<ul class="nav nav-pills">
<li {if $sEvent=='inbox'}class="active"{/if}><a href="{router page='talk'}">{$aLang.talk_menu_inbox_list}</a></li>
<li {if $sEvent=='inbox'}class="active"{/if}><a href="{router page='talk'}">{$aLang.talk_menu_inbox}</a></li>
<li {if $sEvent=='add'}class="active"{/if}><a href="{router page='talk'}add/">{$aLang.talk_menu_inbox_create}</a></li>
<li {if $sEvent=='favourites'}class="active"{/if}><a href="{router page='talk'}favourites/">{$aLang.talk_menu_inbox_favourites}{if $iCountTalkFavourite} ({$iCountTalkFavourite}){/if}</a></li>

View file

@ -43,25 +43,12 @@ $config['block']['rule_profile'] = array(
'action' => array( 'profile','talk' ),
'blocks' => array( 'right' => array('actions/ActionProfile/sidebar.tpl') ),
);
/*$config['block']['rule_talk_inbox'] = array(
'action' => array( 'talk' => array('inbox','') ),
'blocks' => array( 'right' => array('actions/ActionTalk/filter.tpl') ),
);
$config['block']['rule_talk_add'] = array(
'action' => array( 'talk' => array('add') ),
'blocks' => array( 'right' => array('actions/ActionTalk/friends.tpl') ),
);
$config['block']['rule_talk_read'] = array(
'action' => array( 'talk' => array('read') ),
'blocks' => array( 'right' => array('actions/ActionTalk/speakers.tpl') ),
);
*/
$config['view']['img_resize_width'] = 570;
$config['profile']['photo_resize_width'] = 290;
$config['module']['blog']['avatar_size'] = array(100,64,48,24,0);
$config['module']['user']['avatar_size'] = array(100,64,48,24,0);
return $config;
?>