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

Удаление шаблона synio (будет сделан на основе нового developer) и фикс инсталлятора (минимальная версия PHP теперь 5.3.2)

This commit is contained in:
Mzhelskiy Maxim 2014-01-30 17:03:23 +07:00
parent eebcd8a52b
commit 0dc098040e
365 changed files with 6 additions and 10590 deletions

View file

@ -1,44 +0,0 @@
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_blogcategory}{/block}
{block name='layout_content'}
<button class="button button-primary" data-type="modal-toggle" data-option-url="{router page='admin'}blogcategory/modal-add/">{$aLang.admin_blogcategory_add}</button>
<br />
<br />
<table cellspacing="0" class="table">
<thead>
<tr>
<th width="180px">{$aLang.admin_blogcategory_items_title}</th>
<th align="center" >{$aLang.admin_blogcategory_items_url}</th>
<th align="center" width="80px">{$aLang.admin_blogcategory_items_action}</th>
</tr>
</thead>
<tbody>
{foreach $aCategories as $oCategory}
<tr>
<td>
<i class="icon-file" style="margin-left: {$oCategory->getLevel()*20}px;"></i>
<a href="{$oCategory->getUrlWeb()}" border="0">{$oCategory->getTitle()|escape:'html'}</a>
</td>
<td>
/{$oCategory->getUrlFull()}/
</td>
<td align="center">
<a href="#" data-type="modal-toggle" data-option-url="{router page='admin'}blogcategory/modal-edit/" data-param-id="{$oCategory->getId()}" class="icon-edit"></a>
<a href="{router page='admin'}blogcategory/delete/{$oCategory->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" onclick="return confirm('«{$oCategory->getTitle()|escape:'html'}»: {$aLang.admin_blogcategory_items_delete_confirm}');" class="icon-remove"></a>
<a href="{router page='admin'}blogcategory/sort/{$oCategory->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" class="icon-arrow-up"></a>
<a href="{router page='admin'}blogcategory/sort/{$oCategory->getId()}/down/?security_ls_key={$LIVESTREET_SECURITY_KEY}" class="icon-arrow-down"></a>
</td>
</tr>
{/foreach}
</tbody>
</table>
{/block}

View file

@ -1,44 +0,0 @@
{extends file='modals/modal_base.tpl'}
{block name='modal_id'}modal-category-add{/block}
{block name='modal_class'}js-modal-default{/block}
{block name='modal_title'}
{if $oCategory}
{$aLang.admin_blogcategory_form_edit}
{else}
{$aLang.admin_blogcategory_form_add}
{/if}
{/block}
{block name='modal_content'}
<form action="" method="post" id="form-category-blog-add" onsubmit="ls.admin.{if $oCategory}editCategoryBlog{else}addCategoryBlog{/if}('form-category-blog-add'); return false;">
<p><label for="pid">{$aLang.admin_blogcategory_form_field_parent}</label>
<select name="pid" id="pid" class="width-full">
<option value="0"></option>
{foreach $aCategories as $oCategoryItem}
<option {if $oCategory and $oCategory->getPid()==$oCategoryItem->getId()}selected="selected"{/if} style="margin-left: {$oCategoryItem->getLevel()*20}px;" value="{$oCategoryItem->getId()}">{$oCategoryItem->getTitle()|escape:'html'}</option>
{/foreach}
</select></p>
<p><label for="title">{$aLang.admin_blogcategory_form_field_title}</label>
<input type="text" name="title" id="title" class="width-full" value="{if $oCategory}{$oCategory->getTitle()}{/if}"></p>
<p><label for="url">{$aLang.admin_blogcategory_form_field_url}</label>
<input type="text" name="url" id="url" class="width-full" value="{if $oCategory}{$oCategory->getUrl()}{/if}"></p>
<label for="sort">{$aLang.admin_blogcategory_form_field_sort}</label>
<input type="text" name="sort" id="sort" class="width-full" value="{if $oCategory}{$oCategory->getSort()}{/if}">
{if $oCategory}
<input type="hidden" name="id" value="{$oCategory->getId()}">
{/if}
</form>
{/block}
{block name='modal_footer_begin'}
<button type="submit" name="submit" class="button button-primary" onclick="jQuery('#form-category-blog-add').submit()">
{if $oCategory}{$aLang.admin_blogcategory_form_edit_submit}{else}{$aLang.admin_blogcategory_form_add_submit}{/if}
</button>
{/block}

View file

@ -1,18 +0,0 @@
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}{$aLang.admin_header}{/block}
{block name='layout_content'}
<ul>
<li><a href="{router page="admin"}plugins/">{$aLang.admin_list_plugins}</a></li>
<li><a href="{router page="admin"}userfields/">{$aLang.admin_list_userfields}</a></li>
<li><a href="{router page="admin"}blogcategory/">{$aLang.admin_list_blogcategory}</a></li>
<li><a href="{router page="admin"}restorecomment/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.admin_list_restorecomment}</a></li>
<li><a href="{router page="admin"}recalcfavourite/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.admin_list_recalcfavourite}</a></li>
<li><a href="{router page="admin"}recalcvote/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.admin_list_recalcvote}</a></li>
<li><a href="{router page="admin"}recalctopic/?security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.admin_list_recalctopic}</a></li>
{hook run='admin_action_item'}
</ul>
{hook run='admin_action'}
{/block}

View file

@ -1,39 +0,0 @@
{**
* Настройка пользовательских полей в админке
*
* @styles css/modals.css
*}
{extends file='modals/modal_base.tpl'}
{block name='modal_id'}userfield_form{/block}
{block name='modal_class'}modal-userfield js-modal-default{/block}
{block name='modal_title'}{$aLang.user_field_admin_title_add}{/block}
{block name='modal_content'}
<form>
<p><label for="user_fields_form_type">{$aLang.userfield_form_type}:</label>
<select id="user_fields_form_type" class="input-text width-full">
<option value=""></option>
{foreach $aUserFieldTypes as $sFieldType}
<option value="{$sFieldType}">{$sFieldType}</option>
{/foreach}
</select></p>
<p><label for="user_fields_form_name">{$aLang.userfield_form_name}:</label>
<input type="text" id="user_fields_form_name" class="input-text width-full" /></p>
<p><label for="user_fields_form_title">{$aLang.userfield_form_title}:</label>
<input type="text" id="user_fields_form_title" class="input-text width-full" /></p>
<p><label for="user_fields_form_pattern">{$aLang.userfield_form_pattern}:</label>
<input type="text" id="user_fields_form_pattern" class="input-text width-full" /></p>
<input type="hidden" id="user_fields_form_action" />
<input type="hidden" id="user_fields_form_id" />
</form>
{/block}
{block name='modal_footer_begin'}
<button type="button" onclick="ls.userfield.applyForm(); return false;" class="button button-primary">{$aLang.user_field_add}</button>
{/block}

View file

@ -1,64 +0,0 @@
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.admin_list_plugins}{/block}
{block name='layout_content'}
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
<table class="table table-plugins">
<thead>
<tr>
<th class="cell-checkbox"><input type="checkbox" name="" onclick="ls.tools.checkAll('form_plugins_checkbox', this, true);" /></th>
<th>{$aLang.plugins_plugin_name}</th>
<th>{$aLang.plugins_plugin_version}</th>
<th>{$aLang.plugins_plugin_author}</th>
<th>{$aLang.plugins_plugin_settings}</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach $aPlugins as $aPlugin}
<tr {if $aPlugin.is_active}class="active"{/if}>
<td class="cell-checkbox"><input type="checkbox" name="plugin_del[{$aPlugin.code}]" class="form_plugins_checkbox" /></td>
<td>
<h3>{$aPlugin.property->name->data}</h3>
{$aPlugin.property->description->data}
</td>
<td>{$aPlugin.property->version|escape:'html'}</td>
<td>
{$aPlugin.property->author->data}<br />
{$aPlugin.property->homepage}
</td>
<td>
{if $aPlugin.property->settings != ""}
{if $aPlugin.is_active}
<a href="{$aPlugin.property->settings}">{$aLang.plugins_plugin_settings}</a>
{else}
{/if}
{/if}
</td>
<td align="center">
{if $aPlugin.is_active}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}" class="button">{$aLang.plugins_plugin_deactivate}</a>
{else}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}" class="button button-primary">{$aLang.plugins_plugin_activate}</a>
{/if}
</td>
</tr>
{/foreach}
</tbody>
</table>
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<input type="submit"
name="submit_plugins_del"
value="{$aLang.plugins_submit_delete}"
class="button"
onclick="return (jQuery('.form_plugins_checkbox:checked').length==0)?false:confirm('{$aLang.plugins_delete_confirm}');" />
</form>
{/block}

View file

@ -1,42 +0,0 @@
{**
* Информация о производительности движка
*
* @styles css/admin.css
*}
{if $bIsShowStatsPerformance and $oUserCurrent and $oUserCurrent->isAdministrator()}
<div class="alert alert-info stat-performance">
{hook run='statistics_performance_begin'}
<table>
<tr>
<td>
<h4>MySql</h4>
query: <strong>{$aStatsPerformance.sql.count}</strong><br />
time: <strong>{$aStatsPerformance.sql.time}</strong>
</td>
<td>
<h4>Cache</h4>
query: <strong>{$aStatsPerformance.cache.count}</strong><br />
&mdash; set: <strong>{$aStatsPerformance.cache.count_set}</strong><br />
&mdash; get: <strong>{$aStatsPerformance.cache.count_get}</strong><br />
time: <strong>{$aStatsPerformance.cache.time}</strong>
</td>
<td>
<h4>PHP</h4>
time load modules: <strong>{$aStatsPerformance.engine.time_load_module}</strong><br />
full time: <strong>{$iTimeFullPerformance}</strong>
</td>
<td>
<h4>Memory</h4>
memory usage: <strong>{memory_get_usage(true) / 1024 / 1024} Mb</strong><br />
memory peak usage: <strong>{memory_get_peak_usage(true) / 1024 / 1024} Mb</strong>
</td>
{hook run='statistics_performance_item'}
</tr>
</table>
{hook run='statistics_performance_end'}
</div>
{/if}

View file

@ -1,31 +0,0 @@
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}<a href="{router page='admin'}">{$aLang.admin_header}</a> <span>&raquo;</span> {$aLang.user_field_admin_title}{/block}
{block name='layout_content'}
{include file='actions/ActionAdmin/modal.userfields.tpl'}
<button onclick="ls.userfield.showAddForm()" class="button button-primary">{$aLang.user_field_add}</button>
<br /><br />
<ul class="userfield-list" id="user_field_list">
{foreach $aUserFields as $oField}
<li id="field_{$oField->getId()}">
<strong>{$oField->getName()|escape:"html"}</strong>
/ <span class="userfield_admin_title">{$oField->getTitle()|escape:"html"}</span>
/ <span class="userfield_admin_type">{$oField->getType()|escape:"html"}</span>
/ <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span>
<div class="userfield-actions">
<a href="javascript:ls.userfield.showEditForm({$oField->getId()})" title="{$aLang.user_field_update}" class="icon-edit"></a>
<a href="javascript:ls.userfield.deleteUserfield({$oField->getId()})" title="{$aLang.user_field_delete}" class="icon-remove"></a>
</div>
</li>
{/foreach}
</ul>
{/block}

View file

@ -1,119 +0,0 @@
{**
* Создание блога
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{if $sEvent == 'add'}
{$sNavContent = 'create'}
{else}
{$sNavContent = 'blog.edit'}
{/if}
{/block}
{block name='layout_content'}
{* Подключение редактора *}
{include file='forms/editor.init.tpl' sEditorType='comment'}
{* Подгрузка инфорамации о типе блога *}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="blog_create_type_open_notice,blog_create_type_close_notice"});
ls.blog.loadInfoType($('#blog_type').val());
});
</script>
<form method="post" enctype="multipart/form-data">
{hook run='form_add_blog_begin'}
{* Название блога *}
<p><label for="blog_title">{$aLang.blog_create_title}:</label>
<input type="text" id="blog_title" name="blog_title" value="{$_aRequest.blog_title}" class="width-full" />
<small class="note">{$aLang.blog_create_title_notice}</small></p>
{* URL блога *}
<p><label for="blog_url">{$aLang.blog_create_url}:</label>
<input type="text" id="blog_url" name="blog_url" value="{$_aRequest.blog_url}" class="width-full" {if $_aRequest.blog_id and !$oUserCurrent->isAdministrator()}disabled{/if} />
<small class="note">{$aLang.blog_create_url_notice}</small></p>
{* Категория блога *}
{if Config::Get('module.blog.category_allow') and ($oUserCurrent->isAdministrator() or !Config::Get('module.blog.category_only_admin'))}
<p><label for="blog_category">{$aLang.blog_create_category}:</label>
<select name="blog_category" id="blog_category" class="width-200" >
{if Config::Get('module.blog.category_allow_empty')}
<option value="0"></option>
{/if}
{foreach $aBlogCategories as $oBlogCategory}
<option {if $_aRequest.blog_category==$oBlogCategory->getId()}selected{/if} value="{$oBlogCategory->getId()}" style="margin-left: {$oBlogCategory->getLevel()*20}px;">{$oBlogCategory->getTitle()|escape:'html'}</option>
{/foreach}
</select>
<small class="note" id="blog_category_note">{$aLang.blog_create_category_notice}</small></p>
{/if}
{* Тип блога *}
<p><label for="blog_type">{$aLang.blog_create_type}:</label>
<select name="blog_type" id="blog_type" class="width-200" onChange="ls.blog.loadInfoType(jQuery(this).val());">
<option value="open" {if $_aRequest.blog_type=='open'}selected{/if}>{$aLang.blog_create_type_open}</option>
<option value="close" {if $_aRequest.blog_type=='close'}selected{/if}>{$aLang.blog_create_type_close}</option>
</select>
<small class="note" id="blog_type_note">{$aLang.blog_create_type_open_notice}</small></p>
{* Описание блога *}
<label for="blog_description">{$aLang.blog_create_description}:</label>
<textarea name="blog_description" id="blog_description" rows="15" class="js-editor width-full">{$_aRequest.blog_description}</textarea>
{* Если визуальный редактор отключен выводим справку по разметке для обычного редактора *}
{if ! $oConfig->GetValue('view.wysiwyg')}
{include file='forms/editor.help.tpl' sTagsTargetId='blog_description'}
{/if}
{* Ограничение по рейтингу *}
<p><label for="blog_limit_rating_topic">{$aLang.blog_create_rating}:</label>
<input type="text" id="blog_limit_rating_topic" name="blog_limit_rating_topic" value="{$_aRequest.blog_limit_rating_topic}" class="width-100" />
<small class="note">{$aLang.blog_create_rating_notice}</small></p>
{* Аватар *}
<p>
{if $oBlogEdit and $oBlogEdit->getAvatar()}
<div class="avatar-edit">
{foreach $oConfig->GetValue('module.blog.avatar_size') as $iSize}
{if $iSize}<img src="{$oBlogEdit->getAvatarPath({$iSize})}">{/if}
{/foreach}
<label><input type="checkbox" id="avatar_delete" name="avatar_delete" value="on"> {$aLang.blog_create_avatar_delete}</label>
</div>
{/if}
<label for="avatar">{$aLang.blog_create_avatar}:</label>
<input type="file" name="avatar" id="avatar">
</p>
{hook run='form_add_blog_end'}
{* Скрытые поля *}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
{* Кнопки *}
<button type="submit" name="submit_blog_add" class="button button-primary">
{if $sEvent == 'add'}
{$aLang.blog_create_submit}
{else}
{$aLang.topic_create_submit_update}
{/if}
</button>
</form>
{/block}

View file

@ -1,57 +0,0 @@
{**
* Управление пользователями блога
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNavContent = 'blog.edit'}
{/block}
{block name='layout_content'}
{if $aBlogUsers}
<form method="post" enctype="multipart/form-data" class="mb-20">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<table class="table table-users">
<thead>
<tr>
<th class="cell-name">{$aLang.blog_admin_users}</th>
<th class="ta-c">{$aLang.blog_admin_users_administrator}</th>
<th class="ta-c">{$aLang.blog_admin_users_moderator}</th>
<th class="ta-c">{$aLang.blog_admin_users_reader}</th>
<th class="ta-c">{$aLang.blog_admin_users_bun}</th>
</tr>
</thead>
<tbody>
{foreach $aBlogUsers as $oBlogUser}
{$oUser = $oBlogUser->getUser()}
<tr>
<td class="cell-name">
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" class="avatar" /></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a>
</td>
{if $oUser->getId()==$oUserCurrent->getId()}
<td colspan="10" class="ta-c">{$aLang.blog_admin_users_current_administrator}</td>
{else}
<td class="ta-c"><input type="radio" name="user_rank[{$oUser->getId()}]" value="administrator" {if $oBlogUser->getIsAdministrator()}checked{/if} /></td>
<td class="ta-c"><input type="radio" name="user_rank[{$oUser->getId()}]" value="moderator" {if $oBlogUser->getIsModerator()}checked{/if} /></td>
<td class="ta-c"><input type="radio" name="user_rank[{$oUser->getId()}]" value="reader" {if $oBlogUser->getUserRole()==$BLOG_USER_ROLE_USER}checked{/if} /></td>
<td class="ta-c"><input type="radio" name="user_rank[{$oUser->getId()}]" value="ban" {if $oBlogUser->getUserRole()==$BLOG_USER_ROLE_BAN}checked{/if} /></td>
{/if}
</tr>
{/foreach}
</tbody>
</table>
<button type="submit" name="submit_blog_admin" class="button button-primary">{$aLang.blog_admin_users_submit}</button>
</form>
{include file='pagination.tpl' aPaging=$aPaging}
{else}
{$aLang.blog_admin_users_empty}
{/if}
{/block}

View file

@ -1,212 +0,0 @@
{**
* Блог
*
* bCloseBlog true если блог закрытый
*
* @styles css/blog.css
* @scripts _framework_/js/livestreet/blog.js
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_content'}
{$oUserOwner = $oBlog->getOwner()}
{$oVote = $oBlog->getVote()}
<script>
jQuery(function($){
ls.lang.load({lang_load name="blog_fold_info,blog_expand_info"});
});
</script>
{* Подключаем модальное окно удаления блога если пользователь админ *}
{if $oUserCurrent and $oUserCurrent->isAdministrator()}
{include file='modals/modal.blog_delete.tpl'}
{/if}
{**
* Шапка блога
*}
<div class="blog" id="js-blog">
<div class="blog-header">
<img src="{$oBlog->getAvatarPath(48)}" alt="avatar" class="blog-avatar" />
<h2 class="page-header blog-title">
{$oBlog->getTitle()|escape:'html'}
{if $oBlog->getType() == 'close'}
<i title="{$aLang.blog_closed}" class="icon-synio-topic-private"></i>
{/if}
</h2>
<div data-vote-type="blog"
data-vote-id="{$oBlog->getId()}"
class="vote-topic js-vote
{if $oBlog->getRating() > 0}
vote-count-positive
{elseif $oBlog->getRating() < 0}
vote-count-negative
{elseif $oBlog->getRating() == 0}
vote-count-zero
{/if}
{if $oVote}
voted
{if $oVote->getDirection() > 0}
voted-up
{elseif $oVote->getDirection() < 0}
voted-down
{/if}
{else}
not-voted
{/if}
{if ($oUserCurrent && $oUserOwner->getId() == $oUserCurrent->getId())}
vote-nobuttons
{/if}">
<a href="#" class="vote-item vote-down js-vote-down"><span><i></i></span></a>
<div class="vote-item vote-count" title="{$aLang.blog_vote_count}: {$oBlog->getCountVote()}"><span class="js-vote-rating">{if $oBlog->getRating() > 0}+{/if}{$oBlog->getRating()}</span></div>
<a href="#" class="vote-item vote-up js-vote-up"><span><i></i></span></a>
</div>
</div>
{**
* Краткая информация о блоге
*}
<div class="blog-short-info">
<div class="blog-short-info-actions">
<a href="#" class="link-dotted" id="js-blog-toggle" onclick="ls.blog.toggleInfo(); return false;">{$aLang.blog_expand_info}</a>
{if $oUserCurrent and $oUserCurrent->getId() != $oBlog->getOwnerId()}
<button type="submit"
class="button button-small"
id="button-blog-join-first-{$oBlog->getId()}"
data-button-additional="button-blog-join-second-{$oBlog->getId()}"
data-only-text="1"
onclick="ls.blog.toggleJoin(this, {$oBlog->getId()}); return false;">
{if $oBlog->getUserIsJoin()}{$aLang.blog_leave}{else}{$aLang.blog_join}{/if}
</button>
{/if}
</div>
<span id="blog_user_count_{$oBlog->getId()}">{$iCountBlogUsers}</span>
{$iCountBlogUsers|declension:$aLang.reader_declension},
{$oBlog->getCountTopic()} {$oBlog->getCountTopic()|declension:$aLang.topic_declension}
</div>
{**
* Полная информация о блоге
*}
<div class="blog-full-info" id="js-blog-full-info">
<div class="blog-content">
<div class="blog-description text">{$oBlog->getDescription()}</div>
<ul class="dotted-list blog-info">
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.infobox_blog_create}</span>
<span class="dotted-list-item-value">{date_format date=$oBlog->getDateAdd() format="j F Y"}</span>
</li>
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.infobox_blog_topics}</span>
<span class="dotted-list-item-value">{$oBlog->getCountTopic()}</span>
</li>
<li class="dotted-list-item">
<span class="dotted-list-item-label"><a href="{$oBlog->getUrlFull()}users/">{$aLang.infobox_blog_users}</a></span>
<span class="dotted-list-item-value">{$oBlog->getCountUser()}</span>
</li>
<li class="dotted-list-item blog-info-rating">
<span class="dotted-list-item-label">{$aLang.infobox_blog_rating}</span>
<span class="dotted-list-item-value">{$oBlog->getRating()}</span>
</li>
</ul>
{hook run='blog_info_begin' oBlog=$oBlog}
<h4>{$aLang.blog_user_administrators} ({$iCountBlogAdministrators})</h4>
{* Создатель блога *}
<span class="user-avatar">
<a href="{$oUserOwner->getUserWebPath()}"><img src="{$oUserOwner->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oUserOwner->getUserWebPath()}">{$oUserOwner->getDisplayName()}</a>
</span>
{* Список администраторов блога *}
{if $aBlogAdministrators}
{foreach $aBlogAdministrators as $oBlogUser}
{$oUser = $oBlogUser->getUser()}
<span class="user-avatar">
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a>
</span>
{/foreach}
{/if}<br /><br />
{* Список модераторов блога *}
<h4>{$aLang.blog_user_moderators} ({$iCountBlogModerators})</h4>
{if $aBlogModerators}
{foreach $aBlogModerators as $oBlogUser}
{$oUser = $oBlogUser->getUser()}
<span class="user-avatar">
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a>
</span>
{/foreach}
{else}
{include file='alert.tpl' mAlerts=$aLang.blog_user_moderators_empty sAlertStyle='empty'}
{/if}
{hook run='blog_info_end' oBlog=$oBlog}
{if $oUserCurrent and ($oUserCurrent->getId()==$oBlog->getOwnerId() or $oUserCurrent->isAdministrator() or $oBlog->getUserIsAdministrator() )}
<br /><br />
<ul class="actions">
<li>
<a href="{router page='blog'}edit/{$oBlog->getId()}/" title="{$aLang.blog_edit}" class="edit">{$aLang.blog_edit}</a></li>
{if $oUserCurrent->isAdministrator()}
<li><a href="#" title="{$aLang.blog_delete}" data-type="modal-toggle" data-option-target="modal-blog-delete" class="delete">{$aLang.blog_delete}</a>
{else}
<a href="{router page='blog'}delete/{$oBlog->getId()}/?security_ls_key={$LIVESTREET_SECURITY_KEY}" title="{$aLang.blog_delete}" onclick="return confirm('{$aLang.blog_admin_delete_confirm}');" >{$aLang.blog_delete}</a>
{/if}
</li>
</ul>
{/if}
</div>
<footer class="blog-footer">
<a href="{router page='rss'}blog/{$oBlog->getUrl()}/" class="blog-rss">RSS</a>
<div class="blog-admin">
{$aLang.blogs_owner}
<span class="user-avatar">
<a href="{$oUserOwner->getUserWebPath()}"><img src="{$oUserOwner->getProfileAvatarPath(24)}" alt="avatar" class="avatar" /></a>
<a href="{$oUserOwner->getUserWebPath()}">{$oUserOwner->getDisplayName()}</a>
</span>
</div>
</footer>
</div>
</div>
{hook run='blog_info' oBlog=$oBlog}
{include file='navs/nav.topics.sub.tpl'}
{if $bCloseBlog}
{$aLang.blog_close_show}
{else}
{include file='topics/topic_list.tpl'}
{/if}
{/block}

View file

@ -1,14 +0,0 @@
{**
* Список топиков только из коллективных блогов
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'topics'}
{$sNavContent = 'topics'}
{/block}
{block name='layout_content'}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,23 +0,0 @@
{**
* Топик
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_content'}
{include file='topics/topic.tpl'}
{include
file='comments/comment_tree.tpl'
iTargetId=$oTopic->getId()
iAuthorId=$oTopic->getUserId()
sAuthorNotice=$aLang.topic_author
sTargetType='topic'
iCountComment=$oTopic->getCountComment()
sDateReadLast=$oTopic->getDateRead()
bAllowNewComment=$oTopic->getForbidComment()
sNoticeNotAllow=$aLang.topic_comment_notallow
sNoticeCommentAdd=$aLang.topic_comment_add
bAllowSubscribe=true
oSubscribeComment=$oTopic->getSubscribeNewComment()
aPagingCmt=$aPagingCmt}
{/block}

View file

@ -1,21 +0,0 @@
{**
* Список пользователей которые подключены к блогу
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}
{$aLang.blog_user_readers_all} ({$iCountBlogUsers}): <a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a>
{/block}
{block name='layout_content'}
{if $aBlogUsers}
{$aUsersList = []}
{foreach $aBlogUsers as $oBlogUser}
{$aUsersList[]=$oBlogUser->getUser()}
{/foreach}
{include file='user_list.tpl' aUsersList=$aUsersList sUsersRootPage=$sUsersRootPage}
{else}
{$aLang.blog_user_readers_empty}
{/if}
{/block}

View file

@ -1,109 +0,0 @@
{**
* Список блогов
*
* @styles css/tables.css
*}
<table class="table table-blogs" cellspacing="0">
{if $bBlogsUseOrder}
<thead>
<tr>
<th class="cell-info">&nbsp;</th>
<th class="cell-name cell-tab">
<div class="cell-tab-inner {if $sBlogOrder=='blog_title'}active{/if}"><a href="{$sBlogsRootPage}?order=blog_title&order_way={if $sBlogOrder=='blog_title'}{$sBlogOrderWayNext}{else}{$sBlogOrderWay}{/if}" {if $sBlogOrder=='blog_title'}class="{$sBlogOrderWay}"{/if}><span>{$aLang.blogs_title}</span></a></div>
</th>
{if $oUserCurrent}
<th class="cell-join">&nbsp;</th>
{/if}
<th class="cell-readers cell-tab">
<div class="cell-tab-inner {if $sBlogOrder=='blog_count_user'}active{/if}"><a href="{$sBlogsRootPage}?order=blog_count_user&order_way={if $sBlogOrder=='blog_count_user'}{$sBlogOrderWayNext}{else}{$sBlogOrderWay}{/if}" {if $sBlogOrder=='blog_count_user'}class="{$sBlogOrderWay}"{/if}><span>{$aLang.blogs_readers}</span></a></div>
</th>
<th class="cell-rating cell-tab align-center">
<div class="cell-tab-inner {if $sBlogOrder=='blog_rating'}active{/if}"><a href="{$sBlogsRootPage}?order=blog_rating&order_way={if $sBlogOrder=='blog_rating'}{$sBlogOrderWayNext}{else}{$sBlogOrderWay}{/if}" {if $sBlogOrder=='blog_rating'}class="{$sBlogOrderWay}"{/if}><span>{$aLang.blogs_rating}</span></a></div>
</th>
</tr>
</thead>
{else}
<thead>
<tr>
<th class="cell-info">&nbsp;</th>
<th class="cell-name cell-tab"><div class="cell-tab-inner"><span>{$aLang.blogs_title}</span></div></th>
{if $oUserCurrent}
<th class="cell-join">&nbsp;</th>
{/if}
<th class="cell-readers cell-tab"><div class="cell-tab-inner"><span>{$aLang.blogs_readers}</span></div></th>
<th class="cell-rating cell-tab align-center">
<div class="cell-tab-inner active"><span>{$aLang.blogs_rating}</span></div>
</th>
</tr>
</thead>
{/if}
<tbody>
{if $aBlogs}
{foreach $aBlogs as $oBlog}
{$oUserOwner = $oBlog->getOwner()}
<tr>
<td class="cell-info">
<a href="#" data-type="popover-toggle" data-option-url="{router page='ajax'}infobox/info/blog/" data-param-i-blog-id="{$oBlog->getId()}" class="blog-list-info js-popover-blog-info"></a>
</td>
<td class="cell-name">
<p>
<a href="{$oBlog->getUrlFull()}" class="blog-name">{$oBlog->getTitle()|escape:'html'}</a>
{if $oBlog->getType() == 'close'}
<i title="{$aLang.blog_closed}" class="icon-synio-topic-private"></i>
{/if}
</p>
<span class="user-avatar">
<a href="{$oUserOwner->getUserWebPath()}"><img src="{$oUserOwner->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oUserOwner->getUserWebPath()}">{$oUserOwner->getDisplayName()}</a>
</span>
</td>
{if $oUserCurrent}
<td class="cell-join">
{if $oUserCurrent->getId() != $oBlog->getOwnerId() and $oBlog->getType() == 'open'}
<button type="submit" onclick="ls.blog.toggleJoin(this, {$oBlog->getId()}); return false;" class="button button-action button-action-join {if $oBlog->getUserIsJoin()}active{/if}">
<i class="icon-synio-join"></i>
<span>
{if $oBlog->getUserIsJoin()}
{$aLang.blog_leave}
{else}
{$aLang.blog_join}
{/if}
</span>
</button>
{else}
&mdash;
{/if}
</td>
{/if}
<td class="cell-readers" id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</td>
<td class="cell-rating align-center {if $oBlog->getRating() < 0}negative{/if}">{$oBlog->getRating()}</td>
</tr>
{/foreach}
{else}
<tr>
<td colspan="5">
{* TODO: Fix error message *}
{if $sBlogsEmptyList}
{$sBlogsEmptyList}
{/if}
{if !$aBlogs && !$sBlogsEmptyList}
{$aLang.blog_by_category_empty}
{/if}
</td>
</tr>
{/if}
</tbody>
</table>

View file

@ -1,25 +0,0 @@
{**
* Список блогов
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sMenuHeadItemSelect = 'blogs'}
{/block}
{block name='layout_page_title'}{$aLang.blogs}{/block}
{block name='layout_content'}
{include file='forms/form.search.blogs.tpl'}
<div id="blogs-list-search" style="display:none;"></div>
<div id="blogs-list-original">
{if !$sBlogsRootPage}
{router page='blogs' assign=sBlogsRootPage}
{/if}
{include file='actions/ActionBlogs/blog_list.tpl' bBlogsUseOrder=true sBlogsRootPage=$sBlogsRootPage}
{include file='pagination.tpl' aPaging=$aPaging}
</div>
{/block}

View file

@ -1,35 +0,0 @@
{**
* Содержимое поповера с информацией о блоге
*}
<ul class="dotted-list blog-info">
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.infobox_blog_create}</span>
<span class="dotted-list-item-value">{date_format date=$oBlog->getDateAdd() format="j F Y"}</span>
</li>
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.infobox_blog_topics}</span>
<span class="dotted-list-item-value">{$oBlog->getCountTopic()}</span>
</li>
<li class="dotted-list-item">
<span class="dotted-list-item-label"><a href="{$oBlog->getUrlFull()}users/">{$aLang.infobox_blog_users}</a></span>
<span class="dotted-list-item-value">{$oBlog->getCountUser()}</span>
</li>
<li class="dotted-list-item blog-info-rating">
<span class="dotted-list-item-label">{$aLang.infobox_blog_rating}</span>
<span class="dotted-list-item-value">{$oBlog->getRating()}</span>
</li>
</ul>
{if $oTopicLast}
{$aLang.infobox_blog_topic_last}:<br/>
<a href="{$oTopicLast->getUrl()}" class="popover-blog-info-topic">{$oTopicLast->getTitle()|escape:'html'}</a>
<br/>
<br/>
{/if}
<div class="popover-blog-info-actions">
<a href="{$oBlog->getUrlFull()}">{$aLang.infobox_blog_url}</a><br/>
<a href="{router page='rss'}blog/{$oBlog->getUrl()}/">{$aLang.infobox_blog_rss}</a>
</div>

View file

@ -1,7 +0,0 @@
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}{$aLang.comments_all}{/block}
{block name='layout_content'}
{include file='comments/comment_list.tpl'}
{/block}

View file

@ -1,24 +0,0 @@
{**
* Страница вывода ошибок
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{$bNoSystemMessages = true}
{/block}
{block name='layout_content'}
<div class="content-error">
{if $aMsgError[0].title}
<h2 class="page-header">{$aLang.error}: <span>{$aMsgError[0].title}</span></h2>
{/if}
<p>{$aMsgError[0].msg}</p>
<br />
<br />
<p><a href="javascript:history.go(-1);">{$aLang.site_history_back}</a><br />
<a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a></p>
</div>
{/block}

View file

@ -1,14 +0,0 @@
{**
* Главная
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'topics'}
{$sNavContent = 'topics'}
{/block}
{block name='layout_content'}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,16 +0,0 @@
{**
* Создание топика-ссылки
*
* @styles css/topic.css
*}
{extends file='forms/form.add.topic.base.tpl'}
{block name='add_topic_type'}link{/block}
{block name='add_topic_form_text_before'}
<p><label for="topic_link_url">{$aLang.topic_link_create_url}:</label>
<input type="text" id="topic_link_url" name="topic_link_url" value="{$_aRequest.topic_link_url}" class="width-full" />
<small class="note">{$aLang.topic_link_create_url_notice}</small></p>
{/block}

View file

@ -1,15 +0,0 @@
{**
* Страница входа
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.user_authorization}{/block}
{block name='layout_content'}
{include file='forms/form.auth.login.tpl'}
{/block}

View file

@ -1,15 +0,0 @@
{**
* Форма запроса повторной активации аккаунта
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.reactivation}{/block}
{block name='layout_content'}
{include file='forms/form.auth.reactivation.tpl'}
{/block}

View file

@ -1,15 +0,0 @@
{**
* Форма восстановления пароля
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.password_reminder}{/block}
{block name='layout_content'}
{include file='forms/form.auth.recovery.tpl'}
{/block}

View file

@ -1,16 +0,0 @@
{**
* Восстановление пароля.
* Пароль отправлен на емэйл пользователя.
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.password_reminder}{/block}
{block name='layout_content'}
{$aLang.password_reminder_send_password}
{/block}

View file

@ -1,17 +0,0 @@
{**
* Список пользователей из определенного города
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'users'}
{/block}
{block name='layout_page_title'}
{$aLang.user_list}: <span>{$oCity->getName()|escape:'html'}{if $aPaging} ({$aPaging.iCount}){/if}</span>
{/block}
{block name='layout_content'}
{include file='user_list.tpl' aUsersList=$aUsersCity}
{/block}

View file

@ -1,17 +0,0 @@
{**
* Список пользователей из определенной страны
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'users'}
{/block}
{block name='layout_page_title'}
{$aLang.user_list}: <span>{$oCountry->getName()|escape:'html'}{if $aPaging} ({$aPaging.iCount}){/if}</span>
{/block}
{block name='layout_content'}
{include file='user_list.tpl' aUsersList=$aUsersCountry}
{/block}

View file

@ -1,22 +0,0 @@
{**
* Список всех пользователей
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'users'}
{/block}
{block name='layout_page_title'}{$aLang.people}{/block}
{block name='layout_content'}
{include file='forms/form.search.users.tpl'}
<div id="users-list-search" style="display:none;"></div>
<div id="users-list-original">
{router page='people' assign=sUsersRootPage}
{include file='user_list.tpl' aUsersList=$aUsersRating bUsersUseOrder=true sUsersRootPage=$sUsersRootPage}
</div>
{/block}

View file

@ -1,13 +0,0 @@
{**
* Список новых пользователей
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'users'}
{/block}
{block name='layout_content'}
{include file='user_list.tpl' aUsersList=$aUsersRegister}
{/block}

View file

@ -1,14 +0,0 @@
{**
* Список пользователей которые недавно были на сайте
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'users'}
{/block}
{block name='layout_content'}
{include file='user_list.tpl' aUsersList=$aUsersLast bTableShowDateLast=true}
{include file='pagination.tpl' aPaging=$aPaging}
{/block}

View file

@ -1,14 +0,0 @@
{**
* Список топиков из персональных блогов
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'topics'}
{$sNavContent = 'topics'}
{/block}
{block name='layout_content'}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,68 +0,0 @@
{**
* Создание топика-фотосета
*
* @styles css/topic.css
*}
{extends file='forms/form.add.topic.base.tpl'}
{block name='add_topic_type'}photoset{/block}
{block name='add_topic_header_after'}
{include file='modals/modal.photoset_add_photo.tpl'}
{/block}
{block name='add_topic_form_text_after'}
<script type="text/javascript">
jQuery(function($){
if (jQuery.browser.flash) {
ls.photoset.initSwfUpload({
post_params: { 'topic_id': {json var=$_aRequest.topic_id} }
});
}
});
</script>
<div class="photoset-upload">
<header>
<h2>{$aLang.topic_photoset_upload_title}</h2>
<div class="note">
{$aLang.topic_photoset_upload_rules|ls_lang:"SIZE%%`$oConfig->get('module.topic.photoset.photo_max_size')`":"COUNT%%`$oConfig->get('module.topic.photoset.count_photos_max')`"}
</div>
<input type="hidden" name="topic_main_photo" id="topic_main_photo" value="{$_aRequest.topic_main_photo}" />
</header>
<ul class="photoset-upload-images" id="swfu_images">
{if count($aPhotos)}
{foreach $aPhotos as $oPhoto}
{if $_aRequest.topic_main_photo && $_aRequest.topic_main_photo == $oPhoto->getId()}
{$bIsMainPhoto = true}
{/if}
<li id="photo_{$oPhoto->getId()}" class="photoset-upload-images-item {if $bIsMainPhoto}marked-as-preview{/if}">
<img src="{$oPhoto->getWebPath('100crop')}" alt="image" />
<textarea onBlur="ls.photoset.setPreviewDescription({$oPhoto->getId()}, this.value)" class="width-full">{$oPhoto->getDescription()}</textarea><br />
<a href="javascript:ls.photoset.deletePhoto({$oPhoto->getId()})" class="link-dotted ">{$aLang.topic_photoset_photo_delete}</a>
<span id="photo_preview_state_{$oPhoto->getId()}" class="photo-preview-state">
{if $bIsMainPhoto}
{$aLang.topic_photoset_is_preview}
{else}
<a href="javascript:ls.photoset.setPreview({$oPhoto->getId()})" class="link-dotted mark-as-preview">{$aLang.topic_photoset_mark_as_preview}</a>
{/if}
</span>
</li>
{$bIsMainPhoto = false}
{/foreach}
{/if}
</ul>
<footer>
<a href="#" data-type="modal-toggle" data-option-target="modal-photoset-upload" class="link-dotted" id="photoset-start-upload">{$aLang.topic_photoset_upload_choose}</a>
</footer>
</div>
{/block}

View file

@ -1,9 +0,0 @@
{**
* Активность пользователя
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='actions/ActionStream/event_list.tpl' sActivityType='user' sActivityParams="data-param-i-user-id=\"{$oUserProfile->getId()}\""}
{/block}

View file

@ -1,10 +0,0 @@
{**
* Список комментариев созданных пользователем
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='navs/nav.user.created.tpl'}
{include file='comments/comment_list.tpl'}
{/block}

View file

@ -1,25 +0,0 @@
{**
* Список заметок созданных пользователем
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='navs/nav.user.created.tpl'}
{if $aNotes}
<table class="table table-profile-notes" cellspacing="0">
{foreach $aNotes as $oNote}
<tr>
<td class="cell-username"><a href="{$oNote->getTargetUser()->getUserWebPath()}">{$oNote->getTargetUser()->getDisplayName()}</a></td>
<td class="cell-note">{$oNote->getText()}</td>
<td class="cell-date">{date_format date=$oNote->getDateAdd() format="j F Y"}</td>
</tr>
{/foreach}
</table>
{else}
{include file='alert.tpl' mAlerts=$aLang.user_note_list_empty sAlertStyle='empty'}
{/if}
{include file='pagination.tpl' aPaging=$aPaging}
{/block}

View file

@ -1,10 +0,0 @@
{**
* Список топиков созданных пользователем
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='navs/nav.user.created.tpl'}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,10 +0,0 @@
{**
* Избранные комментарии пользователя
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='navs/nav.user.favourite.tpl'}
{include file='comments/comment_list.tpl'}
{/block}

View file

@ -1,16 +0,0 @@
{**
* Избранные топики пользователя
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='navs/nav.user.favourite.tpl'}
{if $oUserCurrent and $oUserCurrent->getId()==$oUserProfile->getId()}
{$aBlockParams.user = $oUserProfile}
{insert name="block" block=tagsFavouriteTopic params=$aBlock.params}
{/if}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,21 +0,0 @@
{**
* Добавление / удаление из друзей
*}
{if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT)}
<li id="delete_friend_item"><a href="#" title="{$aLang.user_friend_del}" onclick="return ls.user.removeFriend(this,{$oUserProfile->getId()},'del');">{$aLang.user_friend_del}</a></li>
{elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_REJECT and $oUserFriend->getUserTo()!=$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_reject}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserFrom()==$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_send}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
{elseif !$oUserFriend}
{include file='modals/modal.add_friend.tpl'}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" data-type="modal-toggle" data-option-target="modal-add-friend">{$aLang.user_friend_add}</a></li>
{else}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'link');">{$aLang.user_friend_add}</a></li>
{/if}

View file

@ -1,9 +0,0 @@
{**
* Список друзей
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
{include file='user_list.tpl' aUsersList=$aFriends}
{/block}

View file

@ -1,243 +0,0 @@
{**
* Профиль пользователя с информацией о нем
*
* @styles css/profile.css
* @styles css/tables.css
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_options' append}
{$oSession = $oUserProfile->getSession()}
{$oGeoTarget = $oUserProfile->getGeoTarget()}
{/block}
{block name='layout_content'}
{include file='navs/nav.user.info.tpl'}
{hook run='user_info_begin' oUserProfile=$oUserProfile}
<div class="profile-info-about">
<a href="{$oUserProfile->getUserWebPath()}" class="avatar">
<img src="{$oUserProfile->getProfileAvatarPath(100)}" alt="avatar" itemprop="photo" />
</a>
<h3>{$aLang.profile_about}</h3>
{if $oUserProfile->getProfileAbout()}
<p class="text">{$oUserProfile->getProfileAbout()}</p>
{else}
<p>{$aLang.profile_about_empty}</p>
{/if}
<br />
{if $oUserCurrent and $oUserCurrent->getId() == $oUserProfile->getId()}
<a href="{router page='settings'}" class="edit">{$aLang.profile_about_edit}</a>
{/if}
</div>
{hook run='user_info_about_after' oUserProfile=$oUserProfile}
<div class="clearfix">
<div class="profile-left">
{$aUserFieldValues = $oUserProfile->getUserFieldValues(true,array(''))}
{if $oUserProfile->getProfileSex() != 'other' || $oUserProfile->getProfileBirthday() || $oGeoTarget || $oUserProfile->getProfileAbout() || count($aUserFieldValues)}
<h2 class="header-table">{$aLang.profile_privat}</h2>
<ul class="dotted-list">
{if $oUserProfile->getProfileSex() != 'other'}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_sex}</span>
<strong class="dotted-list-item-value">
{if $oUserProfile->getProfileSex() == 'man'}
{$aLang.profile_sex_man}
{else}
{$aLang.profile_sex_woman}
{/if}
</strong>
</li>
{/if}
{if $oUserProfile->getProfileBirthday()}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_birthday}</span>
<strong class="dotted-list-item-value">{date_format date=$oUserProfile->getProfileBirthday() format="j F Y" notz=true}</strong>
</li>
{/if}
{if $oGeoTarget}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_place}</span>
<strong itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address" class="dotted-list-item-value">
{if $oGeoTarget->getCountryId()}
<a href="{router page='people'}country/{$oGeoTarget->getCountryId()}/" itemprop="country-name">{$oUserProfile->getProfileCountry()|escape:'html'}</a>{if $oGeoTarget->getCityId()},{/if}
{/if}
{if $oGeoTarget->getCityId()}
<a href="{router page='people'}city/{$oGeoTarget->getCityId()}/" itemprop="locality">{$oUserProfile->getProfileCity()|escape:'html'}</a>
{/if}
</strong>
</li>
{/if}
{if $aUserFieldValues}
{foreach $aUserFieldValues as $oField}
<li class="dotted-list-item">
<span class="dotted-list-item-label"><i class="icon-contact icon-contact-{$oField->getName()}"></i> {$oField->getTitle()|escape:'html'}</span>
<strong class="dotted-list-item-value">{$oField->getValue(true,true)}</strong>
</li>
{/foreach}
{/if}
{hook run='profile_whois_privat_item' oUserProfile=$oUserProfile}
</ul>
{/if}
{hook run='profile_whois_item_after_privat' oUserProfile=$oUserProfile}
<h2 class="header-table">{$aLang.profile_activity}</h2>
<ul class="dotted-list">
{if $oConfig->GetValue('general.reg.invite') and $oUserInviteFrom}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_invite_from}</span>
<strong class="dotted-list-item-value">
<a href="{$oUserInviteFrom->getUserWebPath()}">{$oUserInviteFrom->getDisplayName()}</a>&nbsp;
</strong>
</li>
{/if}
{if $oConfig->GetValue('general.reg.invite') and $aUsersInvite}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_invite_to}</span>
<strong class="dotted-list-item-value">
{foreach $aUsersInvite as $oUserInvite}
<a href="{$oUserInvite->getUserWebPath()}">{$oUserInvite->getDisplayName()}</a>&nbsp;
{/foreach}
</strong>
</li>
{/if}
{if $aBlogsOwner}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_blogs_self}</span>
<strong class="dotted-list-item-value">
{foreach $aBlogsOwner as $oBlog}
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a>{if ! $oBlog@last}, {/if}
{/foreach}
</strong>
</li>
{/if}
{if $aBlogAdministrators}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_blogs_administration}</span>
<strong class="dotted-list-item-value">
{foreach $aBlogAdministrators as $oBlogUser}
{$oBlog = $oBlogUser->getBlog()}
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a>{if ! $oBlogUser@last}, {/if}
{/foreach}
</strong>
</li>
{/if}
{if $aBlogModerators}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_blogs_moderation}</span>
<strong class="dotted-list-item-value">
{foreach $aBlogModerators as $oBlogUser}
{$oBlog = $oBlogUser->getBlog()}
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a>{if ! $oBlogUser@last}, {/if}
{/foreach}
</strong>
</li>
{/if}
{if $aBlogUsers}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_blogs_join}</span>
<strong class="dotted-list-item-value">
{foreach $aBlogUsers as $oBlogUser}
{$oBlog = $oBlogUser->getBlog()}
<a href="{$oBlog->getUrlFull()}">{$oBlog->getTitle()|escape:'html'}</a>{if ! $oBlogUser@last}, {/if}
{/foreach}
</strong>
</li>
{/if}
{hook run='profile_whois_activity_item' oUserProfile=$oUserProfile}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_date_registration}</span>
<strong class="dotted-list-item-value">{date_format date=$oUserProfile->getDateRegister()}</strong>
</li>
{if $oSession}
<li class="dotted-list-item">
<span class="dotted-list-item-label">{$aLang.profile_date_last}</span>
<strong class="dotted-list-item-value">{date_format date=$oSession->getDateLast()}</strong>
</li>
{/if}
</ul>
{if $aUsersFriend}
<h2 class="header-table mb-15"><a href="{$oUserProfile->getUserWebPath()}friends/">{$aLang.profile_friends}</a> <span>{$iCountFriendsUser}</span></h2>
{include file='user_list_avatar.tpl' aUsersList=$aUsersFriend}
{/if}
{hook run='profile_whois_item_end' oUserProfile=$oUserProfile}
</div>
<!-- /profile-left -->
<div class="profile-right">
{$aUserFieldContactValues = $oUserProfile->getUserFieldValues(true,array('contact'))}
{if $aUserFieldContactValues}
<h2 class="header-table">{$aLang.profile_contacts}</h2>
<ul class="profile-contact-list">
{foreach $aUserFieldContactValues as $oField}
<li><i class="icon-contact icon-contact-{$oField->getName()}" title="{$oField->getName()}"></i> {$oField->getValue(true,true)}</li>
{/foreach}
</ul>
{/if}
{$aUserFieldContactValues = $oUserProfile->getUserFieldValues(true,array('social'))}
{if $aUserFieldContactValues}
<h2 class="header-table">{$aLang.profile_social}</h2>
<ul class="profile-contact-list">
{foreach $aUserFieldContactValues as $oField}
<li><i class="icon-contact icon-contact-{$oField->getName()}" title="{$oField->getName()}"></i> {$oField->getValue(true,true)}</li>
{/foreach}
</ul>
{/if}
{hook run='profile_whois_item' oUserProfile=$oUserProfile}
</div>
</div>
{hook run='user_info_end' oUserProfile=$oUserProfile}
{/block}

View file

@ -1,28 +0,0 @@
{**
* Список комментариев к записи на стене
*}
{foreach $aReplyWall as $oReplyWall}
{$oReplyUser = $oReplyWall->getUser()}
<div id="wall-reply-item-{$oReplyWall->getId()}" class="js-wall-reply-item wall-item-reply">
<a href="{$oReplyUser->getUserWebPath()}">
<img src="{$oReplyUser->getProfileAvatarPath(48)}" alt="avatar" class="avatar" />
</a>
<a href="{$oReplyUser->getUserWebPath()}" class="author">{$oReplyUser->getDisplayName()}</a> ·
<span class="comment-content text">{$oReplyWall->getText()}</span>
<ul class="actions">
<li class="date">
<time datetime="{date_format date=$oReplyWall->getDateAdd() format='c'}">
{date_format date=$oReplyWall->getDateAdd() hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y, H:i"}
</time>
</li>
{if $oReplyWall->isAllowDelete()}
<li><a href="#" onclick="return ls.wall.remove({$oReplyWall->getId()});" class="link-dotted">{$aLang.wall_action_delete}</a></li>
{/if}
</ul>
</div>
{/foreach}

View file

@ -1,57 +0,0 @@
{**
* Список записей на стене
*}
{foreach $aWall as $oWall}
{$oWallUser = $oWall->getUser()}
{$aReplyWall = $oWall->getLastReplyWall()}
<div id="wall-item-{$oWall->getId()}" class="js-wall-item wall-item-wrapper">
<div class="wall-item">
<a href="{$oWallUser->getUserWebPath()}"><img src="{$oWallUser->getProfileAvatarPath(48)}" alt="avatar" class="avatar" /></a>
<p class="info">
<a href="{$oWallUser->getUserWebPath()}">{$oWallUser->getDisplayName()}</a> ·
<time class="date" 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>
</p>
<div class="wall-item-content text">
{$oWall->getText()}
</div>
{if $oUserCurrent}
<ul class="actions wall-item-actions">
{if $oUserCurrent and !$aReplyWall}
<li><a href="#" class="link-dotted" onclick="return ls.wall.toggleReply({$oWall->getId()});">{$aLang.wall_action_reply}</a></li>
{/if}
{if $oWall->isAllowDelete()}
<li><a href="#" onclick="return ls.wall.remove({$oWall->getId()});" class="link-dotted">{$aLang.wall_action_delete}</a></li>
{/if}
</ul>
{/if}
</div>
{if $aReplyWall}
<div class="wall-item-replies" id="wall-item-replies-{$oWall->getId()}">
{if count($aReplyWall) < $oWall->getCountReply()}
<a href="#" onclick="return ls.wall.loadReplyNext({$oWall->getId()});" id="wall-reply-button-next-{$oWall->getId()}" class="get-more get-more-wall-comments">
<span class="wall-more-inner">{$aLang.wall_load_reply_more} <span id="wall-reply-count-next-{$oWall->getId()}">{$oWall->getCountReply()}</span> {$oWall->getCountReply()|declension:$aLang.comment_declension}</span>
</a>
{/if}
{if $aReplyWall}
<div class="wall-item-container" id="wall-reply-container-{$oWall->getId()}">
{include file='actions/ActionProfile/wall.comments.tpl'}
</div>
{/if}
</div>
{/if}
{if $oUserCurrent}
<form class="wall-submit wall-submit-reply" {if !$aReplyWall}style="display: none"{/if}>
<textarea rows="4" id="wall-reply-text-{$oWall->getId()}" class="width-full js-wall-reply-text" placeholder="{$aLang.wall_reply_placeholder}" onclick="return ls.wall.expandReply({$oWall->getId()});"></textarea>
<button type="button" onclick="ls.wall.addReply(jQuery('#wall-reply-text-{$oWall->getId()}').val(), {$oWall->getId()});" class="button button-primary js-button-wall-submit">{$aLang.wall_reply_submit}</button>
</form>
{/if}
</div>
{/foreach}

View file

@ -1,44 +0,0 @@
{**
* Стена
*}
{extends file='layouts/layout.user.tpl'}
{block name='layout_content'}
<script>
ls.wall.init({
login:'{$oUserProfile->getLogin()}'
});
jQuery(document).ready(function($){
$("textarea").charCount({
allowed: 250,
warning: 0
});
});
</script>
{if $oUserCurrent}
<form class="wall-submit">
<textarea rows="4" id="wall-text" class="width-full js-wall-reply-parent-text"></textarea>
<button type="button" onclick="ls.wall.add(jQuery('#wall-text').val(),0);" class="button button-primary js-button-wall-submit">{$aLang.wall_add_submit}</button>
</form>
{else}
{include file='alert.tpl' sAlertStyle='info' mAlerts=$aLang.wall_add_quest sAlertAttributes='id="wall-note-list-empty"'}
{/if}
{if ! count($aWall)}
{include file='alert.tpl' mAlerts=$aLang.wall_list_empty sAlertStyle='empty' sAlertAttributes='id="wall-note-list-empty"'}
{/if}
<div id="wall-container" class="wall">
{include file='actions/ActionProfile/wall.posts.tpl'}
</div>
{if $iCountWall - count($aWall)}
<div onclick="return ls.wall.loadNext();" id="wall-button-next" class="get-more">
{$aLang.wall_load_more} (<span id="wall-count-next">{$iCountWall-count($aWall)}</span>)
</div>
{/if}
{/block}

View file

@ -1,38 +0,0 @@
{**
* Создание топика-опроса
*
* @styles css/topic.css
* @scripts <framework>/js/livestreet/poll.js
*}
{extends file='forms/form.add.topic.base.tpl'}
{block name='add_topic_type'}question{/block}
{block name='add_topic_form_text_before'}
<div class="poll-add js-poll-add">
<h3 class="h6">{$aLang.topic_question_create_answers}</h3>
<ul class="poll-add-list js-poll-add-list">
{if count($_aRequest.answer) >= 2}
{foreach $_aRequest.answer as $sAnswer}
<li class="poll-add-item js-poll-add-item">
<input type="text" value="{$sAnswer}" name="answer[]" class="poll-add-item-input js-poll-add-item-input" {if $bEditDisabled}disabled{/if} />
{if ! $bEditDisabled and $sAnswer@key > 1}
<i class="icon-synio-remove poll-add-item-remove js-poll-add-item-remove" title="{$aLang.topic_question_create_answers_delete}"></i>
{/if}
</li>
{/foreach}
{else}
<li class="poll-add-item js-poll-add-item"><input type="text" name="answer[]" class="poll-add-item-input js-poll-add-item-input" {if $bEditDisabled}disabled{/if} /></li>
<li class="poll-add-item js-poll-add-item"><input type="text" name="answer[]" class="poll-add-item-input js-poll-add-item-input" {if $bEditDisabled}disabled{/if} /></li>
{/if}
</ul>
{if ! $bEditDisabled}
<button type="button" class="button button-primary js-poll-add-button" title="[Ctrl + Enter]">{$aLang.topic_question_create_answers_add}</button>
{/if}
</div>
{/block}

View file

@ -1,11 +0,0 @@
{**
* Уведомление об успешной регистрации
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}{$aLang.registration_activate_ok}{/block}
{block name='layout_content'}
<a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a>
{/block}

View file

@ -1,13 +0,0 @@
{**
* Просьба перейти по ссылке отправленной на емэйл для активации аккаунта
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}{$aLang.registration_confirm_header}{/block}
{block name='layout_content'}
{$aLang.registration_confirm_text}<br /><br />
<a href="{cfg name='path.root.web'}">{$aLang.site_go_main}</a>
{/block}

View file

@ -1,11 +0,0 @@
{**
* Регистрация
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}{$aLang.registration}{/block}
{block name='layout_content'}
{include file='forms/form.auth.signup.tpl'}
{/block}

View file

@ -1,15 +0,0 @@
{**
* Регистрация через инвайт
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.registration_invite}{/block}
{block name='layout_content'}
{include file='forms/form.auth.invite.tpl'}
{/block}

View file

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>{$aChannel.title}</title>
<link>{$aChannel.link}</link>
<atom:link href="{$PATH_WEB_CURRENT}/" rel="self" type="application/rss+xml" />
<description><![CDATA[{$aChannel.description}]]></description>
<language>{$aChannel.language}</language>
<managingEditor>{$aChannel.managingEditor} ({cfg name='path.root.web'})</managingEditor>
<webMaster>{$aChannel.managingEditor} ({cfg name='path.root.web'})</webMaster>
<copyright>{cfg name='path.root.web'}</copyright>
<generator>{$aChannel.generator}</generator>
{foreach $aItems as $oItem}
<item>
<title>{$oItem.title|escape:'html'}</title>
<guid isPermaLink="true">{$oItem.guid}</guid>
<link>{$oItem.link}</link>
<dc:creator>{$oItem.author}</dc:creator>
<description><![CDATA[{$oItem.description}]]></description>
<pubDate>{date_format date=$oItem.pubDate format="r"}</pubDate>
<category>{$oItem.category|replace:',':'</category>
<category>'}</category>
</item>
{/foreach}
</channel>
</rss>

View file

@ -1,45 +0,0 @@
{**
* Страница с формой поиска
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{/block}
{block name='layout_page_title'}{$aLang.search}{/block}
{block name='layout_content'}
{include file='forms/form.search.main.tpl'}
{if $bIsResults}
<ul class="nav nav-pills">
{foreach $aRes.aCounts as $sType => $iCount}
<li {if $aReq.sType == $sType}class="active"{/if}>
<a href="{router page='search'}{$sType}/?q={$aReq.q|escape:'html'}">
{$iCount}
{if $sType=="topics"}
{$aLang.search_results_count_topics}
{elseif $sType=="comments"}
{$aLang.search_results_count_comments}
{else}
{hook run='search_result_item' sType=$sType}
{/if}
</a>
</li>
{/foreach}
</ul>
{if $aReq.sType == 'topics'}
{include file='topics/topic_list.tpl'}
{elseif $aReq.sType == 'comments'}
{include file='comments/comment_list.tpl'}
{else}
{hook run='search_result' sType=$aReq.sType}
{/if}
{elseif $aReq.q}
{$aLang.search_results_empty}
{/if}
{/block}

View file

@ -1,18 +0,0 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<ShortName>{cfg name='view.name'}</ShortName>
<Description>{$sHtmlTitle}</Description>
<Contact>{$sAdminMail}</Contact>
<Url type="text/html" template="{router page='search'}topics/?q={literal}{searchTerms}{/literal}" />
<LongName>{$sHtmlDescription}</LongName>
<Image height="64" width="64" type="image/png">{cfg name='path.skin.assets.web'}/images/favicons/logo.png</Image>
<Image height="16" width="16" type="image/vnd.microsoft.icon">{cfg name='path.skin.assets.web'}/images/favicons/favicon.ico</Image>
<Developer>{cfg name='view.name'} ({cfg name='path.root.web'})</Developer>
<Attribution>
© «{cfg name='view.name'}»
</Attribution>
<SyndicationRight>open</SyndicationRight>
<AdultContent>false</AdultContent>
<Language>ru-ru</Language>
<OutputEncoding>UTF-8</OutputEncoding>
<InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription>

View file

@ -1,14 +0,0 @@
{**
* Уведомления о смене емэйла
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{$bNoSystemMessages = true}
{/block}
{block name='layout_content'}
{$sText}
{/block}

View file

@ -1,55 +0,0 @@
{**
* Настройки аккаунта (емэйл, пароль)
*}
{extends file='layouts/layout.user.settings.tpl'}
{block name='layout_content'}
{hook run='settings_account_begin'}
<form method="post" enctype="multipart/form-data" class="wrapper-content">
{hook run='form_settings_account_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}">
<h3>{$aLang.settings_account}</h3>
<dl class="form-item">
<dt><label for="mail">{$aLang.settings_profile_mail}:</label></dt>
<dd>
<input type="email" name="mail" id="mail" value="{$oUserCurrent->getMail()|escape:'html'}" class="input-text width-300" required />
<small class="note">{$aLang.settings_profile_mail_notice}</small>
</dd>
</dl>
<br />
<br />
<h3>{$aLang.settings_account_password}</h3>
<small class="note note-header">{$aLang.settings_account_password_notice}</small>
<dl class="form-item">
<dt><label for="password_now">{$aLang.settings_profile_password_current}:</label></dt>
<dd><input type="password" name="password_now" id="password_now" value="" class="input-text width-200" /></dd>
</dl>
<dl class="form-item">
<dt><label for="password">{$aLang.settings_profile_password_new}:</label></dt>
<dd><input type="password" id="password" name="password" value="" class="input-text width-200" /></dd>
</dl>
<dl class="form-item">
<dt><label for="password_confirm">{$aLang.settings_profile_password_confirm}:</label></dt>
<dd><input type="password" id="password_confirm" name="password_confirm" value="" class="input-text width-200" /></dd>
</dl>
{hook run='form_settings_account_end'}
<button type="submit" name="submit_account_edit" class="button button-primary" />{$aLang.settings_profile_submit}</button>
</form>
{hook run='settings_account_end'}
{/block}

View file

@ -1,33 +0,0 @@
{**
* Управление инвайтами
*}
{extends file='layouts/layout.user.settings.tpl'}
{block name='layout_content'}
<p class="mb-20">{$aLang.settings_invite_notice} "{$aLang.settings_invite_submit}"</p>
{hook run='settings_invite_begin'}
<div class="wrapper-content">
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_settings_invite_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p>
{$aLang.settings_invite_available}: <strong>{if $oUserCurrent->isAdministrator()}{$aLang.settings_invite_many}{else}{$iCountInviteAvailable}{/if}</strong><br />
{$aLang.settings_invite_used}: <strong>{$iCountInviteUsed}</strong>
</p>
<p><label for="invite_mail">{$aLang.settings_invite_mail}:</label>
<input type="text" name="invite_mail" id="invite_mail" class="input-text width-200" /><br />
<small class="note">{$aLang.settings_invite_mail_notice}</small></p>
{hook run='form_settings_invite_end'}
<button type="submit" name="submit_invite" class="button button-primary" />{$aLang.settings_invite_submit}</button>
</form>
</div>
{hook run='settings_invite_end'}
{/block}

View file

@ -1,191 +0,0 @@
{**
* Основные настройки профиля
*}
{extends file='layouts/layout.user.settings.tpl'}
{block name='layout_content'}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="geo_select_city,geo_select_region"});
ls.geo.initSelect();
ls.userfield.iCountMax='{cfg name="module.user.userfield_max_identical"}';
});
</script>
{hook run='settings_profile_begin'}
<form method="post" enctype="multipart/form-data" class="form-profile">
<div class="wrapper-content">
<p id="profile_user_field_template" style="display:none;" class="js-user-field-item">
<select name="profile_user_field_type[]" onchange="ls.userfield.changeFormField(this);">
{foreach $aUserFieldsContact as $oFieldAll}
<option value="{$oFieldAll->getId()}">{$oFieldAll->getTitle()|escape:'html'}</option>
{/foreach}
</select>
<input type="text" name="profile_user_field_value[]" value="" class="input-text width-200">
<a class="icon-synio-remove" title="{$aLang.user_field_delete}" href="#" onclick="return ls.userfield.removeFormField(this);"></a>
</p>
<div class="avatar-change">
<div class="avatar"><img src="{$oUserCurrent->getProfileAvatarPath(100)}" id="avatar-img" /></div>
<div>
<a href="#" id="avatar-upload" class="link-dotted">{if $oUserCurrent->getProfileAvatar()}{$aLang.settings_profile_avatar_change}{else}{$aLang.settings_profile_avatar_upload}{/if}</a><br />
<a href="#" id="avatar-remove" class="link-dotted" onclick="return ls.user.removeAvatar();" style="{if !$oUserCurrent->getProfileAvatar()}display:none;{/if}">{$aLang.settings_profile_avatar_delete}</a>
</div>
</div>
{hook run='form_settings_profile_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}">
<dl class="form-item">
<dt><label for="profile_name">{$aLang.settings_profile_name}:</label></dt>
<dd>
<input type="text" name="profile_name" id="profile_name" value="{$oUserCurrent->getProfileName()|escape:'html'}" class="input-text width-250">
</dd>
</dl>
<dl class="form-item">
<dt><label for="profile_sex">{$aLang.settings_profile_sex}:</label></dt>
<dd>
<select name="profile_sex" id="profile_sex" class="width-250">
<option value="man" {if $oUserCurrent->getProfileSex()=='man'}selected{/if}>{$aLang.settings_profile_sex_man}</option>
<option value="woman" {if $oUserCurrent->getProfileSex()=='woman'}selected{/if}>{$aLang.settings_profile_sex_woman}</option>
<option value="other" {if $oUserCurrent->getProfileSex()=='other'}selected{/if}>{$aLang.settings_profile_sex_other}</option>
</select>
</dd>
</dl>
<dl class="form-item">
<dt><label for="">{$aLang.settings_profile_birthday}:</label></dt>
<dd>
<select name="profile_birthday_day" style="width: 58px; margin-right: 4px;">
<option value="">{$aLang.date_day}</option>
{section name=date_day start=1 loop=32 step=1}
<option value="{$smarty.section.date_day.index}" {if $smarty.section.date_day.index==$oUserCurrent->getProfileBirthday()|date_format:"%d"}selected{/if}>{$smarty.section.date_day.index}</option>
{/section}
</select>
<select name="profile_birthday_month" style="width: 103px; margin-right: 4px;">
<option value="">{$aLang.date_month}</option>
{section name=date_month start=1 loop=13 step=1}
<option value="{$smarty.section.date_month.index}" {if $smarty.section.date_month.index==$oUserCurrent->getProfileBirthday()|date_format:"%m"}selected{/if}>{$aLang.month_array[$smarty.section.date_month.index][0]}</option>
{/section}
</select>
<select name="profile_birthday_year" style="width: 72px">
<option value="">{$aLang.date_year}</option>
{section name=date_year loop=$smarty.now|date_format:"%Y"+1 max=$smarty.now|date_format:"%Y"-2012+130 step=-1}
<option value="{$smarty.section.date_year.index}" {if $smarty.section.date_year.index==$oUserCurrent->getProfileBirthday()|date_format:"%Y"}selected{/if}>{$smarty.section.date_year.index}</option>
{/section}
</select>
</dd>
</dl>
<br />
<label for="profile_about" style="margin-bottom: 7px">{$aLang.settings_profile_about}:</label>
<textarea name="profile_about" id="profile_about" class="input-text width-full" rows="7">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea>
<br />
<br />
<br />
<div class="js-geo-select">
<label for="" style="margin-bottom: 7px">{$aLang.profile_place}:</label>
<p style="margin-bottom: 15px">
<select class="js-geo-country width-200" name="geo_country">
<option value="">{$aLang.geo_select_country}</option>
{if $aGeoCountries}
{foreach $aGeoCountries as $oGeoCountry}
<option value="{$oGeoCountry->getId()}" {if $oGeoTarget and $oGeoTarget->getCountryId()==$oGeoCountry->getId()}selected="selected"{/if}>{$oGeoCountry->getName()}</option>
{/foreach}
{/if}
</select>
</p>
<p style="margin-bottom: 15px">
<select class="js-geo-region width-200" name="geo_region" {if !$oGeoTarget or !$oGeoTarget->getCountryId()}style="display:none;"{/if}>
<option value="">{$aLang.geo_select_region}</option>
{if $aGeoRegions}
{foreach $aGeoRegions as $oGeoRegion}
<option value="{$oGeoRegion->getId()}" {if $oGeoTarget and $oGeoTarget->getRegionId()==$oGeoRegion->getId()}selected="selected"{/if}>{$oGeoRegion->getName()}</option>
{/foreach}
{/if}
</select>
</p>
<p style="margin-bottom: 15px">
<select class="js-geo-city width-200" name="geo_city" {if !$oGeoTarget or !$oGeoTarget->getRegionId()}style="display:none;"{/if}>
<option value="">{$aLang.geo_select_city}</option>
{if $aGeoCities}
{foreach $aGeoCities as $oGeoCity}
<option value="{$oGeoCity->getId()}" {if $oGeoTarget and $oGeoTarget->getCityId()==$oGeoCity->getId()}selected="selected"{/if}>{$oGeoCity->getName()}</option>
{/foreach}
{/if}
</select>
</p>
</div>
{$aUserFieldValues = $oUserCurrent->getUserFieldValues(false,'')}
{if count($aUserFieldValues)}
{foreach $aUserFieldValues as $oField}
<dl class="form-item">
<dt><label for="profile_user_field_{$oField->getId()}">{$oField->getTitle()|escape:'html'}:</label></dt>
<dd><input type="text" class="input-text width-300" name="profile_user_field_{$oField->getId()}" id="profile_user_field_{$oField->getId()}" value="{$oField->getValue()|escape:'html'}"/></dd>
</dl>
{/foreach}
{/if}
</div>
<div class="wrapper-content wrapper-content-dark">
<h3>{$aLang.settings_profile_section_contacts}</h3>
{$aUserFieldContactValues = $oUserCurrent->getUserFieldValues(true,array('contact','social'))}
<div id="user-field-contact-contener">
{foreach $aUserFieldContactValues as $oField}
<p class="js-user-field-item">
<select name="profile_user_field_type[]" onchange="ls.userfield.changeFormField(this);">
{foreach $aUserFieldsContact as $oFieldAll}
<option value="{$oFieldAll->getId()}" {if $oFieldAll->getId()==$oField->getId()}selected="selected"{/if}>{$oFieldAll->getTitle()|escape:'html'}</option>
{/foreach}
</select>
<input type="text" name="profile_user_field_value[]" value="{$oField->getValue()|escape:'html'}" class="input-text width-200">
<a class="icon-synio-remove" title="{$aLang.user_field_delete}" href="#" onclick="return ls.userfield.removeFormField(this);"></a>
</p>
{/foreach}
</div>
{if $aUserFieldsContact}
<a href="#" onclick="return ls.userfield.addFormField();" class="link-dotted">{$aLang.user_field_add}</a>
{/if}
</div>
<div class="wrapper-content">
<script type="text/javascript">
jQuery(function($){
$('#avatar-upload').file({ name:'avatar' }).choose(function(e, input) {
ls.user.uploadAvatar(null,input);
});
});
</script>
{hook run='form_settings_profile_end'}
<button type="submit" name="submit_profile_edit" class="button button-primary" />{$aLang.settings_profile_submit}</button>
</div>
</form>
{hook run='settings_profile_end'}
{/block}

View file

@ -1,40 +0,0 @@
{**
* Настройка уведомлений
*}
{extends file='layouts/layout.user.settings.tpl'}
{block name='layout_content'}
{hook run='settings_tuning_begin'}
<form action="{router page='settings'}tuning/" method="POST" enctype="multipart/form-data" class="wrapper-content">
{hook run='form_settings_tuning_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<h3>{$aLang.settings_tuning_notice}</h3>
<label><input {if $oUserCurrent->getSettingsNoticeNewTopic()}checked{/if} type="checkbox" id="settings_notice_new_topic" name="settings_notice_new_topic" value="1" class="input-checkbox" /> {$aLang.settings_tuning_notice_new_topic}</label>
<label><input {if $oUserCurrent->getSettingsNoticeNewComment()}checked{/if} type="checkbox" id="settings_notice_new_comment" name="settings_notice_new_comment" value="1" class="input-checkbox" /> {$aLang.settings_tuning_notice_new_comment}</label>
<label><input {if $oUserCurrent->getSettingsNoticeNewTalk()}checked{/if} type="checkbox" id="settings_notice_new_talk" name="settings_notice_new_talk" value="1" class="input-checkbox" /> {$aLang.settings_tuning_notice_new_talk}</label>
<label><input {if $oUserCurrent->getSettingsNoticeReplyComment()}checked{/if} type="checkbox" id="settings_notice_reply_comment" name="settings_notice_reply_comment" value="1" class="input-checkbox" /> {$aLang.settings_tuning_notice_reply_comment}</label>
<label><input {if $oUserCurrent->getSettingsNoticeNewFriend()}checked{/if} type="checkbox" id="settings_notice_new_friend" name="settings_notice_new_friend" value="1" class="input-checkbox" /> {$aLang.settings_tuning_notice_new_friend}</label>
<br />
<h3>{$aLang.settings_tuning_general}</h3>
<label>{$aLang.settings_tuning_general_timezone}:
<select name="settings_general_timezone" class="width-400">
{foreach $aTimezoneList as $sTimezone}
<option value="{$sTimezone}" {if $_aRequest.settings_general_timezone==$sTimezone}selected="selected"{/if}>{$aLang.timezone_list[$sTimezone]}</option>
{/foreach}
</select>
</label>
{hook run='form_settings_tuning_end'}
<br />
<button type="submit" name="submit_settings_tuning" class="button button-primary">{$aLang.settings_profile_submit}</button>
</form>
{hook run='settings_tuning_end'}
{/block}

View file

@ -1,16 +0,0 @@
{**
* Вся активность
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$bNoSidebar = true}
{$sNav = 'activity'}
{/block}
{block name='layout_page_title'}{$aLang.stream_menu}{/block}
{block name='layout_content'}
{include file='actions/ActionStream/event_list.tpl' sActivityType='all'}
{/block}

View file

@ -1,21 +0,0 @@
{**
* Список событий активности
*
* sActivityParams Дополнительные параметры активности
* sActivityType Тип активности
* all Вся активность
* user Активность пользователя
*}
{if count($aStreamEvents)}
<ul class="activity-event-list" id="activity-event-list">
{include file='actions/ActionStream/events.tpl'}
</ul>
{if ! $bDisableGetMoreButton}
<input type="hidden" id="activity-last-id" value="{$iStreamLastId}" />
<div class="get-more" id="activity-get-more" data-param-type="{$sActivityType}" {$sActivityParams}>{$aLang.stream_get_more}</div>
{/if}
{else}
{$aLang.stream_no_events}
{/if}

View file

@ -1,186 +0,0 @@
{**
* События (добавлен комментарий, добавлен топик и т.д.)
*}
{if count($aStreamEvents)}
{foreach $aStreamEvents as $oStreamEvent}
{$oTarget = $oStreamEvent->getTarget()}
{$oUser = $oStreamEvent->getUser()}
{$bUserIsMale = $oUser->getProfileSex() != 'woman'}
{* Дата группы событий *}
{if {date_format date=$oStreamEvent->getDateAdded() format="j F Y"} != $sDateLast}
{$sDateLast = {date_format date=$oStreamEvent->getDateAdded() format="j F Y"}}
<li class="activity-date">
{if {date_format date=$smarty.now format="j F Y"} == $sDateLast}
{$aLang.today}
{else}
{date_format date=$oStreamEvent->getDateAdded() format="j F Y"}
{/if}
</li>
{/if}
<li class="activity-event activity-event-type-{$oStreamEvent->getEventType()}">
{* Аватар *}
<a href="{$oUser->getUserWebPath()}">
<img src="{$oUser->getProfileAvatarPath(48)}" alt="{$oUser->getDisplayName()}" class="activity-event-avatar" />
</a>
<p class="activity-event-info">
{* Логин *}
<a href="{$oUser->getUserWebPath()}"><strong>{$oUser->getDisplayName()}</strong></a> ·
{* Дата *}
<time datetime="{date_format date=$oStreamEvent->getDateAdded() format='c'}"
class="activity-event-date"
title="{date_format date=$oStreamEvent->getDateAdded()}">
{date_format date=$oStreamEvent->getDateAdded() hours_back="12" minutes_back="60" now="60" day="day H:i" format="j F Y, H:i"}
</time>
</p>
{*
* Текст события
*}
{if $oStreamEvent->getEventType() == 'add_topic'}
{* Добавлен топик *}
{if $bUserIsMale}
{$aLang.stream_list_event_add_topic}
{else}
{$aLang.stream_list_event_add_topic_female}
{/if}
<a href="{$oTarget->getUrl()}">{$oTarget->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'add_comment'}
{* Добавлен комментарий *}
{if $bUserIsMale}
{$aLang.stream_list_event_add_comment}
{else}
{$aLang.stream_list_event_add_comment_female}
{/if}
<a href="{$oTarget->getTarget()->getUrl()}#comment{$oTarget->getId()}">{$oTarget->getTarget()->getTitle()|escape:'html'}</a>
{$sTextEvent = $oTarget->getText()}
{if trim($sTextEvent)}
<div class="activity-event-text">
<div class="text">
{$sTextEvent}
</div>
</div>
{/if}
{elseif $oStreamEvent->getEventType() == 'add_blog'}
{* Создан блог *}
{if $bUserIsMale}
{$aLang.stream_list_event_add_blog}
{else}
{$aLang.stream_list_event_add_blog_female}
{/if}
<a href="{$oTarget->getUrlFull()}">{$oTarget->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'vote_blog'}
{* Проголосовали за блог *}
{if $bUserIsMale}
{$aLang.stream_list_event_vote_blog}
{else}
{$aLang.stream_list_event_vote_blog_female}
{/if}
<a href="{$oTarget->getUrlFull()}">{$oTarget->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'vote_topic'}
{* Проголосовали за топик *}
{if $bUserIsMale}
{$aLang.stream_list_event_vote_topic}
{else}
{$aLang.stream_list_event_vote_topic_female}
{/if}
<a href="{$oTarget->getUrl()}">{$oTarget->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'vote_comment'}
{* Проголосовали за комментарий *}
{if $bUserIsMale}
{$aLang.stream_list_event_vote_comment}
{else}
{$aLang.stream_list_event_vote_comment_female}
{/if}
<a href="{$oTarget->getTarget()->getUrl()}#comment{$oTarget->getId()}">{$oTarget->getTarget()->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'vote_user'}
{* Проголосовали за пользователя *}
{if $bUserIsMale}
{$aLang.stream_list_event_vote_user}
{else}
{$aLang.stream_list_event_vote_user_female}
{/if}
<span class="user-avatar user-avatar-n">
<a href="{$oTarget->getUserWebPath()}"><img src="{$oTarget->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oTarget->getUserWebPath()}">{$oTarget->getDisplayName()}</a>
</span>
{elseif $oStreamEvent->getEventType() == 'join_blog'}
{* Вступили в блог *}
{if $bUserIsMale}
{$aLang.stream_list_event_join_blog}
{else}
{$aLang.stream_list_event_join_blog_female}
{/if}
<a href="{$oTarget->getUrlFull()}">{$oTarget->getTitle()|escape:'html'}</a>
{elseif $oStreamEvent->getEventType() == 'add_friend'}
{* Добавили в друзья *}
{if $bUserIsMale}
{$aLang.stream_list_event_add_friend}
{else}
{$aLang.stream_list_event_add_friend_female}
{/if}
<span class="user-avatar user-avatar-n">
<a href="{$oTarget->getUserWebPath()}"><img src="{$oTarget->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oTarget->getUserWebPath()}">{$oTarget->getDisplayName()}</a>
</span>
{elseif $oStreamEvent->getEventType() == 'add_wall'}
{* Написали на стене *}
{if $bUserIsMale}
{$aLang.stream_list_event_add_wall}
{else}
{$aLang.stream_list_event_add_wall_female}
{/if}
<span class="user-avatar user-avatar-n">
<a href="{$oTarget->getWallUser()->getUserWebPath()}"><img src="{$oTarget->getWallUser()->getProfileAvatarPath(24)}" alt="avatar" /></a>
<a href="{$oTarget->getUrlWall()}">{$oTarget->getWallUser()->getDisplayName()}</a>
</span>
{$sTextEvent = $oTarget->getText()}
{if trim($sTextEvent)}
<div class="activity-event-text">
<div class="text">
{$sTextEvent}
</div>
</div>
{/if}
{else}
{hook run="stream_list_event_`$oStreamEvent->getEventType()`" oStreamEvent=$oStreamEvent}
{/if}
</li>
{/foreach}
<script>
ls.stream.sDateLast = {json var=$sDateLast};
</script>
{/if}

View file

@ -1,15 +0,0 @@
{**
* Настраиваемая, персональная страница активности
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'activity'}
{/block}
{block name='layout_page_title'}{$aLang.stream_menu}{/block}
{block name='layout_content'}
{include file='actions/ActionStream/event_list.tpl' sActivityType=''}
{/block}

View file

@ -1,12 +0,0 @@
{**
* Поиск по тегам
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_page_title'}{$aLang.block_tags_search}{/block}
{block name='layout_content'}
{include file='forms/form.search.tags.tpl'}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,66 +0,0 @@
{**
* Создание личного сообщения
*}
{extends file='layouts/layout.user.messages.tpl'}
{block name='layout_content'}
{**
* Выбор адресата среди друзей на странице создания личного сообщения
*}
<div class="talk-search talk-friends" id="block_talk_search">
<header>
<a href="#" class="link-dotted close" onclick="ls.talk.toggleSearchForm(); return false;">{$aLang.block_friends}</a>
</header>
<div class="talk-search-content" id="block_talk_friends_content">
{if $aUsersFriend}
<ul class="friend-list" id="friends">
{foreach $aUsersFriend as $oFriend}
<li>
<input id="talk_friend_{$oFriend->getId()}" type="checkbox" name="friend[{$oFriend->getId()}]" class="input-checkbox" />
<label for="talk_friend_{$oFriend->getId()}" id="talk_friend_{$oFriend->getId()}_label">{$oFriend->getDisplayName()}</label>
</li>
{/foreach}
</ul>
<ul class="actions">
<li><a href="#" id="friend_check_all" class="link-dotted">{$aLang.block_friends_check}</a></li>
<li><a href="#" id="friend_uncheck_all" class="link-dotted">{$aLang.block_friends_uncheck}</a></li>
</ul>
{else}
{include file='alert.tpl' mAlerts=$aLang.block_friends_empty sAlertStyle='empty'}
{/if}
</div>
</div>
{hook run='talk_add_begin'}
{include file='forms/editor.init.tpl' sEditorType='comment'}
<form action="" method="POST" enctype="multipart/form-data">
{hook run='form_add_talk_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p><label for="talk_users">{$aLang.talk_create_users}:</label>
<input type="text" class="input-text width-full autocomplete-users-sep" id="talk_users" name="talk_users" value="{$_aRequest.talk_users}" /></p>
<p><label for="talk_title">{$aLang.talk_create_title}:</label>
<input type="text" class="input-text width-full" id="talk_title" name="talk_title" value="{$_aRequest.talk_title}" /></p>
<p><label for="talk_text">{$aLang.talk_create_text}:</label>
<textarea name="talk_text" id="talk_text" rows="12" class="input-text width-full js-editor width-full">{$_aRequest.talk_text}</textarea></p>
{* Preview *}
<div class="text mb-20" id="text_preview" style="display: none;"></div>
{hook run='form_add_talk_end'}
<button type="submit" class="button button-primary" name="submit_talk_add">{$aLang.talk_create_submit}</button>
<button type="submit" class="button" name="submit_preview" onclick="jQuery('#text_preview').show(); ls.tools.textPreview('talk_text',false); return false;">{$aLang.topic_create_submit_preview}</button>
</form>
{hook run='talk_add_end'}
{/block}

View file

@ -1,26 +0,0 @@
{**
* Черный список
*}
{extends file='layouts/layout.user.messages.tpl'}
{block name='layout_content'}
<div class="talk-blacklist-form">
<h3>{$aLang.talk_blacklist_title}</h3>
<form onsubmit="return ls.talk.addToBlackList();">
<input type="text" id="talk_blacklist_add" name="add" placeholder="{$aLang.talk_balcklist_add_label}" class="input-text width-full autocomplete-users-sep" />
</form>
</div>
<div id="black_list_block">
{if $aUsersBlacklist}
<ul class="list" id="black_list">
{foreach $aUsersBlacklist as $oUser}
<li id="blacklist_item_{$oUser->getId()}_area"><a href="{$oUser->getUserWebPath()}" class="user">{$oUser->getDisplayName()}</a> - <a href="#" id="blacklist_item_{$oUser->getId()}" class="delete">{$aLang.blog_delete}</a></li>
{/foreach}
</ul>
{/if}
</div>
{/block}

View file

@ -1,15 +0,0 @@
{**
* Список избранных сообщений
*}
{extends file='layouts/layout.user.messages.tpl'}
{block name='layout_content'}
{if $aTalks}
{include file='actions/ActionTalk/message_list.tpl'}
{else}
{include file='alert.tpl' mAlerts=$aLang.talk_favourite_empty sAlertStyle='empty'}
{/if}
{include file='pagination.tpl' aPaging=$aPaging}
{/block}

View file

@ -1,62 +0,0 @@
{**
* Список сообщений
*}
{extends file='layouts/layout.user.messages.tpl'}
{block name='layout_options' append}
{$bNoSystemMessages = false}
{/block}
{block name='layout_content'}
{if $aTalks}
{**
* Поиск по личным сообщениям
*}
<div class="talk-search {if $_aRequest.submit_talk_filter}opened{/if}" id="block_talk_search">
<header>
<button type="submit" onclick="ls.talk.makeReadTalks()" class="button">{$aLang.talk_inbox_make_read}</button>
<button type="submit" onclick="if (confirm('{$aLang.talk_inbox_delete_confirm}')){ ls.talk.removeTalks() };" class="button">{$aLang.talk_inbox_delete}</button>
<a href="#" class="link-dotted close" onclick="ls.talk.toggleSearchForm(); return false;">{$aLang.talk_filter_title}</a>
</header>
<div class="talk-search-content" id="block_talk_search_content" >
<form action="{router page='talk'}" method="GET" name="talk_filter_form">
<p><input type="text" id="talk_filter_sender" name="sender" value="{$_aRequest.sender}" placeholder="{$aLang.talk_filter_label_sender}" class="input-text width-250" /></p>
<p><input type="text" id="talk_filter_keyword" name="keyword" value="{$_aRequest.keyword}" placeholder="{$aLang.talk_filter_label_keyword}" class="input-text width-250" /></p>
<p><input type="text" id="talk_filter_keyword_text" name="keyword_text" value="{$_aRequest.keyword_text}" placeholder="{$aLang.talk_filter_label_keyword_text}" class="input-text width-250" /></p>
<p><label for="talk_filter_start">{$aLang.talk_filter_label_date}:</label>
<input type="text" id="talk_filter_start" name="start" value="{$_aRequest.start}" class="input-text input-text width-250 date-picker" readonly="readonly" /> &mdash;
<input type="text" id="talk_filter_end" name="end" value="{$_aRequest.end}" class="input-text input-text width-250 date-picker" readonly="readonly" /></p>
<p><label for="talk_filter_favourite"><input type="checkbox" {if $_aRequest.favourite}checked {/if} class="input-checkbox" name="favourite" value="1" id="talk_filter_favourite" />
{$aLang.talk_filter_label_favourite}</label></p>
<input type="submit" name="submit_talk_filter" value="{$aLang.talk_filter_submit}" class="button button-primary" />
<input type="submit" name="" value="{$aLang.talk_filter_submit_clear}" class="button" onclick="return ls.talk.clearFilter();" />
</form>
</div>
</div>
{**
* Список сообщений
*}
<form action="{router page='talk'}" method="post" id="form_talks_list">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<input type="hidden" name="submit_talk_read" id="form_talks_list_submit_read" value="" />
<input type="hidden" name="submit_talk_del" id="form_talks_list_submit_del" value="" />
{include file='actions/ActionTalk/message_list.tpl' bMessageListCheckboxes=true}
</form>
{else}
{include file='alert.tpl' mAlerts=$aLang.talk_inbox_empty sAlertStyle='empty'}
{/if}
{include file='pagination.tpl' aPaging=$aPaging}
{/block}

View file

@ -1,110 +0,0 @@
{**
* Личное сообщение
*}
{extends file='layouts/layout.user.messages.tpl'}
{block name='layout_content'}
{$oUser = $oTalk->getUser()}
<article class="topic topic-type-talk">
<header class="topic-header">
<h1 class="topic-title">{$oTalk->getTitle()|escape:'html'}</h1>
</header>
<div class="topic-content text">
{$oTalk->getText()}
</div>
{**
* Участники личного сообщения
*}
<div class="talk-search talk-recipients">
<header class="talk-recipients-header">
{$aLang.talk_speaker_title}:
{foreach $oTalk->getTalkUsers() as $oTalkUser}
{$oUserRecipient = $oTalkUser->getUser()}
<a class="username {if $oTalkUser->getUserActive() != $TALK_USER_ACTIVE}inactive{/if}"
href="{$oUserRecipient->getUserWebPath()}"
{if $oTalkUser->getUserActive() != $TALK_USER_ACTIVE}title="{$aLang.talk_speaker_not_found}"{/if}>{$oUserRecipient->getDisplayName()}</a>{if ! $oTalkUser@last}, {/if}
{/foreach}
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator()}
&nbsp;&nbsp;&nbsp;<a href="#" class="link-dotted" onclick="ls.talk.toggleSearchForm(); return false;">{$aLang.talk_speaker_edit}</a>
{/if}
</header>
{if $oTalk->getUserId()==$oUserCurrent->getId() or $oUserCurrent->isAdministrator()}
<div class="talk-search-content talk-recipients-content" id="talk_recipients">
<form onsubmit="return ls.talk.addToTalk({$oTalk->getId()});">
<p><input type="text" id="talk_speaker_add" name="add" placeholder="{$aLang.talk_speaker_add_label}" class="input-text width-300 autocomplete-users-sep" /></p>
<input type="hidden" id="talk_id" value="{$oTalk->getId()}" />
</form>
<div id="speaker_list_block">
{if $oTalk->getTalkUsers()}
<ul class="list" id="speaker_list">
{foreach $oTalk->getTalkUsers() as $oTalkUser}
{if $oTalkUser->getUserId()!=$oUserCurrent->getId()}
{$oUser = $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->getDisplayName()}</a>
{if $oTalkUser->getUserActive()==$TALK_USER_ACTIVE}- <a href="#" id="speaker_item_{$oTalkUser->getUserId()}" class="delete">{$aLang.blog_delete}</a>{/if}
</li>
{/if}
{/if}
{/foreach}
</ul>
{/if}
</div>
</div>
{/if}
</div>
<footer class="topic-footer">
<ul class="topic-info">
<li class="topic-info-author">
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="avatar" class="avatar" /></a>
<a rel="author" href="{$oUser->getUserWebPath()}">{$oUser->getDisplayName()}</a>
</li>
<li class="topic-info-date">
<time datetime="{date_format date=$oTalk->getDate() format='c'}" pubdate title="{date_format date=$oTalk->getDate() format='j F Y, H:i'}">
{date_format date=$oTalk->getDate() format="j F Y, H:i"}
</time>
</li>
<li class="topic-info-favourite" onclick="return ls.favourite.toggle({$oTalk->getId()},$('#fav_topic_{$oTalk->getId()}'),'talk');">
<i id="fav_topic_{$oTalk->getId()}"
class="favourite {if $oTalk->getIsFavourite()}active{/if}"
title="{if $oTalk->getIsFavourite()}{$aLang.talk_favourite_del}{else}{$aLang.talk_favourite_add}{/if}"></i>
</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>
{hook run='talk_read_info_item' talk=$oTalk}
</ul>
</footer>
</article>
{$oTalkUser = $oTalk->getTalkUser()}
{if !$bNoComments}
{include
file='comments/comment_tree.tpl'
iTargetId=$oTalk->getId()
sTargetType='talk'
iCountComment=$oTalk->getCountComment()
sDateReadLast=$oTalkUser->getDateLast()
sNoticeCommentAdd=$aLang.topic_comment_add
bNoCommentFavourites=true}
{else}
{include file='alert.tpl' mAlerts=$aLang.talk_deleted sAlertStyle='empty'}
{/if}
{/block}

View file

@ -1,76 +0,0 @@
{**
* Список сообщений
*}
<table class="table table-talk js-message-list">
<thead>
<tr>
{if $bMessageListCheckboxes}
<th class="cell-checkbox"><input type="checkbox" name="" class="input-checkbox" onclick="ls.tools.checkAll('form_talks_checkbox', this, true);"></th>
{/if}
<th class="cell-recipients">{$aLang.talk_inbox_target}</th>
<th class="cell-favourite">&nbsp;</th>
<th class="cell-title">{$aLang.talk_inbox_title}</th>
<th class="cell-date ta-r">{$aLang.talk_inbox_date}</th>
</tr>
</thead>
<tbody>
{foreach $aTalks as $oTalk}
{$oTalkUserAuthor = $oTalk->getTalkUser()}
<tr>
{if $bMessageListCheckboxes}
<td class="cell-checkbox"><input type="checkbox" name="talk_select[{$oTalk->getId()}]" class="form_talks_checkbox input-checkbox" /></td>
{/if}
<td class="cell-recipients">
{strip}
{$aTalkUserOther = []}
{foreach $oTalk->getTalkUsers() as $oTalkUser}
{if $oTalkUser->getUserId() != $oUserCurrent->getId()}
{$aTalkUserOther[] = $oTalkUser}
{/if}
{/foreach}
{foreach $aTalkUserOther as $oTalkUser}
{$oUser = $oTalkUser->getUser()}
{if ! $oTalkUser@first}, {/if}<a href="{$oUser->getUserWebPath()}" class="username {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}inactive{/if}" {if $oTalkUser->getUserActive()!=$TALK_USER_ACTIVE}title="{$aLang.talk_speaker_not_found}"{/if}>{$oUser->getDisplayName()}</a>
{/foreach}
{/strip}
</td>
<td class="cell-favourite">
<div class="favourite js-favourite">
<div data-favourite-type="talk"
data-favourite-id="{$oTalk->getId()}"
class="favourite-toggle js-favourite-toggle {if $oTalk->getIsFavourite()}active{/if}"
title="{if $oTalk->getIsFavourite()}{$aLang.talk_favourite_del}{else}{$aLang.talk_favourite_add}{/if}"></a>
</div>
</td>
<td class="cell-title">
{strip}
<a href="{router page='talk'}read/{$oTalk->getId()}/" class="js-title-talk" title="{$oTalk->getTextLast()|strip_tags|truncate:100:'...'|escape:'html'}">
{if $oTalkUserAuthor->getCommentCountNew() or ! $oTalkUserAuthor->getDateLast()}
<strong>{$oTalk->getTitle()|escape:'html'}</strong>
{else}
{$oTalk->getTitle()|escape:'html'}
{/if}
</a>
{/strip}
{if $oTalk->getCountComment()}
<span>{$oTalk->getCountComment()}</span>{if $oTalkUserAuthor->getCommentCountNew()} <span class="new">+{$oTalkUserAuthor->getCommentCountNew()}</span>{/if}
{/if}
{if $oUserCurrent->getId()==$oTalk->getUserIdLast()}
<i class="icon-synio-arrow-right"></i>
{else}
<i class="icon-synio-arrow-left"></i>
{/if}
</td>
<td class="cell-date ta-r">{date_format date=$oTalk->getDate() format="j F Y"}</td>
</tr>
{/foreach}
</tbody>
</table>

View file

@ -1,7 +0,0 @@
{**
* Создание обычного текстового топика
*
* @styles css/topic.css
*}
{extends file='forms/form.add.topic.base.tpl'}

View file

@ -1,13 +0,0 @@
{**
* Черновики
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNavContent = 'create'}
{/block}
{block name='layout_content'}
{include file='topics/topic_list.tpl'}
{/block}

View file

@ -1,24 +0,0 @@
{**
* Лента пользователя
*}
{extends file='layouts/layout.base.tpl'}
{block name='layout_options'}
{$sNav = 'topics'}
{/block}
{block name='layout_content'}
{include file='topics/topic_list.tpl'}
{if count($aTopics)}
{if ! $bDisableGetMoreButton}
<div id="userfeed_loaded_topics"></div>
<input type="hidden" id="userfeed_last_id" value="{$iUserfeedLastId}" />
<div class="get-more" id="userfeed_get_more" onclick="ls.userfeed.getMore()">{$aLang.userfeed_get_more} &darr;</div>
{/if}
{else}
{$aLang.userfeed_no_events}
{/if}
{/block}

View file

@ -1,34 +0,0 @@
{**
* Уведомления
*
* @param string $sAlertTitle Заголовок
* @param string $sAlertStyle Стиль уведомления (error, info и т.д.), по умолчанию - success
* @param string $sAlertAttributes Дополнительные атрибуты основного блока
* @param boolean $bAlertVisible Показывать или нет уведомление, по умолчанию - true
* @param mixed $mAlerts Массив либо строка с текстом уведомления
*
* @styles <framework>/css/alerts.css
*}
<div class="alert alert-{if $sAlertStyle}{$sAlertStyle}{else}success{/if}"
{if isset($bAlertVisible) && $bAlertVisible == false}style="display: none"{/if}
{$sAlertAttributes}>
{if $sAlertTitle}
<h4 class="alert--title">{$sAlertTitle}</h4>
{/if}
<div class="alert--body">
{block name='alert_body'}
{if is_array($mAlerts)}
<ul class="alert--list">
{foreach $mAlerts as $aAlert}
<li class="alert--list--item">{if $aAlert.title}<strong>{$aAlert.title}</strong>:{/if} {$aAlert.msg}</li>
{/foreach}
</ul>
{else}
{$mAlerts}
{/if}
{/block}
</div>
</div>

View file

@ -1,47 +0,0 @@
/**
* Активность
*
* @template actions/ActionStream/*.tpl
*/
/**
* Список событий
*/
.activity-event-list { margin: 0 0 20px; }
.activity-date { font-size: 16px; color: #999; font-family: 'PT Sans', sans-serif; margin-top: 50px; margin-bottom: 20px; padding-bottom: 5px; border-bottom: 1px solid #eee; }
/**
* Событие
*/
.activity-event { margin-bottom: 23px; min-height: 48px; border-bottom: 1px solid #e7ebed; padding: 0 0 20px 60px; position: relative; }
.activity-event:last-child { border: none; }
.activity-event-info { color: #b9c2c2; font-size: 11px; line-height: 1em; margin-bottom: 8px; }
.activity-event-info a { color: #275ec2; }
.activity-event-date { color: #818189; }
.activity-event-avatar { position: absolute; top: 0; left: 0; }
.activity-event .user-avatar { margin-left: 3px; }
.activity-event-text {
position: relative;
padding: 10px 15px;
background: #fefef1;
color: #363636;
margin-top: 13px;
border-radius: 3px;
-webkit-box-shadow: 0 2px 4px #e8e8c0 inset;
box-shadow: 0 2px 4px #e8e8c0 inset;
}
.activity-event-text:after {
display: block;
content: "";
position: absolute;
top: -12px;
left: 15px;
width: 0;
height: 0;
border-width: 6px;
border-color: transparent transparent #e8e8c0 transparent;
border-style: solid;
}

View file

@ -1,33 +0,0 @@
/**
* Админка
*
* @template actions/ActionAdmin/*.tpl
*/
/**
* Настраиваемые поля
*/
.userfield-list li { background: #f7f7f7; margin-bottom: 1px; padding: 13px 65px 13px 15px; position: relative; }
.userfield-list li:hover { background: #eee; }
.userfield-actions { position: absolute; top: 15px; right: 15px; }
/**
* Информация о производительности
*
* @template stat_performance.tpl
*/
.stat-performance { margin: 20px; padding: 20px; }
.stat-performance table { width: 100%; }
.stat-performance td { vertical-align: top; }
.stat-performance h4 { font-weight: bold; font-size: 14px; }
/**
* Управление плагинами
*
* @template actions/ActionAdmin/plugins.tpl
*/
.table.table-plugins .cell-checkbox { width: 20px; padding: 12px 0 10px 10px; }
.table.table-plugins h3 { font-weight: bold; font-size: 17px; line-height: 20px; margin-bottom: 5px; }

View file

@ -1,145 +0,0 @@
/**
* Основные стили
*/
body {
font-size: 12px;
font-family: Verdana, "Helvetica Neue", Helvetica, Arial, sans-serif;
line-height: 18px;
color: #000;
background-color: #fbfcfc;
}
/**
* Ссылки
*/
a { color: #3f8ad7; }
a:hover { color: #f00; }
.text a:visited { color: #1D2273; }
/**
* Заголовки
*/
h1, h2, h3, h4, h5, h6 { font-family: 'PT Sans', Arial, sans-serif; }
.h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'PT Sans', Arial, sans-serif; margin-bottom: 15px; line-height: 1.2em; }
.h1 { font-size: 28px; }
.h2 { font-size: 26px; }
.h3 { font-size: 24px; }
.h4 { font-size: 22px; }
.h5 { font-size: 20px; }
.h6 { font-size: 18px; }
.page-header { color: #333; font-size: 27px; line-height: 1em; font-weight: normal; margin-bottom: 20px; }
.page-header span { color: #aaa; }
.page-header i { vertical-align: middle; }
.header-table { margin-bottom: 10px; font-size: 22px; font-weight: normal; }
.header-table a { color: #275ec2; }
.header-table span { color: #949aa1; }
/**
* Шапка сайта
*/
#header .site-name { font-size: 25px; line-height: 1em; float: left; padding-top: 11px; margin-right: 30px; margin-left: 18px; }
#header .site-name a { color: #fff; text-decoration: none; }
#header .site-name a:hover { color: #eee; }
#header .new-messages { position: absolute; top: 0; right: 205px; color: #f9de7e; font-size: 11px; margin-right: 11px; margin-top: 18px; line-height: 1em; text-decoration: none; }
#header .new-messages i { position: relative; top: -1px; }
.mozilla #header .new-messages i { top: 0; }
#header .dropdown-user {
width: 89px;
height: 51px;
line-height: 47px;
position: absolute;
top: 0;
right: 0;
padding-right: 60px;
padding-left: 54px;
background: #353535;
background: -moz-linear-gradient(top, #353535 0%, #020202 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#353535), color-stop(100%,#020202));
background: -webkit-linear-gradient(top, #353535 0%,#020202 100%);
background: -o-linear-gradient(top, #353535 0%,#020202 100%);
background: -ms-linear-gradient(top, #353535 0%,#020202 100%);
background: linear-gradient(top, #353535 0%,#020202 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#353535', endColorstr='#020202',GradientType=0 );
}
#header .dropdown-user.opened { background: #1d1d1d; }
#header .dropdown-user .dropdown-user-trigger { position: absolute; top: 0; right: 0; width: 36px; height: 51px; border-left: 1px solid #272727; cursor: pointer; }
#header .dropdown-user .dropdown-user-trigger i { position: absolute; top: 23px; left: 14px; height: 0; width: 0; border: 4px solid transparent; border-top-color: #949aa1; }
#header .dropdown-user .dropdown-user-trigger:hover,
#header .dropdown-user.opened .dropdown-user-trigger { background: #093357; }
#header .dropdown-user .dropdown-user-trigger:hover i,
#header .dropdown-user.opened .dropdown-user-trigger i { border-top-color: #fff; }
#header .dropdown-user .username { color: #cfcfcf; font-size: 11px; text-decoration: underline; white-space: nowrap; max-width: 89px; overflow: hidden; display: block; }
#header .dropdown-user .username:hover { color: #aaa; }
#header .dropdown-user .avatar { position: absolute; top: 11px; left: 13px; width: 30px; height: 30px; }
#header .auth { position: absolute; top: 0; right: 0; line-height: 49px; font-size: 11px; margin-right: 17px; }
#header .auth li { float: left; margin-left: 23px; }
#header .auth li a { color: #cfcfcf; text-decoration: none; }
#header .auth li a.sign-in { color: #7dc6ff; }
/**
* Футер
*/
#footer .copyright { float: right; width: 255px; }
#footer .copyright .design-by { overflow: hidden; line-height: 15px; margin-top: 30px; }
#footer .copyright .design-by .icon-xeoart { float: left; margin-right: 10px; margin-top: 3px; }
#footer .copyright .design-by div { font-size: 10px; color: #8b9191; margin-top: 1px; }
#footer a { color: #000; }
#footer a:hover { color: #333; }
#footer .footer-list { float: left; width: 138px; padding-right: 20px; }
#footer .footer-list li { margin-bottom: 3px; }
#footer .footer-list .footer-list-header { font-size: 12px; font-weight: bold; margin-bottom: 11px; }
#footer .footer-list a { color: #4c4c4c; }
/**
* Навигация
*/
#nav .button.button-write { float: right; margin-left: 35px; margin-top: 1px; }
#nav .nav.nav-menu { margin-top: 1px; }
#nav .search-header { float: right; }
#nav .search-header .search-header-show { font-size: 11px; margin-top: 4px; }
#nav .search-header .search-header-show a { color: #878e96; border-color: #878e96; }
#nav .search-header .search-header-show a:hover { color: #f00; border-color: #f00; }
#nav .search-header .search-form { position: relative; top: 0px; padding: 0; margin: 0; border-radius: 0; }
/**
* Talk
*/
.talk-search { padding: 15px; background: #f8fbfe; border-radius: 5px; margin-bottom: 35px; }
.talk-search header { position: relative; min-height: 27px; }
.talk-search header .close { position: absolute; top: 3px; right: 0; font-size: 11px; cursor: pointer; }
.talk-search .talk-search-content { display: none; padding-top: 15px; border-top: 1px solid #fff; }
.talk-search .talk-search-content p { margin-bottom: 25px; }
.talk-search.opened header { border-bottom: 1px solid #e8eef5; padding-bottom: 15px; }
.talk-search.opened .talk-search-content { display: block; }
.talk-search.talk-friends header .close { left: 0; right: auto; }
.talk-search.talk-friends .friend-list { margin-bottom: 15px; font-weight: bold; }
.talk-search.talk-friends .friend-list li { margin-bottom: 5px; }
.talk-blacklist-form { padding: 15px; background: #f8fbfe; border-radius: 5px; margin-bottom: 15px; }
/**
* Misc
*/
.drafts { float: right; font-size: 11px; color: #275ec2; }
.content-error { padding: 110px 160px; }
.content-error h2.page-header { font-weight: bold; font-size: 30px; margin-bottom: 35px; }
.content-error a { color: #727a90; }
.content-error a:hover { color: #f00; }

View file

@ -1,216 +0,0 @@
/**
* Blocks
*/
/**
* Base
*/
.block { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px dotted #dce1e6; }
.block:last-child { margin-bottom: 0; border-bottom: none; }
.block .loading { min-height: 100px; background-image: url(../images/loader-circle.gif); background-position: 50% 0; }
.block .max-height-200 { overflow: auto; max-height: 200px; position: relative; }
.block .search-form { margin-bottom: 15px; background: #f9fbfb; }
/* Header */
.block .block-header { position: relative; margin-bottom: 15px; }
.block .block-header .block-title { font-size: 22px; line-height: 1em; font-weight: normal; font-family: 'PT Sans', sans-serif; }
.block .block-header .block-title a { text-decoration: none; color: #333; }
/* Nav */
.block-nav { margin-bottom: 5px; padding: 0 0 16px; position: relative; }
.block-nav .nav,
.block-nav .dropdown { margin-bottom: 0; }
.block-nav .nav.nav-pills li a { text-decoration: none; border-bottom: 1px dotted #727a90; }
.block-nav .nav.nav-pills li.active a { border: none; }
.block-nav:after {
content: "";
display: block;
border-top: 1px solid #eee;
background: -moz-linear-gradient(top, #f5f5f5 0%, #fff 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#fff));
background: -webkit-linear-gradient(top, #f5f5f5 0%,#fff 100%);
background: -o-linear-gradient(top, #f5f5f5 0%,#fff 100%);
background: -ms-linear-gradient(top, #f5f5f5 0%,#fff 100%);
background: linear-gradient(top, #f5f5f5 0%,#fff 100%);
width: 100%;
height: 5px;
position: absolute;
bottom: 0;
}
/* Content */
.block .block-content { }
/* Footer */
.block footer { margin-top: 15px; font-size: 11px; color: #b9c2c2; }
.block footer a { color: #727a90; }
/* Update button */
.block-update {
position: absolute;
bottom: -36px;
right: 5px;
width: 20px;
height: 20px;
background-repeat: no-repeat;
background-image: url(../images/icons/update-hover.png);
cursor: pointer;
z-index: 10;
}
.block-update:hover { background-image: url(../images/icons/update-hover.png); }
.block-update:active,
.block-update.active { background-image: url(../images/icons/update-active.png); }
/* 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; }
/**
* @type stream
* @template blocks/block.stream.tpl
* @template blocks/block.stream_comment.tpl
* @template blocks/block.stream_topic.tpl
*/
.block-type-stream .latest-list { }
.block-type-stream .latest-list li { margin-bottom: 15px; color: #818189; }
.block-type-stream .latest-list p { font-size: 11px; }
.block-type-stream .latest-list .stream-topic { text-decoration: underline; }
.block-type-stream .latest-list .stream-blog { color: #4128B1; }
.block-type-stream .latest-list .stream-blog:hover { color: #f00; }
.block-type-stream .latest-list .author { color: #4c4c4c; text-decoration: underline; }
.block-type-stream .latest-list .author:hover { color: #f00; }
.block-type-stream .latest-list .block-item-comments { font-size: 11px; text-decoration: none; color: #818189; white-space: nowrap; }
.block-type-stream .latest-list .block-item-comments i { position: relative; top: 3px; margin-right: 2px; }
/**
* @type blogs
* @template blocks/block.blogs.tpl
*/
.blog-list-compact { margin-bottom: 0; }
.blog-list-compact .dotted-list-item { margin-bottom: 10px; position: relative; }
.blog-list-compact .dotted-list-item-label { float: none; display: block; background-color: transparent; margin-right: 60px; padding: 0; }
.blog-list-compact .dotted-list-item-label a { padding-right: 5px; background: #fff; }
.blog-list-compact .dotted-list-item-label i { background-color: #fff; position: relative; top: -2px; }
.blog-list-compact .dotted-list-item-value { width: auto; font-size: 11px; padding: 0; }
/**
* @type tags
* @template blocks/block.tags.tpl
*/
.block.block-type-tags .search-form-wrapper { margin-bottom: 15px; }
/**
* @type activity
* @template blocks/block.activityX.tpl
*/
.block-type-activity p { margin-bottom: 15px; }
.block-type-activity .note { display: block; margin-bottom: 15px; color: #aaa; }
.block-type-activity .activity-settings-filter li { margin-bottom: 5px; }
/**
* @type profile
* @template 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 { vertical-align: top; max-width: 240px; }
.block-type-profile-photo .status { position: absolute; top: 10px; left: 0; padding: 0 0 0 10px; font-size: 11px; line-height: 18px; height: 20px; }
.block-type-profile-photo .status:before { content: ''; position: absolute; top: 0; right: -20px; width: 0; height: 0; border-width: 10px; border-style: solid; border-color: #333; border-color: #333 transparent #333 #333; }
.block-type-profile-photo .status.status-online { background: #8961e4; color: #fff; }
.block-type-profile-photo .status.status-online:before { border-color: #8961e4 transparent #8961e4 #8961e4; }
.block-type-profile-photo .status.status-offline { background: #fff; color: #333; opacity: .5; filter: alpha(opacity=50); }
.block-type-profile-photo .status.status-offline:before { border-color: #fff transparent #fff #fff; }
.block-type-profile-photo .upload-photo { padding: 10px 30px 15px 30px; background: #f8fbfe; font-size: 11px; }
.block-type-profile-photo .upload-photo a { color: #727a90; border-color: #727a90; }
/**
* @type profile note
* @template blocks/block.profileNote.tpl
*/
.block-type-profile-note { border: none; margin-bottom: 0; }
/**
* @type profile nav
* @template blocks/block.profileNav.tpl
*/
.block.block-type-profile-nav { padding: 0; background: none; border: none; }
/**
* @type profile actions
* @template blocks/block.profileActions.tpl
*/
.block.block-type-profile-actions { border: none; }
.block.block-type-profile-actions .block-content { padding: 0 0 0 30px; }
.block.block-type-profile-actions ul li { margin-bottom: 5px; font-size: 11px; }
.block.block-type-profile-actions ul li:last-child { margin-bottom: 0; }
.block.block-type-profile-actions ul li a { color: #727a90; }
.block.block-type-profile-actions ul li a:hover { color: #f00; }
.block.block-type-profile-actions ul li a.followed { color: #f00; }
/**
* @type blog
* @template blocks/block.blog.tpl
*/
.block-type-blog {
border-radius: 5px;
padding: 10px;
border-bottom: none;
background: #ffffff;
background: -moz-linear-gradient(top, #ffffff 0%, #f9fbfb 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f9fbfb));
background: -webkit-linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
background: linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9fbfb',GradientType=0 );
}
.block-type-blog .block-header { margin-bottom: 0; padding: 0 7px 10px; }
.block-type-blog .block-header .block-title { font-size: 19px; }
.block-type-blog .block-header .block-title a { color: #275ec2; text-decoration: underline; }
.block-type-blog .block-header .block-title a:hover { color: #f00; }
.block-type-blog .block-content { padding: 0 7px; }
.block-type-blog .block-footer { font-size: 11px; }
.block-type-blog .block-footer a { color: #727a90; margin-left: 7px; }
.block-type-blog .block-footer a:hover { color: #f00; }
/**
* @type blog categories
* @template blocks/block.blogCategories.tpl
*/
.block-type-blog-categories .block-header .blog-categories-admin { position: absolute; top: 7px; right: 0; opacity: .3; }
.block-type-blog-categories .block-header .blog-categories-admin:hover { opacity: 1; }
/**
* @type blog add
* @template blocks/block.blogAdd.tpl
*/
.block.block-type-blog-add {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border: 1px solid #D9E3EC;
background: #F1F7FD;
padding: 20px 15px;
text-align: center;
}
.block.block-type-blog-add p { margin-bottom: 25px; }
/**
* @type blog navigation
* @template blocks/block.blogNav.tpl
*/
.block-type-blog-navigation p { margin-bottom: 15px; }
.block-type-blog-navigation .blog-navigator-categories option:first-child { color: #aaa; }

View file

@ -1,59 +0,0 @@
/**
* Блог
*
* @template actions/ActionBlog/blog.tpl
*/
.blog { margin-bottom: 15px; }
.blog.open .blog-short-info { background: #f8fbfe; border-color: #e8eef5; border-radius: 5px 5px 0 0; }
/* Хидер */
.blog-header { position: relative; padding-right: 150px; padding-left: 40px; margin-bottom: 20px; min-height: 30px; }
.blog-header .blog-title { margin: 0; }
.blog-header .vote-topic { position: absolute; top: 3px; right: 15px; }
.blog-header .blog-avatar { position: absolute; top: 0; left: 0; width: 30px; height: 30px; }
/* Краткая информация */
.blog-short-info {
padding: 15px;
font-size: 11px;
overflow: hidden;
zoom: 1;
border-radius: 5px;
border-bottom: 1px solid transparent;
background: #f9fbfb;
background: -moz-linear-gradient(top, #ffffff 0%, #f9fbfb 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f9fbfb));
background: -webkit-linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
background: linear-gradient(top, #ffffff 0%,#f9fbfb 100%);
}
.blog-short-info-actions { float: right; }
.blog-short-info-actions .button { margin-left: 20px; }
.blog-short-info-actions a { margin-left: 14px; color: #727a90; }
.blog-short-info-actions a:hover { color: #f00; }
/* Полная информация */
.blog-full-info { display: none; }
/* Описание */
.blog-content { padding: 20px 25px; border-top: 1px solid #fff; background: #f8fbfe; border-top: 1px solid #fff; }
.blog-content h4 { margin-bottom: 5px; font: bold 13px Verdana; }
.blog-content .blog-description { margin-bottom: 50px; }
.blog-content .user-avatar { margin-right: 10px; }
/* Info */
.dotted-list.blog-info { width: 300px; margin-bottom: 50px; }
.dotted-list.blog-info .dotted-list-item-label,
.dotted-list.blog-info .dotted-list-item-value { background: #f8fbfe; }
.dotted-list.blog-info .dotted-list-item-value.blog-info-rating { color: #5fa459; }
/* Footer */
.blog-footer { padding: 20px 25px; background: #f1f7fd; font-size: 11px; border-radius: 0 0 5px 5px; }
.blog-footer .blog-rss { color: #727a90; }
.blog-footer .blog-admin { float: right; }

View file

@ -1,187 +0,0 @@
/**
* Buttons
*/
.button {
border-color: #dfe3e8;
border-radius: 5px;
color: #434343;
font-family: Verdana, sans-serif;
padding-bottom: 2px;
background: #fbfcfc;
background: -moz-linear-gradient(top, #fbfcfc 0%, #f0f2f5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfcfc), color-stop(100%,#f0f2f5));
background: -webkit-linear-gradient(top, #fbfcfc 0%,#f0f2f5 100%);
background: -o-linear-gradient(top, #fbfcfc 0%,#f0f2f5 100%);
background: -ms-linear-gradient(top, #fbfcfc 0%,#f0f2f5 100%);
background: linear-gradient(top, #fbfcfc 0%,#f0f2f5 100%);
}
.button:hover { background: #f0f2f5; color: #434343; }
.button:active,
.button.active {
background: #edf8fd;
color: #628fa5;
box-shadow: inset 0 1px 2px #b4d5e2;
border-color: #D1ECF7;
}
a.button { padding-top: 4px; }
.button i { top: 1px; }
.mozilla a.button { padding-top: 3px; }
.mozilla .button { padding-bottom: 3px; }
.mozilla .button i { top: 2px; }
.mozilla .button.button-icon i { top: 1px; }
/**
* Button Small
*/
.button-small { padding-bottom: 1px; }
.button-small i { top: 0; }
.mozilla .button-small { padding-bottom: 2px; }
.mozilla .button-small i { top: 1px; }
/**
* Button Large
*/
.button-large { padding-bottom: 1px; }
.button-large i { top: 1px; }
a.button-large { padding-top: 7px; }
.mozilla .button-large { padding-bottom: 2px; }
.mozilla a.button-large { padding-top: 6px; }
.mozilla .button-large i { top: 2px; }
.ie .button-large.button-icon i,
.webkit .button-large.button-icon i { top: 0; }
/* Button Primary */
.button-primary {
background: #2abcfe;
background: -moz-linear-gradient(top, #66cfff 0%, #2abcfe 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#66cfff), color-stop(100%,#2abcfe));
background: -webkit-linear-gradient(top, #66cfff 0%,#2abcfe 100%);
background: -o-linear-gradient(top, #66cfff 0%,#2abcfe 100%);
background: -ms-linear-gradient(top, #66cfff 0%,#2abcfe 100%);
background: linear-gradient(top, #66cfff 0%,#2abcfe 100%);
border-color: #27ace8;
color: #fff;
}
.button-primary:hover { background: #2abcfe; color: #fff; }
.button-primary:active,
.button-primary.active {
background: #2abcfe;
color: #fff;
box-shadow: inset 0 2px 3px rgba(0,0,0,.1);
border-color: #27ace8;
}
/* Button Write */
.button.button-write,
a.button.button-write {
background: #66cfff;
background: -moz-linear-gradient(top, #66cfff 0%, #2abcfe 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#66cfff), color-stop(100%,#2abcfe));
background: -webkit-linear-gradient(top, #66cfff 0%,#2abcfe 100%);
background: -o-linear-gradient(top, #66cfff 0%,#2abcfe 100%);
background: -ms-linear-gradient(top, #66cfff 0%,#2abcfe 100%);
background: linear-gradient(top, #66cfff 0%,#2abcfe 100%);
border: 1px solid #27ace8;
padding: 5px 15px 0;
border-radius: 15px;
color: #fff;
font-size: 11px;
}
.button.button-write:hover {
background: #4ec4ff;
background: -moz-linear-gradient(top, #4ec4ff 0%, #22b3fe 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4ec4ff), color-stop(100%,#22b3fe));
background: -webkit-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: -o-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: -ms-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
-webkit-box-shadow: 0 -1px 0 rgba(255, 255, 255, .5) inset;
-moz-box-shadow: 0 -1px 0 rgba(255, 255, 255, .5) inset;
box-shadow: 0 -1px 0 rgba(255, 255, 255, .5) inset;
}
/**
* Button Slide
*/
.button-slider { white-space: nowrap; }
.button-slider span { display: none; padding-left: 5px; }
.button-slider:hover span { display: inline; white-space: nowrap; }
/**
* Button Action
*/
.button-action {
border-color: #A9D3EE;
color: #5190B7;
background: #c8f5ff;
background: -moz-linear-gradient(top, #c8f5ff 0%, #88c4ea 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c8f5ff), color-stop(100%,#88c4ea));
background: -webkit-linear-gradient(top, #c8f5ff 0%,#88c4ea 100%);
background: -o-linear-gradient(top, #c8f5ff 0%,#88c4ea 100%);
background: -ms-linear-gradient(top, #c8f5ff 0%,#88c4ea 100%);
background: linear-gradient(top, #c8f5ff 0%,#88c4ea 100%);
}
.button-action.active,
.button-action:hover {
color: #fff;
border-color: #0362eb;
background: #228dfa;
background: -moz-linear-gradient(top, #228dfa 0%, #0362eb 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#228dfa), color-stop(100%,#0362eb));
background: -webkit-linear-gradient(top, #228dfa 0%,#0362eb 100%);
background: -o-linear-gradient(top, #228dfa 0%,#0362eb 100%);
background: -ms-linear-gradient(top, #228dfa 0%,#0362eb 100%);
background: linear-gradient(top, #228dfa 0%,#0362eb 100%);
}
.button-action-send-message:hover i { background: url(../images/icons/message-hover.png) 0 0 no-repeat; }
.button-action-join.active i,
.button-action-join:hover i { background: url(../images/icons/join-hover.png) 0 0 no-repeat; }
/**
* Button Note
*/
.button-note {
border-color: #B5F5BB;
background: #ccf4d0;
background: -webkit-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
background: -moz-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
background: -o-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
background: -ms-linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
background: linear-gradient(top, #e9fdea 0%,#ccf4d0 100%);
}
.button-note:hover {
border-color: #4ace56;
background: #4ace56;
background: -webkit-linear-gradient(top, #6ce777 0%,#4ace56 100%);
background: -moz-linear-gradient(top, #6ce777 0%,#4ace56 100%);
background: -o-linear-gradient(top, #6ce777 0%,#4ace56 100%);
background: -ms-linear-gradient(top, #6ce777 0%,#4ace56 100%);
background: linear-gradient(top, #6ce777 0%,#4ace56 100%);
cursor: help;
}
.button-note:hover i { background-image: url(../images/icons/user-note-hover.png); }

View file

@ -1,171 +0,0 @@
/**
* Комментарии
*
* @template comments/*.tpl
*/
/* Блок с комментариями */
.comments { margin-bottom: 30px; }
.comments-header { margin-bottom: 10px; position: relative; }
.comments-header h3 { font-size: 27px; margin-bottom: 5px; }
.comments-header .comments-subscribe { position: absolute; top: 15px; right: 0; font-size: 11px; color: #7b848d; }
.comments-header .comments-subscribe input { top: 2px; }
/* Вспомогательный блок-обертка */
.comment-wrapper { position: relative; }
.comment-wrapper .comment-wrapper { padding-left: 40px; }
/* Предпросмотр текста */
.comment-preview { padding: 5px 10px 6px; margin: 0 0 10px 0; border: 1px solid #eee; border-radius: 3px; font-size: 13px; line-height: 1.6em; }
.comment-wrapper .comment-preview { margin-left: 80px; }
/**
* Комментарий
*
* @template comments/comment.tpl
*/
.comment { min-height: 48px; margin-bottom: 10px; padding: 10px 0 0 0; position: relative; }
/* Аватар */
.comment-avatar { position: absolute; top: 8px; left: 0; width: 24px; height: 24px; }
/* Кнопка сворачивания ветки комментариев */
.comment-folding {
width: 13px;
height: 13px;
position: absolute;
top: 13px;
left: -20px;
background-repeat: no-repeat;
background-image: url(../images/icons/folding.png);
cursor: pointer;
}
.comment-folding.folded { background-image: url(../images/icons/folding-active.png); }
/* Информация */
.comment-info { padding: 0 70px 0 0; margin-bottom: 10px; margin-left: 33px; line-height: 17px; position: relative; overflow: hidden; zoom: 1; font-size: 11px; }
.comment-info li { float: left; height: 20px; margin-right: 13px; }
.comment-info .comment-author a { font-weight: bold; color: #727fa0; }
.comment-info .comment-author.comment-topic-author a { color: #4b5468; }
.comment-info .comment-author.comment-topic-author {
background: rgb(254,255,163);
background: -moz-linear-gradient(left, rgba(254,255,163,1) 0%, rgba(255,255,255,1) 100%);
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(254,255,163,1)), color-stop(100%,rgba(255,255,255,1)));
background: -webkit-linear-gradient(left, rgba(254,255,163,1) 0%,rgba(255,255,255,1) 100%);
background: -o-linear-gradient(left, rgba(254,255,163,1) 0%,rgba(255,255,255,1) 100%);
background: -ms-linear-gradient(left, rgba(254,255,163,1) 0%,rgba(255,255,255,1) 100%);
background: linear-gradient(to right, rgba(254,255,163,1) 0%,rgba(255,255,255,1) 100%);
padding-left: 7px;
}
.comment-info .comment-date { color: #818189; }
.comment-info .comment-favourite { position: relative; top: 1px; }
.comment-info .comment-link { position: relative; top: 1px; }
.comment-info .comment-goto a { color: #a2b6cd; text-decoration: none; }
.comment-info .comment-goto-child { display: none; }
.comment-info .favourite-count { color: #a2b6cd; }
/* Голосование */
.comment-info .vote { position: absolute; top: 0; right: 0; margin: 0; }
.comment-info .vote .vote-count { float: left; color: #949aa1; font-weight: bold; line-height: 19px; margin-right: 6px; }
.comment-info .vote .vote-down { float: left; width: 20px; height: 20px; background: url(../images/icons/vote-comment-down.png) no-repeat; cursor: pointer; margin-left: 4px; }
.comment-info .vote .vote-down:hover { background-image: url(../images/icons/vote-comment-down-hover.png); }
.comment-info .vote .vote-up { float: left; width: 20px; height: 20px; background: url(../images/icons/vote-comment-up.png) no-repeat; cursor: pointer; margin-left: 4px; }
.comment-info .vote .vote-up:hover { background-image: url(../images/icons/vote-comment-up-hover.png); }
.comment-info .vote.vote-count-positive .vote-count { color: #51983c; }
.comment-info .vote.vote-count-negative .vote-count { color: #da4242; }
.comment-info .vote.voted-up .vote-down { display: none; }
.comment-info .vote.voted-up .vote-up { background-image: url(../images/icons/vote-comment-up-active.png); }
.comment-info .vote.voted-down .vote-down { background-image: url(../images/icons/vote-comment-down-active.png); }
.comment-info .vote.voted-down .vote-up { display: none; }
.comment-info .vote.vote-expired .vote-up,
.comment-info .vote.vote-expired .vote-down { display: none; }
/* Содержимое комментария */
.comment-content { margin-bottom: 5px; padding: 9px 10px 10px; border: 1px solid #e7ebed; border-radius: 3px; position: relative; }
.comment-content:after,
.comment-content:before { display: block; content: ""; position: absolute; top: -11px; left: 50px; width: 0; height: 0; border-width: 6px; }
.comment-content:after { border-color: transparent transparent #e7ebed; border-style: solid; top: -12px; }
.comment-content:before { border-color: transparent transparent #fff; border-style: solid; z-index: 10; }
/* Кнопки */
.comment-actions li { display: inline; margin-right: 10px; font-size: 11px; }
.comment-actions .link-dotted { color: #727a90; }
.comment-actions .link-dotted:hover { color: #f00; }
/**
* Типы комментариев
*
* deleted Удаленный комментарий
* self Ваш комментарий
* new Новый, непрочитанный комментарий
* current Активный комментарий, который выделяется при исползование кнопки обновления в тулбаре
*/
.comment { background: #fff; }
.comment.comment-deleted .comment-content { background: #c5c5c5; border-color: #C8A8A8; }
.comment.comment-deleted .comment-content:after { border-color: transparent transparent #C8A8A8; }
.comment.comment-deleted .comment-content:before { border-color: transparent transparent #c5c5c5; }
.comment.comment-self .comment-content { background: #fefef1; border-color: #e6e6bd; }
.comment.comment-self .comment-content:after { border-color: transparent transparent #e6e6bd; }
.comment.comment-self .comment-content:before { border-color: transparent transparent #fefef1; }
.comment.comment-new .comment-content { background: #fff; border-color: #dddb5c; box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); }
.comment.comment-new .comment-content:after { border-color: transparent transparent #dddb5c; }
.comment.comment-new .comment-content:before { border-color: transparent transparent #fff; }
.comment.comment-current .comment-content { background: #cdf5a6; border-color: #bae48e; }
.comment.comment-current .comment-content:after { border-color: transparent transparent #bae48e; }
.comment.comment-current .comment-content:before { border-color: transparent transparent #cdf5a6; }
.comment.comment-bad .comment-content { opacity: 0.3; filter: alpha(opacity=30); }
.comment.comment-bad:hover .comment-content { opacity: 1; filter: alpha(opacity=100); }
.ls-user-role-not-admin .comment.comment-deleted { padding: 10px 15px; min-height: 0; background: #f7f7f7; color: #888; }
/**
* Форма комментирования
*
* @template comments/comment_tree.tpl
*/
.comment-reply-header { font-size: 20px; line-height: 1.3em; margin-bottom: 15px; }
.comment-reply { background: #f8fbfe; padding: 15px; border-radius: 5px; }
.comment-reply textarea { height: 150px; }
.comment-reply textarea.loading { background-image: url(../images/loader-circle.gif); }
.comment-wrapper .comment-reply { margin-left: 40px; }
/**
* Стили для списка комментариев
*
* @template comments/comment_list.tpl
*/
.comment.comment-list-item { margin-bottom: 20px; }
.comment.comment-list-item .vote .vote-up,
.comment.comment-list-item .vote .vote-down { display: none; }
.comment-path { font-size: 11px; color: #a2b6cd; }
.comment-path .comment-path-blog,
.comment-path .comment-path-comments { color: #000; }
.comment-path .comment-path-topic { color: #275ec2; }
/**
* Пагинация комментариев
*
* @template comments/comment_pagination.tpl
*/
.pagination.pagination-comments { margin-bottom: 20px; }

View file

@ -1,344 +0,0 @@
/**
* Общие стили
*/
/**
* Голосование
*/
.vote-topic { height: 24px; border-radius: 15px; overflow: hidden; font-size: 11px; float: left; zoom: 1; }
.vote-topic .vote-item {
cursor: pointer;
overflow: hidden;
display: block;
float: left;
height: 22px;
border: 1px solid #dfe3e8;
background: #fbfbfc;
background: -moz-linear-gradient(top, #fbfbfc 0%, #f0f2f5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfc), color-stop(100%,#f0f2f5));
background: -webkit-linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
background: -o-linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
background: -ms-linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
background: linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
}
.vote-topic .vote-item i { width: 16px; height: 16px; display: block; background-repeat: no-repeat; }
.vote-topic .vote-item span { display: block; border-right: 1px solid #fff; border-top: 1px solid #fefefe; }
.vote-topic .vote-item.vote-up { border-radius: 0 15px 15px 0; }
.vote-topic .vote-item.vote-up i { background-image: url(../images/icons/vote-up.png); }
.vote-topic .vote-item.vote-up span { padding: 2px 7px 3px 4px; border-radius: 0 15px 15px 0; }
.vote-topic.not-voted .vote-item.vote-up:hover {
background: #e4fae2;
background: -moz-linear-gradient(top, #e4fae2 0%, #b0e3ac 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4fae2), color-stop(100%,#b0e3ac));
background: -webkit-linear-gradient(top, #e4fae2 0%,#b0e3ac 100%);
background: -o-linear-gradient(top, #e4fae2 0%,#b0e3ac 100%);
background: -ms-linear-gradient(top, #e4fae2 0%,#b0e3ac 100%);
background: linear-gradient(top, #e4fae2 0%,#b0e3ac 100%);
border-color: #e4fae2 #ccefca #afe3ab;
}
.vote-topic.not-voted .vote-item.vote-up:hover i { background-image: url(../images/icons/vote-up-positive.png); }
.vote-topic.not-voted .vote-item.vote-up:hover span { border-color: transparent; }
.vote-topic .vote-item.vote-count { color: #628fa5; line-height: 23px; border-left: transparent; border-right: transparent; }
.vote-topic .vote-item.vote-count i { background-image: url(../images/icons/vote-abstain.png); margin-top: 1px; }
.vote-topic .vote-item.vote-count span { padding: 1px 4px 5px 5px; }
.topic .vote-topic.vote-not-self.not-voted.vote-not-expired .vote-item.vote-count:hover {
background: #4ec4ff;
background: -moz-linear-gradient(top, #4ec4ff 0%, #22b3fe 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4ec4ff), color-stop(100%,#22b3fe));
background: -webkit-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: -o-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: -ms-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
-webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3) inset;
box-shadow: 0 -1px 0 rgba(255,255,255,.3) inset;
border-color: #27ace8;
}
.vote-topic.not-voted .vote-item.vote-count:hover i { background-image: url(../images/icons/vote-abstain-hover.png); }
.vote-topic.not-voted .vote-item.vote-count:hover span { border-color: transparent; }
.vote-topic .vote-item.vote-down { border-radius: 15px 0 0 15px; }
.vote-topic .vote-item.vote-down i { background-image: url(../images/icons/vote-down.png); }
.vote-topic .vote-item.vote-down span { padding: 2px 4px 3px 7px; }
.vote-topic.not-voted .vote-item.vote-down:hover {
background: #ffc8c8;
background: -moz-linear-gradient(top, #ffc8c8 0%, #ff8181 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffc8c8), color-stop(100%,#ff8181));
background: -webkit-linear-gradient(top, #ffc8c8 0%,#ff8181 100%);
background: -o-linear-gradient(top, #ffc8c8 0%,#ff8181 100%);
background: -ms-linear-gradient(top, #ffc8c8 0%,#ff8181 100%);
background: linear-gradient(top, #ffc8c8 0%,#ff8181 100%);
border-color: #ffc8c8 #fea8a8 #ff8181;
}
.vote-topic.not-voted .vote-item.vote-down:hover i { background-image: url(../images/icons/vote-down-negative.png); }
.vote-topic.not-voted .vote-item.vote-down:hover span { border-color: transparent; }
.vote-topic.voted { -webkit-box-shadow: 0 2px 3px rgba(0,0,0,.2) inset; box-shadow: 0 2px 3px rgba(0,0,0,.2) inset; }
.vote-topic.voted-down { padding: 0; }
.vote-topic.voted-down .vote-item { border: none; background: none; }
.vote-topic.voted-down .vote-item span { border: none; }
.vote-topic.voted-down .vote-item.vote-down { display: none; }
.vote-topic.voted-down .vote-item.vote-up span { padding: 4px 8px 3px 4px; }
.vote-topic.voted-down .vote-item.vote-count { color: #da4242; }
.vote-topic.voted-down .vote-item.vote-count span { padding: 0 3px 0 10px !important; }
.vote-topic.vote-count-positive.voted-down .vote-item.vote-up i { background-image: url(../images/icons/vote-down-positive.png); }
.vote-topic.vote-count-negative.voted-down .vote-item.vote-up i { background-image: url(../images/icons/vote-down-negative.png); }
.vote-topic.voted-up { padding: 0; }
.vote-topic.voted-up .vote-item { border: none; background: none; }
.vote-topic.voted-up .vote-item span { border: none; }
.vote-topic.voted-up .vote-item.vote-down { display: none; }
.vote-topic.voted-up .vote-item.vote-up span { padding: 4px 8px 3px 4px; }
.vote-topic.voted-up .vote-item.vote-count { float: left; color: #5fa459; }
.vote-topic.voted-up .vote-item.vote-count span { padding: 0 3px 0 10px !important; }
.vote-topic.vote-count-positive.voted-up .vote-item.vote-up i { background-image: url(../images/icons/vote-up-positive.png); }
.vote-topic.vote-count-negative.voted-up .vote-item.vote-up i { background-image: url(../images/icons/vote-up-negative.png); }
.vote-topic.voted-zero { padding: 0; }
.vote-topic.voted-zero .vote-item { border: none; background: none; }
.vote-topic.voted-zero .vote-item span { border: none; }
.vote-topic.voted-zero .vote-item.vote-down { display: none; }
.vote-topic.voted-zero .vote-item.vote-up { }
.vote-topic.voted-zero .vote-item.vote-up i { width: 16px; background-image: url(../images/icons/vote-abstain.png); }
.vote-topic.voted-zero .vote-item.vote-up span { padding: 4px 8px 3px 4px; }
.vote-topic.voted-zero .vote-item.vote-count { float: left; color: #5fa459; }
.vote-topic.voted-zero .vote-item.vote-count span { padding: 0 3px 0 10px !important; }
.vote-topic.vote-count-positive.voted-zero .vote-item.vote-up i { background-image: url(../images/icons/vote-abstain-positive.png); }
.vote-topic.vote-count-negative.voted-zero .vote-item.vote-up i { background-image: url(../images/icons/vote-abstain-negative.png); }
.vote-topic.vote-count-positive.vote-nobuttons,
.vote-topic.vote-count-positive .vote-item.vote-count { -webkit-box-shadow: 0 2px 3px #acd7a7 inset; box-shadow: 0 2px 3px #acd7a7 inset; }
.vote-topic.vote-count-negative.vote-nobuttons,
.vote-topic.vote-count-negative .vote-item.vote-count { -webkit-box-shadow: 0 2px 3px #e95e5e inset; box-shadow: 0 2px 3px #e95e5e inset; }
.vote-topic.vote-count-zero.vote-nobuttons,
.vote-topic.vote-count-zero .vote-item.vote-count { -webkit-box-shadow: 0 2px 3px #b4d5e2 inset; box-shadow: 0 2px 3px #b4d5e2 inset; }
.vote-topic.vote-nobuttons { }
.vote-topic.vote-nobuttons .vote-item { border: none; }
.vote-topic.vote-nobuttons .vote-item span { border: none; }
.vote-topic.vote-nobuttons .vote-item.vote-up,
.vote-topic.vote-nobuttons .vote-item.vote-down { display: none; }
.vote-topic.vote-nobuttons .vote-item.vote-count { border-radius: 15px; padding: 0 5px; -webkit-box-shadow: none; box-shadow: none; }
.vote-topic.vote-count-positive .vote-item.vote-count { background: #def7dc; color: #5fa459; height: 24px; border: none; }
.vote-topic.vote-count-positive .vote-item.vote-count span { border: none; padding: 0 7px; }
.vote-topic.vote-count-positive.voted { background: #def7dc; }
.vote-topic.vote-count-positive.voted .vote-item.vote-count,
.vote-topic.vote-count-positive.vote-nobuttons .vote-item.vote-count { -webkit-box-shadow: none; box-shadow: none; background: none; }
.vote-topic.vote-count-positive.vote-nobuttons { background: #def7dc; }
.vote-topic.vote-count-negative .vote-item.vote-count { background: #ff8a8a; color: #da4242; height: 24px; border: none; }
.vote-topic.vote-count-negative .vote-item.vote-count span { border: none; padding: 0 7px; }
.vote-topic.vote-count-negative.voted { background: #ff8a8a; }
.vote-topic.vote-count-negative.voted .vote-item.vote-count,
.vote-topic.vote-count-negative.vote-nobuttons .vote-item.vote-count { -webkit-box-shadow: none; box-shadow: none; background: none; }
.vote-topic.vote-count-negative.vote-nobuttons { background: #ff8a8a; }
.vote-topic.vote-count-zero .vote-item.vote-count { background: #edf8fd; color: #628fa5; height: 24px; border: none; }
.vote-topic.vote-count-zero .vote-item.vote-count span { border: none; padding: 0 7px; }
.vote-topic.vote-count-zero.voted { background: #edf8fd; }
.vote-topic.vote-count-zero.voted .vote-item.vote-count,
.vote-topic.vote-count-zero.vote-nobuttons .vote-item.vote-count { -webkit-box-shadow: none; box-shadow: none; background: none; }
.vote-topic.vote-count-zero.vote-nobuttons { background: #edf8fd; }
/**
* Избранное
*/
.favourite { cursor: pointer; }
.favourite-toggle {
display: inline-block;
width: 11px;
height: 11px;
vertical-align: text-top;
background: url(../images/icons/favourite.png) no-repeat;
}
.favourite-toggle.active { background: url(../images/icons/favourite-active.png) no-repeat; }
.favourite-count { margin-left: 1px; font-size: 11px; line-height: 11px; position: relative; top: -1px; }
/**
* Пагинация
*
* @template pagination.tpl
* @template comments/comment_pagination.tpl
*/
.pagination { overflow: hidden; zoom: 1; color: #aaa; line-height: 1em; margin-top: 5px; }
.pagination--list { overflow: hidden; zoom: 1; float: left; margin-left: 50px; }
.pagination--list:first-child { margin-left: 0; }
.pagination--item { float: left; margin-right: 5px; }
.pagination--item-inner { float: left; padding: 4px 6px; }
.pagination--item.active .pagination--item-inner { color: #333; border: 1px solid #eee; border-radius: 4px; }
/**
* Actions
*/
.actions { overflow: hidden; zoom: 1; margin-bottom: 10px; font-size: 11px; }
.actions li { float: left; margin-right: 10px; }
/**
* Список пользователей
*/
.user-list-avatar { overflow: hidden; zoom: 1; }
.user-list-avatar li { width: 48px; overflow: hidden; float: left; margin-right: 12px; margin-bottom: 12px; text-align: center; font-size: 11px; }
.user-list-avatar li img { margin-bottom: 2px; display: block; }
.user-list-mini li { padding: 0 25px 4px 5px; margin-bottom: 0; position: relative; }
.user-list-mini li img { width: 17px; height: 17px; position: relative; top: 4px; margin-right: 2px; }
.user-list-mini li input { position: relative; top: 2px; }
.user-list-mini li i { position: absolute; top: 4px; right: 5px; cursor: pointer; display: none; }
.user-list-mini li:hover { background: #fcfce9; }
.user-list-mini li:hover i { display: block; }
/**
* Облако тегов
*/
.tag-cloud { text-align: center; width: 100%; }
.tag-cloud li { display: inline; margin-right: 5px; line-height: 22px; }
.tag-cloud li a { color: #727a90; }
.tag-cloud li a:hover { color: #f00; }
.tag-cloud li .tag-size-1 { font-size: 12px; }
.tag-cloud li .tag-size-2 { font-size: 12px; }
.tag-cloud li .tag-size-3 { font-size: 14px; }
.tag-cloud li .tag-size-4 { font-size: 14px; }
.tag-cloud li .tag-size-5 { font-size: 18px; }
.tag-cloud li .tag-size-6 { font-size: 18px; }
.tag-cloud li .tag-size-7 { font-size: 20px; }
.tag-cloud li .tag-size-8 { font-size: 20px; }
.tag-cloud li .tag-size-9 { font-size: 22px; }
.tag-cloud li .tag-size-10 { font-size: 22px; }
/**
* Item List
*/
.item-list { border-top: 1px solid #eee; }
.item-list li { min-height: 51px; padding: 7px 0 10px 58px; border-bottom: 1px solid #eee; position: relative; zoom: 1; }
.item-list li p { padding-top: 2px; font-size: 11px; }
.item-list li a { text-decoration: none; }
.item-list li .avatar { position: absolute; top: 10px; left: 0; margin-right: 10px; }
.item-list li .author { font-weight: bold; color: #333; }
.item-list li .blog-name { font-weight: bold; }
/**
* Хелперы
*/
.wrapper { overflow: hidden; zoom: 1; }
.wrapper-content { padding: 20px 20px; background: #f8fbfe; }
.wrapper-content h3 { font-size: 15px; margin-bottom: 10px; font-family: Verdana, sans-serif; }
.wrapper-content.wrapper-content-dark { padding: 15px 20px; background: #f1f7fd; }
/**
* Разное
*/
.notice-empty { color: #aaa; }
.user, .ls-user { font-weight: bold; color: #333; }
.ls-user { display: inline-block; }
.user:before, .ls-user:before {
content: '';
display: inline-block;
width: 12px;
height: 12px;
margin-right: 4px;
background: url(../images/icons/ls-user.png) no-repeat;
vertical-align: middle;
position: relative;
top: -1px;
}
.user .icon-user { margin-right: 3px; }
.username.inactive,
.user.inactive { color: #aaa !important; cursor: help; }
.user-avatar img { width: 16px; height: 16px; vertical-align: middle; margin-right: 1px; }
.user-avatar a { color: #000; font-size: 11px; }
.user-avatar.user-avatar-n a { color: #3F8AD7; font-size: 12px; }
.counter.exceeded { color: #f00; }
.page-header-menu { overflow: hidden; zoom: 1; margin-bottom: 10px; }
.page-header-menu .page-header { float: left; margin-right: 20px; margin-bottom: 10px; }
.page-header-menu .nav.nav-pills { margin-top: 5px; float: left; }
.blog-list-info { width: 19px; height: 19px; display: inline-block; background-repeat: no-repeat; background-image: url(../images/icons/dropdown.png); cursor: pointer; }
.blog-list-info:hover,
.blog-list-info.open { background-image: url(../images/icons/dropdown-hover.png); }
/**
* More
*/
.get-more {
margin-top: 30px;
border-radius: 5px;
display: block;
text-align: center;
padding: 12px 0;
color: #258fa7;
text-decoration: none;
cursor: pointer;
background: #eefbfc;
background: -moz-linear-gradient(top, #eefbfc 0%, #d3edf8 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eefbfc), color-stop(100%,#d3edf8));
background: -webkit-linear-gradient(top, #eefbfc 0%,#d3edf8 100%);
background: -o-linear-gradient(top, #eefbfc 0%,#d3edf8 100%);
background: -ms-linear-gradient(top, #eefbfc 0%,#d3edf8 100%);
background: linear-gradient(top, #eefbfc 0%,#d3edf8 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eefbfc', endColorstr='#d3edf8',GradientType=0 );
}
.get-more:hover { background: #eefbfc; color: #258fa7; }
.get-more.loading { background: #eefbfc url(../images/loader.gif) 50% 50% no-repeat; text-indent: -9999px; }
/**
* Вложенный список
*/
.nested-list .nested-list-item { margin-bottom: 3px; }
.nested-list .nested-list-item a { display: block; margin-bottom: 1px; padding: 5px 10px; border-radius: 3px; }
.nested-list .nested-list-item.active a { color: #fff; text-decoration: none; background: #3ABCFF; }
/**
* Список с пунктиром
*/
.dotted-list { margin-bottom: 50px; }
.dotted-list-item { margin-bottom: 5px; position: relative; overflow: hidden; }
.dotted-list-item:after { content: ""; position: absolute; top: 14px; left: 0; width: 100%; height: 0; border-bottom: 1px dotted #bbb; z-index: 5; }
.dotted-list-item-label { padding-right: 3px; float: left; background: #fff; position: relative; z-index: 10; }
.dotted-list-item-value { padding-left: 3px; float: right; width: 190px; font-weight: normal; background: #fff; position: relative; z-index: 10; }
/**
* Progress Bar
*/
.progress-bar { height: 25px; width: 100%; background: #8BC4E0; color: #fff; overflow: hidden; position: relative; border-radius: 3px; }
.progress-bar-value {
height: 25px;
background: #149bdf;
background: -moz-linear-gradient(top, #149bdf 0%, #0480be 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, #149bdf), color-stop(100%, #0480be));
background: -webkit-linear-gradient(top, #149bdf 0%, #0480be 100%);
background: -o-linear-gradient(top, #149bdf 0%, #0480be 100%);
background: -ms-linear-gradient(top, #149bdf 0%, #0480be 100%);
background: linear-gradient(to bottom, #149bdf 0%, #0480be 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#149bdf', endColorstr='#0480be', GradientType=0 );
}
.progress-bar-label { height: 25px; width: 100%; line-height: 25px; text-align: center; position: absolute; top: 0; left: 0; color: #fff; }

View file

@ -1,104 +0,0 @@
/**
* Dropdowns
*/
.dropdown {
margin-bottom: 15px;
font-size: 11px;
margin-right: 10px;
border: 1px solid #ebf0f4;
line-height: 13px;
border-radius: 5px;
padding: 3px 6px 4px;
background: #fff;
color: #727a90;
text-decoration: none;
min-height: 10px;
cursor: pointer;
}
.dropdown:hover { background: #fff; }
.dropdown i { position: relative; top: 2px; }
.dropdown.open { border-color: #ebf0f4; color: #628fa5; background: #fff; }
/* Menu */
.dropdown-menu {
padding: 5px 15px 8px;
border: 3px solid #edf8fd;
border-radius: 10px;
-webkit-box-shadow: 0 0 10px rgba(0,0,0,.5);
box-shadow: 0 0 10px rgba(0,0,0,.5);
position: absolute;
top: 32px;
overflow: hidden;
z-index: 10;
background: #fff;
min-width: 150px;
}
.dropdown-menu > li { overflow: hidden; line-height: 1em; }
.dropdown-menu > li > a { display: block; padding: 8px 0; white-space: nowrap; }
.dropdown-menu > li.active > a { background: #fff; color: #aaa; }
.dropdown-menu > li > a:hover { background: #fff; color: #aaa; }
.dropdown-menu > li.divider { height: 0; border-top: 1px solid #e1e1e1; margin: 5px 0; }
/**
* Userbar dropdown
*
* @template layouts/layout.base.tpl
*/
.dropdown-user-menu { width: 203px; display: none; position: absolute; background: #1d1d1d; border: none; border-top: 1px solid #000; border-radius: 0 0 10px 10px; -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, .5); box-shadow: 0 0 7px rgba(0, 0, 0, .5); z-index: 30; }
.dropdown-user-menu li { border-bottom: 1px solid #000; border-top: 1px solid #393939; position: relative; }
.dropdown-user-menu li:last-child { border-bottom: none; }
.dropdown-user-menu li:last-child a { border-radius: 0 0 10px 10px; }
.dropdown-user-menu li.item-stat {
padding: 20px 17px;
font-size: 11px;
background: #191919;
background: -moz-linear-gradient(top, #191919 0%, #191919 85%, #131313 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, #191919), color-stop(85%, #191919), color-stop(100%, #131313));
background: -webkit-linear-gradient(top, #191919 0%, #191919 85%, #131313 100%);
background: -o-linear-gradient(top, #191919 0%, #191919 85%, #131313 100%);
background: -ms-linear-gradient(top, #191919 0%, #191919 85%, #131313 100%);
background: linear-gradient(to bottom, #191919 0%, #191919 85%, #131313 100%);
}
.dropdown-user-menu li.item-stat .rating { color: #93d3f2; }
.dropdown-user-menu li.item-stat .rating.negative { color: #d95f5f; }
.dropdown-user-menu li.item-stat .rating i { position: relative; top: 2px; }
.dropdown-user-menu li a { display: block; zoom: 1; height: 50px; padding: 0 10px 0 55px; line-height: 50px; color: #fff; text-decoration: none; }
.dropdown-user-menu li a:hover { background: #093357; color: #fff; }
.dropdown-user-menu li .item-icon { position: absolute; top: 15px; left: 17px; width: 21px; height: 21px; background-repeat: no-repeat; }
.dropdown-user-menu li.item-messages .item-icon { background-image: url(../images/icons/userbar-messages.png); }
.dropdown-user-menu li.item-profile .item-icon { background-image: url(../images/icons/userbar-user.png); }
.dropdown-user-menu li.item-settings .item-icon { background-image: url(../images/icons/userbar-settings.png); }
.dropdown-user-menu li.item-create .item-icon { background-image: url(../images/icons/userbar-add.png); }
.dropdown-user-menu li.item-signout .item-icon { background-image: url(../images/icons/userbar-logout.png); }
.dropdown-user-menu li.item-favourite .item-icon { background-image: url(../images/icons/userbar-favourite.png); }
.dropdown-user-menu li.item-messages .new { position: absolute; top: 15px; right: 7px; cursor: pointer; color: #fff; border-radius: 15px; border: 2px solid #eabe21; line-height: 1em; padding: 2px 7px 3px; }
/* Create
-------------------------------------------*/
.dropdown-create { margin-right: 120px; line-height: 23px; }
.dropdown-create a { font-weight: normal; }
.dropdown-create h2 a { text-transform: lowercase; display: inline-block; }
.dropdown-menu-create { padding: 10px 15px 15px; border: 3px solid #edf8fd; border-radius: 10px; -webkit-box-shadow: 0 0 10px rgba(0,0,0,.5); box-shadow: 0 0 10px rgba(0,0,0,.5); position: absolute; background: #fff; min-width: 150px; z-index: 10; font-family: 'PT Sans', sans-serif; font-size: 27px; text-transform: lowercase; }
.dropdown-menu-create li { line-height: 1em; margin-bottom: 10px; }
.dropdown-menu-create li:last-child { margin: 0; }
.dropdown-menu-create li a { color: #275ec2; text-decoration: none; border-bottom: 1px solid #275ec2; display: inline-block; }
.dropdown-menu-create li a:hover { color: #f00; border-color: #f00; }
.dropdown-menu-create li.active a { color: #aaa; border-color: #aaa; }
/* Nav main
-------------------------------------------*/
.nav.nav-main .dropdown-nav-main { display: inline; float: none; border: 1px solid #595959; border-radius: 3px; padding: 0 5px 2px; position: relative; padding-right: 15px; }
.nav.nav-main .dropdown-nav-main.dropdown-toggle { padding-right: 16px !important; }
.nav.nav-main .dropdown-nav-main.dropdown-toggle:after { border-width: 3px; right: 5px; }
.dropdown-menu.dropdown-menu-nav-main { background: #090909; border: 1px solid #333; min-width: 100px; }
.dropdown-menu.dropdown-menu-nav-main li a { color: #cfcfcf; text-decoration: none; }
.dropdown-menu.dropdown-menu-nav-main li a:hover { color: #aaa; background: none; }
.dropdown-menu.dropdown-menu-nav-main li.active a { color: #aed6e9; background: none; }

View file

@ -1,223 +0,0 @@
/**
* Формы
*/
button,
input,
select,
textarea {
font-family: Verdana, sans-serif;
}
/* Input Text */
textarea,
input[type="text"],
input[type="password"],
.input-text {
padding: 5px 5px 6px;
border: 1px solid #c9c9c9;
-webkit-box-shadow: 0 2px 4px rgba(0,0,0,.07) inset;
box-shadow: 0 2px 4px rgba(0,0,0,.07) inset;
border-radius: 3px;
vertical-align: middle;
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
.input-text:focus { border-color: #57BCEB; -webkit-box-shadow: 0 2px 4px rgba(0,0,0,.07) inset, 0 0 3px #00A8FF; box-shadow: 0 2px 4px rgba(0,0,0,.07) inset, 0 0 3px #00A8FF; outline: none; }
select { padding: 4px; border: 1px solid #ddd; border-radius: 3px; }
fieldset { margin-bottom: 30px; padding-top: 20px; border-top: 1px solid #eaeaea; }
fieldset legend { color: #000; font-size: 18px; padding-right: 10px; }
form p { margin-bottom: 20px; }
form label { display: block; margin-bottom: 3px; }
form .icon-question-sign { cursor: help; }
.note { display: block; margin-top: 3px; font-size: 11px; line-height: 16px; color: #aaa; }
.note.note-header { margin-bottom: 20px; }
.captcha-image { vertical-align: top; }
.counter-wrapper { margin-bottom: 15px; position: relative; }
.counter-wrapper .counter { color: #777; position: absolute; top: 0; right: 0; }
.counter-wrapper label { margin-right: 50px; }
dl.form-item { overflow: hidden; zoom: 1; margin-bottom: 20px; }
dl.form-item dt { float: left; width: 125px; padding-top: 4px; padding-right: 15px; overflow: hidden; }
dl.form-item dd { float: left; width: 250px; }
.form-profile { position: relative; }
.form-profile .avatar-change { position: absolute; top: 20px; right: 20px; font-size: 11px; }
.form-profile .avatar-change .avatar { width: 80px; border-radius: 5px; margin-bottom: 10px; background: #fff; padding: 5px; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); box-shadow: 0 0 5px rgba(0,0,0,.2); }
.form-profile .avatar-change img { width: 80px; vertical-align: top; }
.form-profile .avatar-change a { color: #727a90; border-color: #727a90; }
/* Валидатор
---------------------------------------------------------------*/
.validate-error-hide { display: none; }
.validate-error-show {
display: block;
line-height: 16px;
position: relative;
padding: 10px 15px 12px 38px;
background: #fefef1 url(../images/error.png) 15px 12px no-repeat;
color: #363636;
margin-top: 13px;
font-size: 12px;
border-radius: 3px;
-webkit-box-shadow: 0 1px 5px #e8e8c0 inset; box-shadow: 0 1px 5px #e8e8c0 inset;
}
.validate-error-show:after {
content: "";
position: absolute;
top: 12px;
left: 15px;
width: 15px;
height: 14px;
background: url(../images/icons/validation-error.png) 0 0 no-repeat;
}
.validate-error-show:before {
content: "";
position: absolute;
top: -12px;
left: 15px;
width: 0;
height: 0;
border-width: 6px;
border-color: transparent transparent #F2F2DD transparent;
border-style: solid;
}
/**
* Блок редактирования аватара
*
* @template actions/ActionSettings/profile.tpl
*/
.avatar-edit { margin-bottom: 15px; }
.avatar-edit img { vertical-align: bottom; }
.avatar-edit label { margin-top: 10px; }
/**
* Справка по разметке редактора
*
* @template editor_help.tpl
*/
.editor-help header { margin-bottom: 20px; }
.editor-help header a { font-size: 11px; color: #000; border-color: #000; }
.editor-help-body {
display: none;
position: relative;
padding: 15px 20px;
margin-bottom: 20px;
background: #fefef1;
color: #363636;
margin-top: 13px;
font-size: 11px;
border-radius: 3px;
-webkit-box-shadow: 0 0 5px #e8e8c0 inset;
box-shadow: 0 0 5px #e8e8c0 inset;
}
.editor-help-body:before {
display: block;
content: "";
position: absolute;
top: -12px;
left: 15px;
width: 0;
height: 0;
border-width: 6px;
border-color: transparent transparent #F2F2DD transparent;
border-style: solid;
}
.editor-help-body h3 { font-size: 18px; font-weight: bold; margin-bottom: 10px; }
.editor-help-col { float: left; width: 47%; margin-left: 6%; }
.editor-help-col:first-child { margin-left: 0; }
.editor-help-item { margin-bottom: 20px; }
.editor-help-item:last-child { margin-bottom: 0; }
.editor-help-item h4 { font-family: Verdana, sans-serif; font-size: 11px; color: #727a90; font-weight: bold; }
.editor-help-item h4 a { color: #727a90; border-bottom: 1px dotted #727a90; }
/**
* Форма регистрации
*
* @template form.auth.signup.tpl
*/
.form-signup p i { position: relative; top: -1px; }
.form-signup p.form-signup-field-submit { margin: 0; }
/* Стили для формы регистрации расположенной на отдельной странице */
.form-signup-page { background: #f8fbfe; border-radius: 5px; padding: 10px 0; }
.form-signup-page p { padding: 10px 20px; margin-bottom: 0; overflow: hidden; position: relative; }
.form-signup-page p.form-signup-field-captcha { padding: 20px 20px; margin: 10px 0; background: #f1f7fd; }
.form-signup-page p.form-signup-field-submit { padding: 10px 20px 10px 170px; }
.form-signup-page p label { float: left; width: 135px; padding: 4px 15px 0 0; }
.form-signup-page p small { margin-left: 150px; width: 247px; }
.form-signup-page p i { top: -4px; }
.form-signup-page p .icon-validation-success { position: absolute; top: 14px; left: 545px; }
.form-signup-page p .icon-validation-success:after {
width: 64px;
height: 0;
content: "";
position: absolute;
top: 9px;
right: 20px;
border-bottom: 1px dotted #D2D5D9;
}
/**
* Форма поиска
*
* @template forms/form.search.base.tpl
*/
.search-form { margin-bottom: 35px; padding: 15px; background: #f8fbfe; border-radius: 5px; }
.search-form-search { position: relative; }
.search-form-input[type="text"] { padding-right: 25px; }
.search-form-submit {
position: absolute;
top: 3px;
right: 3px;
width: 22px;
height: 22px;
border: none;
background: url(../images/icons/submit.png) no-repeat;
cursor: pointer;
}
.search-form-submit:hover { background-image: url(../images/icons/submit-hover.png); }
.search-form-submit:active { background-image: url(../images/icons/submit-active.png); }
.search-form-alphabet { overflow: hidden; zoom: 1; margin-top: 15px; }
.search-form-alphabet li { float: left; }
.search-form-alphabet li a { float: left; color: #727a90; text-decoration: none; padding: 1px 5px; border-radius: 3px; }
.search-form-alphabet li a span { border-bottom: 1px dotted #727a90; }
.search-form-alphabet li a:hover { background: #64ceff; color: #fff; }
.search-form-alphabet li a:hover span { border: none; }
.search-form-alphabet li.active a { color: #333; }
.search-form-alphabet li.active a:hover { color: #333; background: none; }
.search-form-alphabet li.active a span { border: none; }
/**
* Форма авторизации
*
* @template forms/form.auth.*.tpl
*/
.form-auth-captcha {
width: 80px;
height: 60px;
display: inline-block;
vertical-align: top;
cursor: pointer;
background-repeat: no-repeat;
background-color: #eee;
}

View file

@ -1,50 +0,0 @@
/**
* Сетка
*
* @template layout.base.tpl
*/
#container { margin: 0 auto; margin-bottom: 20px; padding: 0 48px; }
#header-back { position: absolute; top: 0; left: 0; width: 100%; height: 51px; background: #090909; }
#header { background: #090909; height: 51px; margin: 0 auto; position: relative; padding-right: 270px; }
#nav {
min-height: 28px;
margin-bottom: 32px;
overflow: hidden;
padding: 15px 17px;
-webkit-box-shadow: 0 0 10px rgba(0,0,0,.15); box-shadow: 0 0 10px rgba(0,0,0,.15);
border-radius: 0 0 10px 10px;
position: relative;
background: #fdfdfd;
background: -moz-linear-gradient(top, #fdfdfd 0%, #f6f8f9 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f6f8f9));
background: -webkit-linear-gradient(top, #fdfdfd 0%,#f6f8f9 100%);
background: -o-linear-gradient(top, #fdfdfd 0%,#f6f8f9 100%);
background: -ms-linear-gradient(top, #fdfdfd 0%,#f6f8f9 100%);
background: linear-gradient(top, #fdfdfd 0%,#f6f8f9 100%);
}
#wrapper {
overflow: hidden;
zoom: 1;
padding: 20px 16px 20px 27px;
margin-bottom: 60px;
background: #fff;
border-bottom: 1px solid #eee;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.05);
box-shadow: 0 0 5px rgba(0,0,0,.05);
border-radius: 10px;
}
#wrapper { position: relative; }
#wrapper:after { position: absolute; content: ""; top: 0; bottom: 0; right: 276px; width: 0; border-left: 1px solid #f1f3f5; z-index: 10; }
#content-wrapper { float: left; width: 100%; margin-right: -295px; }
#content { margin-right: 295px; background: #fff; position: relative; }
#sidebar { float: right; width: 240px; position: relative; z-index: 1; }
#footer { overflow: hidden; zoom: 1; margin-bottom: 20px; padding: 0 0 50px 30px; font-size: 11px; }
#container.no-sidebar #wrapper:after { display: none; }
#container.no-sidebar #content { width: 100%; margin-right: 0; }
#container.no-sidebar #content-wrapper { margin-right: 0; }
#container.toolbar-margin { padding: 0; }
#container.toolbar-margin #wrapper { margin-right: 48px; }

View file

@ -1,223 +0,0 @@
/**
* Иконки
*
* Иконки Glyphicons
* http://glyphicons.com/
*
* Пример использования:
*
* <a href="#"><i class="icon icon-remove"></i> Remove</a>
*/
[class^="icon-"],
[class*=" icon-"] {
display: inline-block;
vertical-align: text-top;
width: 14px;
height: 14px;
line-height: 14px;
background: url(../images/icons.png) no-repeat;
}
[class^="icon-synio-"],
[class*=" icon-synio-"] {
background-repeat: no-repeat;
}
.icon-white { background-image: url(../images/icons-white.png); }
.icon-glass { background-position: 0 0; }
.icon-music { background-position: -24px 0; }
.icon-search { background-position: -48px 0; }
.icon-envelope { background-position: -72px 0; }
.icon-heart { background-position: -96px 0; }
.icon-star { background-position: -120px 0; }
.icon-star-empty { background-position: -144px 0; }
.icon-user { background-position: -168px 0; }
.icon-film { background-position: -192px 0; }
.icon-th-large { background-position: -216px 0; }
.icon-th { background-position: -240px 0; }
.icon-th-list { background-position: -264px 0; }
.icon-ok { background-position: -288px 0; }
.icon-remove { background-position: -312px 0; }
.icon-zoom-in { background-position: -336px 0; }
.icon-zoom-out { background-position: -360px 0; }
.icon-off { background-position: -384px 0; }
.icon-signal { background-position: -408px 0; }
.icon-cog { background-position: -432px 0; }
.icon-trash { background-position: -456px 0; }
.icon-home { background-position: 0 -24px; }
.icon-file { background-position: -24px -24px; }
.icon-time { background-position: -48px -24px; }
.icon-road { background-position: -72px -24px; }
.icon-download-alt { background-position: -96px -24px; }
.icon-download { background-position: -120px -24px; }
.icon-upload { background-position: -144px -24px; }
.icon-inbox { background-position: -168px -24px; }
.icon-play-circle { background-position: -192px -24px; }
.icon-repeat { background-position: -216px -24px; }
.icon-refresh { background-position: -240px -24px; }
.icon-list-alt { background-position: -264px -24px; }
.icon-lock { background-position: -287px -24px; }
.icon-flag { background-position: -312px -24px; }
.icon-headphones { background-position: -336px -24px; }
.icon-volume-off { background-position: -360px -24px; }
.icon-volume-down { background-position: -384px -24px; }
.icon-volume-up { background-position: -408px -24px; }
.icon-qrcode { background-position: -432px -24px; }
.icon-barcode { background-position: -456px -24px; }
.icon-tag { background-position: 0 -48px; }
.icon-tags { background-position: -25px -48px; }
.icon-book { background-position: -48px -48px; }
.icon-bookmark { background-position: -72px -48px; }
.icon-print { background-position: -96px -48px; }
.icon-camera { background-position: -120px -48px; }
.icon-font { background-position: -144px -48px; }
.icon-bold { background-position: -167px -48px; }
.icon-italic { background-position: -192px -48px; }
.icon-text-height { background-position: -216px -48px; }
.icon-text-width { background-position: -240px -48px; }
.icon-align-left { background-position: -264px -48px; }
.icon-align-center { background-position: -288px -48px; }
.icon-align-right { background-position: -312px -48px; }
.icon-align-justify { background-position: -336px -48px; }
.icon-list { background-position: -360px -48px; }
.icon-indent-left { background-position: -384px -48px; }
.icon-indent-right { background-position: -408px -48px; }
.icon-facetime-video { background-position: -432px -48px; }
.icon-picture { background-position: -456px -48px; }
.icon-pencil { background-position: 0 -72px; }
.icon-map-marker { background-position: -24px -72px; }
.icon-adjust { background-position: -48px -72px; }
.icon-tint { background-position: -72px -72px; }
.icon-edit { background-position: -96px -72px; }
.icon-share { background-position: -120px -72px; }
.icon-check { background-position: -144px -72px; }
.icon-move { background-position: -168px -72px; }
.icon-step-backward { background-position: -192px -72px; }
.icon-fast-backward { background-position: -216px -72px; }
.icon-backward { background-position: -240px -72px; }
.icon-play { background-position: -264px -72px; }
.icon-pause { background-position: -288px -72px; }
.icon-stop { background-position: -312px -72px; }
.icon-forward { background-position: -336px -72px; }
.icon-fast-forward { background-position: -360px -72px; }
.icon-step-forward { background-position: -384px -72px; }
.icon-eject { background-position: -408px -72px; }
.icon-chevron-left { background-position: -432px -72px; }
.icon-chevron-right { background-position: -456px -72px; }
.icon-plus-sign { background-position: 0 -96px; }
.icon-minus-sign { background-position: -24px -96px; }
.icon-remove-sign { background-position: -48px -96px; }
.icon-ok-sign { background-position: -72px -96px; }
.icon-question-sign { background-position: -96px -96px; }
.icon-info-sign { background-position: -120px -96px; }
.icon-screenshot { background-position: -144px -96px; }
.icon-remove-circle { background-position: -168px -96px; }
.icon-ok-circle { background-position: -192px -96px; }
.icon-ban-circle { background-position: -216px -96px; }
.icon-arrow-left { background-position: -240px -96px; }
.icon-arrow-right { background-position: -264px -96px; }
.icon-arrow-up { background-position: -289px -96px; }
.icon-arrow-down { background-position: -312px -96px; }
.icon-share-alt { background-position: -336px -96px; }
.icon-resize-full { background-position: -360px -96px; }
.icon-resize-small { background-position: -384px -96px; }
.icon-plus { background-position: -408px -96px; }
.icon-minus { background-position: -433px -96px; }
.icon-asterisk { background-position: -456px -96px; }
.icon-exclamation-sign { background-position: 0 -120px; }
.icon-gift { background-position: -24px -120px; }
.icon-leaf { background-position: -48px -120px; }
.icon-fire { background-position: -72px -120px; }
.icon-eye-open { background-position: -96px -120px; }
.icon-eye-close { background-position: -120px -120px; }
.icon-warning-sign { background-position: -144px -120px; }
.icon-plane { background-position: -168px -120px; }
.icon-calendar { background-position: -192px -120px; }
.icon-random { background-position: -216px -120px; }
.icon-comment { background-position: -240px -120px; }
.icon-magnet { background-position: -264px -120px; }
.icon-chevron-up { background-position: -288px -120px; }
.icon-chevron-down { background-position: -313px -119px; }
.icon-retweet { background-position: -336px -120px; }
.icon-shopping-cart { background-position: -360px -120px; }
.icon-folder-close { background-position: -384px -120px; }
.icon-folder-open { background-position: -408px -120px; }
.icon-resize-vertical { background-position: -432px -119px; }
.icon-resize-horizontal { background-position: -456px -118px; }
/* Contacts */
.icon-contact { width: 16px; height: 16px; }
.icon-contact-default { background-image: url(../images/icons/contact-default.png); }
.icon-contact-mail { background-image: url(../images/icons/contact-mail.png); }
.icon-contact-icq { background-image: url(../images/icons/contact-icq.png); }
.icon-contact-jabber { background-image: url(../images/icons/contact-jabber.png); }
.icon-contact-phone { background-image: url(../images/icons/contact-phone.png); }
.icon-contact-skype { background-image: url(../images/icons/contact-skype.png); }
.icon-contact-vkontakte { background-image: url(../images/icons/contact-vkontakte.png); }
.icon-contact-twitter { background-image: url(../images/icons/contact-twitter.png); }
.icon-contact-facebook { background-image: url(../images/icons/contact-facebook.png); }
.icon-contact-odnoklassniki { background-image: url(../images/icons/contact-odnoklassniki.png); }
.icon-contact-www { background-image: url(../images/icons/contact-www.png); }
/* Synio */
.icon-validation-success { width: 18px; height: 20px; background-image: url(../images/icons/validation-success.png); }
.icon-question-sign { width: 17px; height: 17px; background-image: url(../images/icons/help.png); }
.icon-synio-share-blue { width: 11px; height: 11px; background-image: url(../images/icons/share.png); }
.icon-synio-rating { width: 11px; height: 11px; background-image: url(../images/icons/rating.png); }
.icon-synio-arrows { width: 11px; height: 11px; background-image: url(../images/icons/dropdown-arrow.png); }
.icon-synio-user-note { width: 16px; height: 16px; background-image: url(../images/icons/user-note.png); }
.icon-synio-comments-green-filled { width: 11px; height: 11px; background-image: url(../images/icons/comments-green-filled.png); }
.icon-synio-comments-blue { width: 11px; height: 11px; background-image: url(../images/icons/comments-blue.png); }
.icon-synio-comments-small { width: 11px; height: 11px; background-image: url(../images/icons/comments-small.png); }
.icon-synio-tags { width: 15px; height: 11px; background-image: url(../images/icons/tags.png); }
.icon-synio-actions-edit { width: 11px; height: 11px; background-image: url(../images/icons/edit.png); }
.icon-synio-actions-delete { width: 11px; height: 11px; background-image: url(../images/icons/delete.png); }
.icon-synio-topic-private { width: 23px; height: 23px; background-image: url(../images/icons/topic-type-private.png); }
.icon-synio-topic-draft { width: 23px; height: 23px; background-image: url(../images/icons/topic-type-draft.png); }
.icon-synio-topic-link { width: 23px; height: 23px; background-image: url(../images/icons/topic-type-link.png); }
.icon-synio-link { width: 11px; height: 11px; background-image: url(../images/icons/anchor.png); }
.icon-synio-send-message { width: 16px; height: 16px; background-image: url(../images/icons/message.png); }
.icon-synio-new-message { width: 16px; height: 16px; background-image: url(../images/icons/message-new.png); }
.icon-synio-join { width: 16px; height: 16px; background-image: url(../images/icons/join.png); }
.icon-synio-search { width: 16px; height: 16px; background-image: url(../images/icons/search.png); }
.icon-synio-arrow-left { width: 16px; height: 16px; background-image: url(../images/icons/message-in.png); }
.icon-synio-arrow-right { width: 16px; height: 16px; background-image: url(../images/icons/message-out.png); }
.icon-synio-remove { width: 24px; height: 24px; background-image: url(../images/icons/remove.png); vertical-align: middle; position: relative; top: -2px; }
.icon-synio-remove:hover { background-image: url(../images/icons/remove-hover.png); }
.icon-synio-vote-info-down { width: 16px; height: 16px; background-image: url(../images/icons/vote-info-down.png); }
.icon-synio-vote-info-up { width: 16px; height: 16px; background-image: url(../images/icons/vote-info-up.png); }
.icon-synio-vote-info-zero { width: 16px; height: 16px; background-image: url(../images/icons/vote-info-abstain.png); }
.icon-poll-sort { width: 11px; height: 11px; background-image: url(../images/icons/poll-sort.png); }
.icon-xeoart { width: 87px; height: 25px; background-image: url(../images/icons/xeoart.png); }

View file

@ -1,123 +0,0 @@
/*
* Modal
*
* @template modals/*.tpl
*/
/* Base class */
.modal {
color: #333;
background-color: #fbfcfc;
border-radius: 10px;
overflow: hidden;
}
/* Close button */
.modal .modal-close:before,
.modal .close:before { display: none; }
.modal .close,
.modal .modal-close {
top: 7px;
right: 8px;
width: 16px;
height: 16px;
background-repeat: no-repeat;
background-image: url(../images/icons/close.png); /* Move to icons.css */
opacity: 1;
filter: alpha(opacity=100);
}
.modal .modal-close:hover { background-image: url(../images/icons/close-hover.png); }
/* Header */
.modal .modal-header { padding: 15px 30px 0; border: 0; background: transparent; }
/* Nav */
.modal > .nav { padding: 20px 30px 0; margin-bottom: 0; }
/* Content */
.modal .modal-content { padding: 30px 30px; }
/* Footer */
.modal .modal-footer { padding: 0 30px 30px; border: 0; background: transparent; }
/**
* Авторизация
*
* @template modals/modal.login.tpl
*/
.modal.modal-login { width: 450px; }
.modal.modal-login .nav { margin-bottom: 30px; }
.modal.modal-login .modal-header { margin-bottom: 0; }
.modal.modal-login .modal-content { padding-top: 15px; }
.modal.modal-login .remember-label { font-size: 11px; color: #6c7272; }
.modal.modal-login .remember-label input { top: 2px; }
.modal.modal-login .icon-question-sign { position: relative; top: -3px; }
.modal.modal-login .icon-validation-success { position: relative; top: -1px; }
/**
* Создать
*
* @template modals/modal.login.tpl
*/
.modal.modal-write { width: 620px; background: #e0eff9; }
.modal.modal-write .modal-content { padding: 10px 10px 20px; }
.write-list li {
width: 125px;
margin: 0 10px 20px;
font-size: 19px;
font-family: 'PT Sans', sans-serif;
text-align: center;
overflow: hidden;
display: inline-table;
}
.write-list li a { color: #727a90; }
.write-list li:hover a { color: #275ec2; }
.write-list li .write-item-image {
display: block;
margin: 0 auto;
width: 115px;
height: 115px;
border-radius: 3px;
text-align: center;
background-repeat: no-repeat;
margin-bottom: 0;
}
.write-list li.write-item-type-draft { padding-right: 20px; margin-right: 0; border-right: 1px dotted #aac6d9; }
.write-list li.write-item-type-topic .write-item-image { background-image: url(../images/icons/add-topic.png); }
.write-list li.write-item-type-message .write-item-image { background-image: url(../images/icons/add-message.png); }
.write-list li.write-item-type-blog .write-item-image { background-image: url(../images/icons/add-blog.png); }
.write-list li.write-item-type-draft .write-item-image { background-image: url(../images/icons/add-draft.png); }
.write-list li.write-item-type-topic:hover .write-item-image { background-image: url(../images/icons/add-topic-hover.png); }
.write-list li.write-item-type-message:hover .write-item-image { background-image: url(../images/icons/add-message-hover.png); }
.write-list li.write-item-type-blog:hover .write-item-image { background-image: url(../images/icons/add-blog-hover.png); }
.write-list li.write-item-type-draft:hover .write-item-image { background-image: url(../images/icons/add-draft-hover.png); }
/**
* Загрузка изображения
*
* @template modals/modal.upload_image.tpl
*/
.modal.modal-image-upload { width: 500px; }
.modal.modal-image-upload .nav.nav-pills { margin-bottom: 0; }
.modal.modal-upload-photo .image-border,
.modal.modal-upload-avatar .image-border {
float: left;
border-radius: 5px;
background: #fff;
padding: 5px;
margin-bottom: 15px;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.2);
box-shadow: 0 0 5px rgba(0,0,0,.2);
}
#avatar-resize-original-img { max-width: 200px; width: 100%; }

View file

@ -1,95 +0,0 @@
/**
* Навигация
*
* @template navs/*.tpl
*/
/* Nav Pills */
.nav.nav-pills { margin-bottom: 15px; font-size: 11px; }
.nav.nav-pills li { margin-right: 10px; border: 1px solid transparent; line-height: 13px; border-radius: 5px; padding: 3px 6px 4px; background: none; }
.nav.nav-pills li a { display: block; color: #727a90; text-decoration: underline; float: left; background: none; padding: 0; }
.nav.nav-pills li a:hover { color: #333; border-color: #333; background: none; }
.nav.nav-pills li a.new { margin-left: 5px; text-decoration: none; }
.nav.nav-pills li.active { border-color: #ebf0f4; }
.nav.nav-pills li.active a { color: #628fa5; text-decoration: none; background: none; border-color: #ebf0f4; }
.nav.nav-pills.nav-pills-profile { margin-bottom: 30px; }
/* Nav Topic Filter */
.nav.nav-menu { font-size: 11px; border-radius: 13px; border: 1px solid #fff; float: left; position: relative; }
.nav.nav-menu li { position: relative; height: 22px; padding: 1px 1px 1px 0; -webkit-box-shadow: -1px 0 0 #dfe3e8 inset, 0 1px 0 #dfe3e8 inset, 0 -1px 0 #dfe3e8 inset; box-shadow: -1px 0 0 #dfe3e8 inset, 0 1px 0 #dfe3e8 inset, 0 -1px 0 #dfe3e8 inset; }
.nav.nav-menu li a {
background: #fbfbfc;
background: -moz-linear-gradient(top, #fbfbfc 0%, #f0f2f5 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfc), color-stop(100%,#f0f2f5));
background: -webkit-linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
background: -o-linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
background: -ms-linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
background: linear-gradient(top, #fbfbfc 0%,#f0f2f5 100%);
height: 22px;
line-height: 21px;
color: #434343;
padding: 0 13px;
float: left;
text-decoration: none;
-webkit-box-shadow: 1px 0 0 #fff inset, 0 1px 0 #fff inset; box-shadow: 1px 0 0 #fff inset, 0 1px 0 #fff inset;
}
.nav.nav-menu li:first-child { border-top-left-radius: 13px; border-bottom-left-radius: 13px; }
.nav.nav-menu li:first-child a { border-top-left-radius: 13px; border-bottom-left-radius: 13px; padding-left: 15px; -webkit-box-shadow: 1px 0 0 #dfe3e8 inset, 0 1px 0 #fff inset; box-shadow: 1px 0 0 #dfe3e8 inset, 0 1px 0 #fff inset; }
.nav.nav-menu li:last-child { border-top-right-radius: 13px; border-bottom-right-radius: 13px; -webkit-box-shadow: 0 1px 0 #dfe3e8 inset, 0 -1px 0 #dfe3e8 inset; box-shadow: 0 1px 0 #dfe3e8 inset, 0 -1px 0 #dfe3e8 inset; padding-right: 0; }
.nav.nav-menu li:last-child a { border-top-right-radius: 13px; border-bottom-right-radius: 13px; padding-right: 15px; box-shadow: -1px 0 0 #dfe3e8 inset, 0 1px 0 #fff inset; }
.nav.nav-menu li:hover { -webkit-box-shadow: -1px 0 0 #27ace8 inset, 0 1px 0 #27ace8 inset, 0 -1px 0 #27ace8 inset; box-shadow: -1px 0 0 #27ace8 inset, 0 1px 0 #27ace8 inset, 0 -1px 0 #27ace8 inset; }
.nav.nav-menu li:hover a {
color: #fff;
-webkit-box-shadow: 1px 0 0 #27ace8 inset, 0 -1px 0 #55d0ff inset; box-shadow: 1px 0 0 #27ace8 inset, 0 -1px 0 #55d0ff inset;
background: #4ec4ff;
background: -moz-linear-gradient(top, #4ec4ff 0%, #22b3fe 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4ec4ff), color-stop(100%,#22b3fe));
background: -webkit-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: -o-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: -ms-linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
background: linear-gradient(top, #4ec4ff 0%,#22b3fe 100%);
}
.nav.nav-menu li.active { background: #edf8fd; border: none; -webkit-box-shadow: 0 2px 3px #b4d5e2 inset; box-shadow: 0 2px 3px #b4d5e2 inset; }
.nav.nav-menu li.active a { background: none; color: #628fa5; -webkit-box-shadow: none; box-shadow: none; border: none; }
.nav.nav-menu.nav-filter-sub li a { padding: 5px 10px; font-size: 11px; color: #777; }
.nav.nav-menu.nav-filter-sub li.active a { color: #fff; }
.nav-menu-wrapper { margin-bottom: 40px; position: relative; }
.oldie .nav.nav-menu { border-color: #dfe3e8; border-right: none; }
.oldie .nav.nav-menu li { border-right: 1px solid #dfe3e8; }
.oldie #nav { background: #f6f6f6; }
/* Nav Main */
.nav.nav-main { height: 51px; overflow: hidden; background: none; }
.nav.nav-main li { margin-right: 22px; position: relative; height: 51px; line-height: 49px; background: none; }
.nav.nav-main li.nav-main-more { margin-right: 0; display: none; }
.nav.nav-main li a { color: #cfcfcf; text-decoration: none; padding: 0; }
.nav.nav-main li a:hover { color: #aaa; background: none; }
.nav.nav-main li.active a { color: #aed6e9; background: none; }
.nav.nav-main li:before { display: none; content: ""; position: absolute; bottom: 0; left: 50%; margin-left: -2px; width: 0; height: 0; border: 3px solid transparent; border-bottom-color: #fff; }
.nav.nav-main li.active:before { display: block; }
/* Nav Profile */
.nav.nav-profile { margin-bottom: 15px; }
.nav.nav-profile li { float: none; font-size: 15px; border-bottom: 1px dotted #dce1e6; padding: 8px 10px 10px 30px; }
.nav.nav-profile li a { float: none; text-decoration: underline; color: #275ec2; padding: 0; }
.nav.nav-profile li a:hover { color: #f00; }
.nav.nav-profile li.active a { text-decoration: none; color: #000; }
/* Nav Group */
.nav-group { position: relative; }
.nav-group .dropdown.dropdown-timespan { position: absolute; top: 0; right: 0; margin: 0; }

View file

@ -1,46 +0,0 @@
/**
* Фотосет
*/
.photoset { margin-bottom: 15px; }
/**
* Дефолтный фотосет
*
* @template topics/topic.photoset.tpl
*/
.photoset-type-default { padding-top: 10px; }
.photoset-type-default .photoset-title { border-bottom: 1px solid #ccc; padding-bottom: 4px; margin-bottom: 15px; font-size: 25px; }
.photoset-type-default .photoset-images { overflow: hidden; zoom: 1; }
.photoset-type-default .photoset-images li { float: left; margin: 0 9px 9px 0; position: relative; border: 3px solid #eee; }
.photoset-type-default .photoset-images li img { vertical-align: top; }
/**
* Загрузка изображений
*
* @template actions/ActionPhotoset/add.tpl
*/
.photoset-upload { margin-bottom: 20px; background: #F1F7FD; }
.photoset-upload header,
.photoset-upload footer { padding: 15px; }
.photoset-upload h2 { font-size: 24px; margin-bottom: 15px; }
.photoset-upload .note { font-size: 12px; line-height: 20px; }
.photoset-upload-images { overflow: hidden; zoom: 1; }
.photoset-upload-images-item { padding: 15px 15px 15px 130px; min-height: 100px; position: relative; }
.photoset-upload-images-item.marked-as-preview { background: #DEEEFF; }
.photoset-upload-images-item.marked-as-preview textarea { border-color: #B3CFED; }
.photoset-upload-images-item img { position: absolute; top: 15px; left: 15px; }
.photoset-upload-images-item label { color: #aaa; }
.photoset-upload-images-item textarea { height: 80px; margin-bottom: 10px; }
.photoset-upload-images-item a { margin-right: 15px; }
.photoset-upload-images-item .mark-as-preview { display: none; text-decoration: none; }
.photoset-upload-images-item:hover .mark-as-preview { display: inline; }
.photoset-upload-progress { margin: 15px; }
.photoset-upload-progress-filename { margin-bottom: 5px; }

View file

@ -1,57 +0,0 @@
/**
* Опросы
*
* @template topics/topic.question.tpl
*/
.poll { margin-bottom: 15px; }
.poll-list { margin-bottom: 20px; margin-left: 0; list-style-type: none; }
.poll-item { margin-bottom: 10px; }
.poll-item:last-child { margin-bottom: 0; }
.poll-item label { display: inline; }
/**
* Результат опроса
*
* @template topics/poll_result.tpl
*/
.poll-result { margin-bottom: 10px; }
.poll-result-item { margin-bottom: 20px; overflow: hidden; zoom: 1; }
.poll-result-item-count { float: left; width: 65px; }
.poll-result-item-count strong { display: block; }
.poll-result-item-count span { font-size: 11px; color: #aaa; }
.poll-result-item-chart { padding-left: 80px; }
.poll-result-item-bar { height: 7px; margin-top: 3px; background: #ccc; overflow: hidden; border-radius: 4px; }
.poll-result-item-most .poll-result-item-count { color: #12aaeb; }
.poll-result-item-most .poll-result-item-bar {
background: #1999e2;
background: -moz-linear-gradient(top, #25dcfc 0%, #198bdd 70%, #38d1f7 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, #25dcfc), color-stop(70%, #198bdd), color-stop(100%, #38d1f7));
background: -webkit-linear-gradient(top, #25dcfc 0%, #198bdd 70%, #38d1f7 100%);
background: -o-linear-gradient(top, #25dcfc 0%, #198bdd 70%, #38d1f7 100%);
background: -ms-linear-gradient(top, #25dcfc 0%, #198bdd 70%, #38d1f7 100%);
background: linear-gradient(to bottom, #25dcfc 0%, #198bdd 70%, #38d1f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#25dcfc', endColorstr='#38d1f7', GradientType=0 );
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.poll-result-total { position: relative; color: #818189; font-size: 11px; line-height: 16px; padding-left: 80px; }
.poll-result-total .button { position: absolute; top: 2px; left: 0; cursor: pointer; }
.poll-result-total .button.active .icon-poll-sort { background-image: url(../images/icons/poll-sort-active.png); }
/**
* Создание опроса
*
* @template actions/ActionQuestion/add.tpl
*/
.poll-add { padding: 20px; margin-bottom: 20px; background: #F1F7FD; }
.poll-add-list { margin-bottom: 15px; }
.poll-add-item { margin-bottom: 10px; padding-right: 30px; position: relative; }
.poll-add-item-input { width: 100%; }
.poll-add-item-remove { position: absolute; top: 2px; right: 0; cursor: pointer; }

View file

@ -1,70 +0,0 @@
/**
* Popovers
*/
.popover {
border: 3px solid #edf8fd;
color: #000;
border-radius: 10px;
font-size: 12px;
line-height: 18px;
-webkit-box-shadow: 0 0 15px rgba(0,0,0,.3);
box-shadow: 0 0 15px rgba(0,0,0,.3);
}
.popover .popover-content { padding: 15px 20px; }
/* Arrow */
.popover .popover-arrow { border-width: 11px; border-color: #edf8fd; }
.popover .popover-arrow-inner { border-width: 8px; border-color: #fff; }
.popover.alignx-center.aligny-top .popover-arrow,
.popover.alignx-center.aligny-top .popover-arrow-inner,
.popover.alignx-left.aligny-top .popover-arrow,
.popover.alignx-left.aligny-top .popover-arrow-inner,
.popover.alignx-right.aligny-top .popover-arrow,
.popover.alignx-right.aligny-top .popover-arrow-inner { bottom: -22px; margin-left: -11px; }
.popover.alignx-center.aligny-bottom .popover-arrow,
.popover.alignx-center.aligny-bottom .popover-arrow-inner,
.popover.alignx-left.aligny-bottom .popover-arrow,
.popover.alignx-left.aligny-bottom .popover-arrow-inner,
.popover.alignx-right.aligny-bottom .popover-arrow,
.popover.alignx-right.aligny-bottom .popover-arrow-inner { top: -22px; margin-left: -11px; }
.popover.alignx-left.aligny-center .popover-arrow,
.popover.alignx-left.aligny-center .popover-arrow-inner { right: -22px; margin-top: -11px; }
.popover.alignx-right.aligny-center .popover-arrow,
.popover.alignx-right.aligny-center .popover-arrow-inner { left: -22px; margin-top: -11px; }
.popover.alignx-left.aligny-top .popover-arrow-inner,
.popover.alignx-right.aligny-top .popover-arrow-inner,
.popover.alignx-center.aligny-top .popover-arrow-inner { bottom: -16px; margin-left: -8px; }
.popover.alignx-left.aligny-bottom .popover-arrow-inner,
.popover.alignx-right.aligny-bottom .popover-arrow-inner,
.popover.alignx-center.aligny-bottom .popover-arrow-inner { top: -16px; margin-left: -8px; }
.popover.alignx-left.aligny-center .popover-arrow-inner { right: -16px; margin-top: -8px; }
.popover.alignx-right.aligny-center .popover-arrow-inner { left: -16px; margin-top: -8px; }
.popover.alignx-left.aligny-bottom .popover-arrow,
.popover.alignx-left.aligny-bottom .popover-arrow-inner,
.popover.alignx-left.aligny-top .popover-arrow,
.popover.alignx-left.aligny-top .popover-arrow-inner { left: 26px; }
.popover.alignx-right.aligny-bottom .popover-arrow,
.popover.alignx-right.aligny-top .popover-arrow { left: auto; right: 17px; }
.popover.alignx-right.aligny-bottom .popover-arrow-inner,
.popover.alignx-right.aligny-top .popover-arrow-inner { left: auto; right: 20px; }
/* Loader */
.popover.loading { background: url(../images/loader-circle.gif) 50% 50% no-repeat; }
/**
* Popover Blog Info
*/
.popover.popover-blog-info .popover-content { padding: 25px 30px; }
.popover-blog-info-topic { color: #727a90; font-size: 11px; }
.popover-blog-info-actions { font-size: 11px; }
.popover.popover-blog-info .dotted-list.blog-info { margin-bottom: 30px; }
.popover.popover-blog-info .dotted-list.blog-info .dotted-list-item-label,
.popover.popover-blog-info .dotted-list.blog-info .dotted-list-item-value { background: #fff; }

View file

@ -1,34 +0,0 @@
/**
* Стили для печати
*/
@media print {
@page { margin: 0.5cm; }
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; font-family: Arial, sans-serif !important; }
body, .text { font-size: 14pt; }
a, a:visited { text-decoration: underline; }
pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; }
tr, img { page-break-inside: avoid; }
img { max-width: 100% !important; }
h1 { font-size: 30pt !important; font-weight: bold !important; }
h4 { font-size: 26pt !important; }
h5 { font-size: 23pt !important; }
h6 { font-size: 20pt !important; }
p, h3, h4, h5 { orphans: 3; widows: 3; }
h3, h4, h5 { page-break-after: avoid; }
h1 a { text-decoration: none !important; }
#header, #userbar, #nav, #sidebar, #footer, #comments, .toolbar, .nav-filter-wrapper,
.topic-footer, .stat-performance, .topic-actions, .reply-header, .nav { display: none !important; }
#wrapper { -webkit-box-shadow: none; box-shadow: none; border: 0; padding: 0; }
#content { width: 100%; margin: 0; }
.topic { margin-bottom: 100px; }
}

View file

@ -1,58 +0,0 @@
/**
* Профиль пользователя
*
* @template actions/ActionProfile/*.tpl
*/
/**
* Шапка профиля
*
* @template layouts/layout.user.tpl
*/
.profile { min-height: 48px; margin-bottom: 0; padding: 0 0px 20px 0; position: relative; }
.profile .button { float: right; margin-left: 7px; }
.profile .avatar { position: absolute; top: 0; left: 0; }
.profile .vote-label { text-transform: lowercase; text-align: center; font-size: 10px; color: #aaa; }
.profile .vote-profile { float: right; margin-left: 10px; }
.profile .vote-profile .vote-topic { float: none; }
.profile .vote-profile .vote-topic .vote-item.vote-count { cursor: text; }
.profile .user-login { width: 240px; font-size: 27px; line-height: 26px; font-weight: normal; margin-bottom: 5px; }
.profile .user-name { color: #949aa1; font-size: 17px; font-family: 'PT Sans', sans-serif; }
/**
* Блок "О себе"
*
* @template actions/ActionProfile/whois.tpl
*/
.profile-info-about { padding: 13px 20px 20px 135px; min-height: 100px; background: #fcfce9; border-radius: 5px; margin-bottom: 30px; color: #000; position: relative; }
.profile-info-about .avatar { position: absolute; top: 20px; left: 20px; border-radius: 5px; background: #fff; padding: 5px; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); box-shadow: 0 0 5px rgba(0,0,0,.2); }
.profile-info-about .avatar img { vertical-align: top; width: 80px; height: 80px; }
.profile-info-about h3 { font-size: 19px; margin-bottom: 5px; }
.profile-info-about .edit { font-size: 11px; }
/**
* Вспомогательные стили
*
* @template actions/ActionProfile/whois.tpl
*/
.profile-left { width: 360px; float: left; margin-right: 40px; }
.profile-right { width: 185px; float: left; }
.profile-contact-list { margin-bottom: 50px; }
.profile-contact-list li { margin-bottom: 5px; padding-left: 21px; position: relative; }
.profile-contact-list li i { position: absolute; top: 2px; left: 0; }
/**
* Заметка
*
* @template blocks/block.profileNote.tpl
*/
.user-note { border: 2px solid #ffe25d; padding: 15px; border-radius: 5px; }
.user-note .user-note-text { margin-bottom: 10px; }
.user-note .actions { margin-bottom: 0; font-size: 11px; }

View file

@ -1,84 +0,0 @@
/**
* Таблицы
*/
.table { width: 100%; margin-bottom: 15px; border-collapse: separate; }
.table th { text-align: left; font-weight: normal; border-bottom: 1px solid #c3d4dc; }
.table td { padding: 13px 10px; }
.table th,
.table .cell-tab .cell-tab-inner { padding: 6px 10px 8px; }
.table tr:hover td { background: #f5fdff; }
.table tr.active td { background: #CBF4BC; }
.table tbody td { border-top: 1px solid #f1f3f5; }
.table tbody tr:first-child td { border-top: none; }
.table thead a { color: #727a90; text-decoration: none; }
.table thead a span { border-bottom: 1px dotted #727a90; }
.table a.asc,
.table a.desc { color: #000; border-color: #000; }
.table a.asc:after { content: " ↑"; }
.table a.desc:after { content: " ↓"; }
.table .cell-rating.negative { color: #f00 !important; }
.table .cell-tab { padding: 0; }
.table .cell-tab .cell-tab-inner { position: relative; top: 1px; display: inline-block; border: 1px solid transparent; border-radius: 3px 3px 0 0; border-bottom: none; }
.table .cell-tab .cell-tab-inner.active { background: #fff; border-color: #c3d4dc; }
/* Table Blogs */
.table.table-blogs .cell-info { width: 19px; padding-right: 0; padding-left: 0; }
.table.table-blogs tbody .cell-info { vertical-align: top; }
.table.table-blogs tbody .cell-info .blog-list-info { display: block; }
.table.table-blogs .cell-name { padding-left: 3px; }
.table.table-blogs .cell-name .avatar { float: left; margin-right: 10px; clear: right; }
.table.table-blogs .cell-name p { overflow: hidden; margin-bottom: 5px; }
.table.table-blogs .cell-name p .blog-name { font-size: 16px; color: #275ec2; }
.table.table-blogs .cell-name p i { vertical-align: middle; position: relative; top: -1px }
.table.table-blogs tbody .cell-rating { width: 70px; font-weight: bold; font-size: 11px; color: #5fa459; }
.table.table-blogs .cell-readers { width: 90px; text-align: center; vertical-align: middle; }
.table.table-blogs tbody .cell-readers { text-align: center; vertical-align: middle; font-size: 11px; }
.table.table-blogs .cell-join { width: 130px; text-align: center; vertical-align: middle; }
.table.table-blogs .cell-rating { width: 90px; text-align: center; vertical-align: middle; }
/* Table Profile Notes */
.table.table-profile-notes { border-top: 1px solid #eee; }
.table.table-profile-notes td { vertical-align: top; }
.table.table-profile-notes .cell-username { width: 20%; font-weight: bold; }
.table.table-profile-notes .cell-note { width: 50%; }
.table.table-profile-notes .cell-date { text-align: right; }
/* Table Profile Info */
.table.table-profile-info { margin-bottom: 40px; }
.table.table-profile-info td { vertical-align: top; }
.table.table-profile-info .cell-label { width: 30%; color: #777; }
/* Table Users */
.table.table-users th { }
.table.table-users .cell-follow { width: 17px; text-align: center; }
.table.table-users thead .cell-follow i { position: relative; top: 3px; }
.table.table-users .cell-name { width: 190px; padding-right: 0; padding-left: 0; }
.table.table-users .cell-name img { float: left; margin-right: 14px; }
.table.table-users tbody .cell-name div { float: left; width: 125px; }
.table.table-users .cell-name .name { margin-top: 2px; }
.table.table-users .cell-name .name.no-realname { margin-top: 11px; }
.table.table-users .cell-name .username { width: 125px; position: relative; top: 1px; margin-bottom: 3px; }
.table.table-users .cell-name .realname { font-size: 11px; }
.table.table-users .cell-rating { text-align: center; width: 70px; }
.table.table-users .cell-date { text-align: center; width: 150px; }
.table.table-users tbody .cell-rating { color: #5fa459; font-size: 11px; }
/* Table Talk */
.table.table-talk .cell-checkbox { width: 20px; padding: 15px 0 10px 10px; }
.table.table-talk thead .cell-checkbox { padding: 10px 0 10px 10px; }
.table.table-talk .cell-favourite { text-align: center; }
.table.table-talk tbody .cell-favourite { padding: 17px 0; }
.table.table-talk .cell-recipients { width: 130px; }
.table.table-talk tbody .cell-recipients { font-size: 11px; }
.table.table-talk tbody .cell-recipients a { color: #000; }
.table.table-talk tbody .cell-date { font-size: 11px; width: 115px; }
.table.table-talk tbody .cell-title { }
.table.table-talk tbody .cell-title a { color: #275ec2; }
.table.table-talk tbody .cell-title a:hover { color: #f00; }
.table.table-talk tbody .cell-title span { color: #628fa5; font-weight: bold; margin-left: 4px; }
.table.table-talk tbody .cell-title .new { color: #32b319; }
.table.table-talk tbody .cell-title i { position: relative; left: -3px; }
.table.table-talk tbody td { vertical-align: top; }

View file

@ -1,20 +0,0 @@
/*
* Text
*/
.text { font-size: 13px; }
/* Quotes */
.text blockquote {
padding: 10px 15px;
background: #fbfbfc;
color: #555;
border-left: 5px solid #EDEDF2;
}
/* User */
.text .ls-user { color: #3F8AD7; }
.text .ls-user:visited { color: #3F8AD7; }
.text .ls-user:hover { color: #f00; }

View file

@ -1,83 +0,0 @@
/* TinyMCE Content
---------------------------------------------------- */
body, td, pre { color: #000; font-family: Verdana, Arial, Helvetica, sans-serif; margin: 8px; font-size: 13px; line-height: 1.6em; overflow: hidden; zoom: 1; }
body {background:#FFF;}
body.mceForceColors {background:#FFF; color:#000;}
body.mceBrowserDefaults {background:transparent; color:inherit; font-size:inherit; font-family:inherit;}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
a.mceItemAnchor {display:inline-block; -webkit-user-select:all; -webkit-user-modify:read-only; -moz-user-select:all; -moz-user-modify:read-only; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat center center}
span.mceItemNbsp {background: #DDD}
td.mceSelected, th.mceSelected {background-color:#3399ff !important}
img {border:0;}
table, img, hr, .mceItemAnchor {cursor:default}
table td, table th {cursor:text}
ins {border-bottom:1px solid green; text-decoration: none; color:green}
del {color:red; text-decoration:line-through}
cite {border-bottom:1px dashed blue}
acronym {border-bottom:1px dotted #CCC; cursor:help}
abbr {border-bottom:1px dashed #CCC; cursor:help}
h4 { font-family: Arial, sans-serif; font-size: 24px; margin-bottom: 7px; font-weight: bold; }
h5 { font-family: Arial, sans-serif; font-size: 20px; margin-bottom: 7px; font-weight: bold; }
h6 { font-family: Arial, sans-serif; font-size: 18px; margin-bottom: 7px; font-weight: bold; }
p { margin-bottom: 1em; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 0; background: #fbfbfc; color: #555; padding: 10px 15px; clear: both; border-left: 5px solid #EDEDF2; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre { margin: 0; padding: 10px 15px; border: none; background: #fafafa; font-size: 12px; line-height: 18px; overflow: auto; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; clear: both; }
q { quotes: none; clear: both; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 0; padding: 0 0 0 40px; }
ul { list-style-type: disc; }
ol { list-style-type: decimal; }
dd { margin: 0 0 0 40px; }
img[align="right"] { margin: 4px 0 5px 15px; }
img[align="left"] { margin: 4px 15px 10px 0; }
img.image-center { display: block; margin: 0 auto; }
object,
img { max-width: 100%; vertical-align: top; }
/* IE */
* html body {
scrollbar-3dlight-color:#F0F0EE;
scrollbar-arrow-color:#676662;
scrollbar-base-color:#F0F0EE;
scrollbar-darkshadow-color:#DDD;
scrollbar-face-color:#E0E0DD;
scrollbar-highlight-color:#F0F0EE;
scrollbar-shadow-color:#F0F0EE;
scrollbar-track-color:#F5F5F5;
}
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
font[face=mceinline] {font-family:inherit !important}
*[contentEditable]:focus {outline:0}
.mceItemMedia {border:1px dotted #cc0000; background-position:center; background-repeat:no-repeat; background-color:#ffffcc}
.mceItemShockWave {background-image:url(../../img/shockwave.gif)}
.mceItemFlash {background-image:url(../../img/flash.gif)}
.mceItemQuickTime {background-image:url(../../img/quicktime.gif)}
.mceItemWindowsMedia {background-image:url(../../img/windowsmedia.gif)}
.mceItemRealMedia {background-image:url(../../img/realmedia.gif)}
.mceItemVideo {background-image:url(../../img/video.gif)}
.mceItemAudio {background-image:url(../../img/video.gif)}
.mceItemEmbeddedAudio {background-image:url(../../img/video.gif)}
.mceItemIframe {background-image:url(../../img/iframe.gif)}
.mcePageBreak {display:block;border:0;width:100%;height:12px;border-top:1px dotted #ccc;margin-top:15px;background:#fff url(../../img/pagebreak.gif) no-repeat center top;}

View file

@ -1,68 +0,0 @@
/**
* Тулбар
*
* @template toolbar/*.tpl
*/
.toolbar { position: fixed; z-index: 20; }
.toolbar section {
width: 25px;
padding: 8px;
overflow: hidden;
line-height: 14px;
background: #fff;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.03);
box-shadow: 0 0 5px rgba(0,0,0,.03);
margin-bottom: 10px;
border-radius: 10px;
}
.toolbar section a { padding: 0; }
.toolbar section a:hover { background: none; }
.toolbar section i { display: block; width: 25px; height: 25px; }
/**
* Кнопка перехода в админку
*
* @template toolbar/toolbar.admin.tpl
*/
.toolbar .toolbar-admin i { background: url(../images/icons/toolbar-settings.png) no-repeat; }
.toolbar .toolbar-admin i:hover { background-image: url(../images/icons/toolbar-settings-hover.png); }
.toolbar .toolbar-admin i:active { background-image: url(../images/icons/toolbar-settings-active.png); }
/**
* Кнопка обновления комментариев
*
* @template toolbar/toolbar.comment.tpl
*/
.toolbar .toolbar-update .update-comments { padding: 0; }
.toolbar .toolbar-update .update-comments i { width: 25px; height: 25px; background: url(../images/update.gif) no-repeat; }
.toolbar .toolbar-update .update-comments.active i { background-position: -25px 0; }
.toolbar .toolbar-update .new-comments { display: block; border: none; padding: 5px 0 3px; font-size: 11px; color: #51983c; text-align: center; text-decoration: none; width: 25px; }
/**
* Кнопка навигации по топикам
*
* @template toolbar/toolbar.topic.tpl
*/
.toolbar .toolbar-topic { width: 19px; padding: 11px; }
.toolbar .toolbar-topic a.toolbar-topic-prev { border: none; }
.toolbar .toolbar-topic a.toolbar-topic-prev i { display: block; width: 19px; height: 32px; background: url(../images/icons/toolbar-topic-prev.png) no-repeat; }
.toolbar .toolbar-topic a.toolbar-topic-prev i:hover { background-image: url(../images/icons/toolbar-topic-prev-hover.png); }
.toolbar .toolbar-topic a.toolbar-topic-prev i:active { background-image: url(../images/icons/toolbar-topic-prev-active.png); }
.toolbar .toolbar-topic a.toolbar-topic-next i { display: block; width: 19px; height: 32px; background: url(../images/icons/toolbar-topic-next.png) no-repeat; }
.toolbar .toolbar-topic a.toolbar-topic-next i:hover { background-image: url(../images/icons/toolbar-topic-next-hover.png); }
.toolbar .toolbar-topic a.toolbar-topic-next i:active { background-image: url(../images/icons/toolbar-topic-next-active.png); }
/**
* Кнопка прокрутки вверх
*
* @template toolbar/toolbar.scrollup.tpl
*/
.toolbar .toolbar-scrollup { display: none; }
.toolbar .toolbar-scrollup i { background: url(../images/icons/toolbar-scrollup.png) no-repeat; }
.toolbar .toolbar-scrollup i:hover { background-image: url(../images/icons/toolbar-scrollup-hover.png); }
.toolbar .toolbar-scrollup i:active { background-image: url(../images/icons/toolbar-scrollup-active.png); }

View file

@ -1,27 +0,0 @@
/**
* Tooltip
*/
.tooltip {
border-radius: 5px;
}
/* Loading */
.tooltip.loading {
width: 70px;
height: 70px;
}
/* Yellow */
.tooltip.tooltip-yellow {
background: #fffea8;
color: #3e3e16;
border-radius: 10px;
padding: 15px 20px;
font-size: 11px;
line-height: 16px;
-webkit-box-shadow: 0 0 15px rgba(0,0,0,.3);
box-shadow: 0 0 15px rgba(0,0,0,.3);
}
.tooltip.tooltip-yellow .tip-arrow { border-color: #fffea8; }

View file

@ -1,168 +0,0 @@
/**
* Топики
*/
/**
* Основные стили
*/
.topic { margin-bottom: 50px; }
.topic:last-child { margin-bottom: 0; }
/* Хидер */
.topic-header { margin-bottom: 20px; }
.topic-header .topic-title { font-size: 27px; line-height: 1.1em; font-weight: normal; margin: 0 0 10px; }
.topic-header .topic-title a { text-decoration: underline; color: #275ec2; }
.topic-header .topic-title a:hover { color: #f00; }
.topic-header .topic-title i { position: relative; top: 9px; cursor: help; margin-right: 5px; }
.topic-header .topic-info { margin-bottom: 25px; color: #777; }
.topic-header .topic-info time { margin-right: 15px; }
.topic-header .topic-info .topic-blog { font-family: 'PT Sans', sans-serif; font-size: 18px; color: #000; text-decoration: underline; }
.topic-header .topic-info .topic-blog:hover { color: #666; }
.topic-header .topic-info .blog-list-info { position: relative; top: 5px; }
.topic-actions { background: #fcfce9; border-radius: 5px; padding: 10px 15px; font-size: 11px; overflow: hidden; }
.topic-actions li { float: left; margin-right: 18px; }
.topic-actions li.draft a { color: #27964c; }
.topic-actions li.delete a { color: #da4242; }
.topic-actions li i { margin-right: 5px; margin-top: 2px; }
/* Превью */
.topic-preview-image { display: inline-block; max-width: 100%; }
.topic-preview-image .topic-preview-image-inner {
border: 10px solid #F1F4F7;
margin-bottom: 25px;
cursor: pointer;
position: relative;
min-width: 300px;
min-height: 200px;
background: #fafafa;
}
.topic-preview-image img { vertical-align: top; display: block; margin: 0 auto; max-width: 100%; position: relative; z-index: 1; }
.topic-preview-image.loading { background: #fafafa url(../images/loader.gif) 50% 50% no-repeat; }
.topic-preview-image.loading img { display: none; }
.topic-preview-image .topic-preview-image-count {
font-size: 13px;
font-family: Arial;
font-weight: bold;
color: #fff;
cursor: pointer;
position: absolute;
top: 5px;
right: 5px;
background: #000;
padding: 4px 7px;
background: rgba(0,0,0,.6);
z-index: 2;
}
.topic-preview-image .topic-preview-image-desc {
position: absolute;
bottom: 0;
left: 0;
right: 0;
color: #fff;
overflow: hidden;
line-height: 20px;
background: #000;
background: rgba(0,0,0,.7);
max-height: 20%;
border: 15px solid transparent;
z-index: 2;
}
.oldie .topic-preview-image .topic-preview-image-desc { border-color: #000; }
/* Содержимое топика */
.topic-content { margin-bottom: 15px; }
.topic-content.text { color: #333; }
/* Теги */
.topic-tags { margin: 0 0 10px; font-size: 11px; }
.topic-tags li { display: inline; color: #888; }
.topic-tags li i { position: relative; top: 2px; margin-right: 3px; }
.topic-tags li a { color: #4c4c4c; text-decoration: underline; }
.topic-tags li a:hover { text-decoration: none; }
.topic-tags li a.link-dotted { text-decoration: none; color: #7b848d; border-color: #7b848d; }
.topic-tags li a.link-dotted:hover { color: #333; border-color: #333; }
.topic-tags li.topic-tags-edit { margin-left: 20px; }
.topic-tags li.topic-tags-user a { color: #139643; }
/* Подвал топика */
.topic-footer .topic-info { overflow: hidden; border-top: 1px solid #e7ebed; padding-top: 8px; font-size: 11px; line-height: 11px; }
.topic-footer .topic-info li { float: left; margin-right: 10px; border-right: 1px solid #fff; padding: 6px; }
.topic-footer .topic-info li a { text-decoration: none; }
.topic-footer .topic-info li.topic-info-vote { float: right; padding: 0; margin-right: 0; overflow: hidden; }
.topic-footer .topic-info li.topic-info-author { padding: 4px 0; }
.topic-footer .topic-info li.topic-info-author a { text-decoration: underline; }
.topic-footer .topic-info li.topic-info-author a:hover { }
.topic-footer .topic-info li.topic-info-author a img { width: 16px; height: 16px; vertical-align: middle; margin-right: 2px; }
.topic-footer .topic-info li.topic-info-date { color: #7b848d; }
.topic-footer .topic-info li.topic-info-share { padding: 6px; cursor: pointer; border-radius: 4px; position: relative; }
.topic-footer .topic-info li.topic-info-share i { float: left; }
.topic-footer .topic-info li.topic-info-share.open,
.topic-footer .topic-info li.topic-info-share:hover { background: #64ceff; }
.topic-footer .topic-info li.topic-info-share.open i,
.topic-footer .topic-info li.topic-info-share:hover i { background: url(../images/icons/share-hover.png) no-repeat; }
.topic-footer .topic-info li.topic-info-comments a { color: #727fa0; float: left; }
.topic-footer .topic-info li.topic-info-comments a:hover { color: #f00; }
.topic-footer .topic-info li.topic-info-comments a.new { color: #000; }
.topic-footer .topic-info li.topic-info-comments span { text-decoration: underline; }
.topic-footer .topic-info li.topic-info-comments span.count { color: #27a736; text-decoration: none; }
.topic-footer .topic-info li.topic-info-comments i { float: left; margin-right: 7px; }
.favourite.topic-info-favourite { padding: 6px; color: #828a93; border-radius: 4px; }
.favourite.topic-info-favourite:hover { background: #64ceff; color: #fff; }
.favourite.topic-info-favourite:hover .favourite-toggle { background: url(../images/icons/favourite-hover.png) no-repeat; }
/**
* Топик фотосет
*
* @type photoset
* @template topics/topic.photoset.tpl
*/
.topic.topic-type-photoset .topic-content { margin-bottom: 25px; }
/**
* Топик ссылка
*
* @type link
* @template topics/topic.link.tpl
*/
.topic-type-link .topic-header .topic-title a { color: #27964C; }
.topic-type-link .topic-url { font-size: 11px; margin-bottom: 30px; padding-top: 10px; }
.topic-type-link .topic-url a { color: #27964C; }
.topic-type-link .topic-url a:hover { color: #f00; }
/**
* Предпросмотр топика
*
* @template topics/topic_preview_X.tpl
*/
.topic-preview { margin-top: 30px; }
.topic-preview .profile-page-header { border-top: 1px solid #ddd; }
.topic-preview .topic { margin-bottom: 20px; }
/**
* Личное сообщение
* TODO: Move to talk.css
*
* @template actions/ActionTalk/message.tpl
*/
.topic.topic-type-talk header .topic-info { background: #f8fbfe; font-size: 11px; padding: 15px; border-radius: 5px; margin-bottom: 0; }
.topic.topic-type-talk .talk-recipients { padding: 15px; background: #f8fbfe; margin-bottom: 0; border-radius: 0; }
.topic.topic-type-talk .talk-recipients-header { font-size: 11px; min-height: 0; }
.topic.topic-type-talk .talk-recipients-content h3 { font-size: 16px; font-weight: normal; margin-bottom: 10px; }
.topic.topic-type-talk .topic-footer .topic-info li.topic-info-favourite i { margin-right: 0; }

View file

@ -1,38 +0,0 @@
/* --------------------------------------------
ВСПЛЫВАЮЩИЕ УВЕДОМЛЕНИЯ
-------------------------------------------- */
#notifier {
width: 250px;
position: fixed;
top: 10px;
right: 10px;
font-size: 11px;
line-height: 16px;
z-index: 9999;
}
#notifier .n-box {
position: relative;
padding: 15px 20px 16px;
margin-bottom: 10px;
color: #fff;
background: #000;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 0 5px rgba(0,0,0,.3); box-shadow: 0 0 5px rgba(0,0,0,.3);
opacity: 0.9; filter: alpha(opacity=80);
cursor: pointer;
}
#notifier .n-box h3 { color: #fff; font-size: 12px; font-weight: bold; margin-bottom: 3px; font-family: Verdana, sans-serif; }
#notifier .n-box p { margin: 0; }
#notifier .n-box.n-notice { background: #063573; color: #fff; }
#notifier .n-box.n-error { background: #850505; color: #fff; }

View file

@ -1,86 +0,0 @@
/**
* Стена
*
* @template actions/ActionProfile/wall_*.tpl
*/
/**
* Форма добавления сообщения на стену
*/
.wall-submit { margin-bottom: 30px; background: #f8fbfe; padding: 15px; border-radius: 5px; position: relative; }
.wall-submit .counter { position: absolute; bottom: 18px; right: 15px; color: #818189; }
.wall-submit .counter.exceeded { color: #f00; }
.wall-submit textarea { margin: 0 0 10px; }
.wall-submit.wall-submit-reply { margin: 15px 0 2px 0; -webkit-box-shadow: 0 0 7px #E2EAF1 inset; box-shadow: 0 0 7px #E2EAF1 inset; }
.wall-submit.wall-submit-reply:after { display: block; content: ""; position: absolute; top: -12px; left: 15px; width: 0; height: 0; border-width: 6px; border-color: transparent transparent #eaf1f7 transparent; border-style: solid; }
.wall-submit.wall-submit-reply .counter { display: none; }
.wall-submit.wall-submit-reply textarea { margin-bottom: 0; height: 28px; }
.wall-submit.wall-submit-reply button { display: none; }
.wall-submit.wall-submit-reply.active textarea { height: 80px; margin-bottom: 10px; }
.wall-submit.wall-submit-reply.active button { display: block; }
.wall-submit.wall-submit-reply.active .counter { display: block; }
.wall-submit p { margin-bottom: 5px; }
.wall-submit.wall-submit-reply.wall-submit-comment { -webkit-box-shadow: none; box-shadow: none; margin-top: 0; margin-bottom: 50px; }
.wall-submit.wall-submit-reply.wall-submit-comment:after { display: none; }
/**
* Сообщения
*/
.wall-item-wrapper { margin-bottom: 23px; border-bottom: 1px solid #e7ebed; padding: 0 0 20px 55px; position: relative; }
.wall-item-wrapper:last-child { border-bottom:none; }
.wall-item .avatar { width: 40px; height: 40px; position: absolute; top: 0; left: 0; }
.wall-item .info { color: #b9c2c2; font-size: 11px; line-height: 1em; margin-bottom: 8px; }
.wall-item .info a { color: #275ec2; }
.wall-item .info .date { color: #818189; }
.wall-item .actions.wall-item-actions { margin-top: 5px; margin-bottom: 0; }
.wall-item .actions.wall-item-actions a { color: #727a90; border-color: #727a90; }
/**
* Комментарии
*/
.wall-item-replies { padding: 4px 5px 2px; background: #fefef1; position: relative; color: #363636; margin-top: 15px; margin-bottom: 5px; font-size: 11px; border-radius: 5px; -webkit-box-shadow: 0 2px 4px #e8e8c0 inset; box-shadow: 0 2px 4px #e8e8c0 inset; }
.wall-item-replies:after { display: block; content: ""; position: absolute; top: -12px; left: 15px; width: 0; height: 0; border-width: 6px; border-color: transparent transparent #EEEED8 transparent; border-style: solid; }
.wall-item-reply { padding: 4px 0 8px 40px; margin: 0 7px; position: relative; font-size: 11px; border-bottom: 1px solid #ededc9; border-top: 1px solid #fff; }
.wall-item-reply:first-child { border-top: none; padding-top: 0; margin-top: 3px; }
.wall-item-reply:first-child .avatar { top: 4px; }
.wall-item-reply:last-child { border-bottom: none; }
.wall-item-reply .text { font-size: 11px; }
.wall-item-reply .avatar { position: absolute; top: 8px; left: 0; width: 30px; height: 30px; }
.wall-item-reply .actions { margin-bottom: 0; }
.wall-item-reply .actions .date { color: #818189; }
.wall-item-reply .author { color: #275ec2; font-weight: bold; }
.wall-item-reply .comment-content { padding: 0; border: none; }
.wall-item-reply .comment-content:before,
.wall-item-reply .comment-content:after { display: none; }
/**
* Кнопка подгрузки комментариев
*/
.get-more.get-more-wall-comments {
margin: 0 0 10px;
border-radius: 5px;
padding: 7px 0;
font-size: 11px;
color: #898953;
border: 1px solid #eaeac4;
-webkit-box-shadow: 0 1px 2px #dbdbba, 0 1px 0 #fff inset;
box-shadow: 0 1px 2px #dbdbba, 0 1px 0 #fff inset;
background: #fffffa;
background: -moz-linear-gradient(top, #fffffa 0%, #fefef1 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fffffa), color-stop(100%,#fefef1));
background: -webkit-linear-gradient(top, #fffffa 0%,#fefef1 100%);
background: -o-linear-gradient(top, #fffffa 0%,#fefef1 100%);
background: -ms-linear-gradient(top, #fffffa 0%,#fefef1 100%);
background: linear-gradient(top, #fffffa 0%,#fefef1 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fffffa', endColorstr='#fefef1',GradientType=0 );
}
.get-more.get-more-wall-comments:hover { color: #898953; background: #fefef1; }
.get-more.get-more-wall-comments.loading { background: #fefef1 url(../images/loader.gif) 50% 50% no-repeat; }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Some files were not shown because too many files have changed in this diff Show more