From e1aa9f21492cff1e070c9221b5717d1f5c162084 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Sun, 5 Aug 2012 14:05:49 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=20=D0=B4=D0=B5=D1=84=D0=BE=D0=BB?= =?UTF-8?q?=D1=82=D1=83=20=D0=B2=D1=81=D0=BF=D0=BB=D1=8B=D0=B2=D0=B0=D1=8E?= =?UTF-8?q?=D1=89=D0=B8=D0=B5=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B2=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B5=20"?= =?UTF-8?q?=D0=9F=D1=80=D1=8F=D0=BC=D0=BE=D0=B9=20=D1=8D=D1=84=D0=B8=D1=80?= =?UTF-8?q?"=20=D0=BE=D1=82=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.php | 1 + templates/skin/synio/actions/ActionTalk/inbox.tpl | 2 +- templates/skin/synio/header.tpl | 3 ++- templates/skin/synio/js/template.js | 14 +++++++++++++- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/config/config.php b/config/config.php index 51a73b2d..f1d54058 100644 --- a/config/config.php +++ b/config/config.php @@ -39,6 +39,7 @@ $config['seo']['description_words_count'] = 20; // количес * Настройка основных блоков */ $config['block']['stream']['row'] = 20; // сколько записей выводить в блоке "Прямой эфир" +$config['block']['stream']['show_tip'] = false; // выводить или нет всплывающие сообщения в блоке "Прямой эфир" $config['block']['blogs']['row'] = 10; // сколько записей выводить в блоке "Блоги" $config['block']['tags']['tags_count'] = 70; // сколько тегов выводить в блоке "теги" $config['block']['tags']['personal_tags_count'] = 70; // сколько тегов пользователя выводить в блоке "теги" diff --git a/templates/skin/synio/actions/ActionTalk/inbox.tpl b/templates/skin/synio/actions/ActionTalk/inbox.tpl index 7670da89..27f931ab 100644 --- a/templates/skin/synio/actions/ActionTalk/inbox.tpl +++ b/templates/skin/synio/actions/ActionTalk/inbox.tpl @@ -47,7 +47,7 @@ {strip} - + {if $oTalkUserAuthor->getCommentCountNew() or !$oTalkUserAuthor->getDateLast()} {$oTalk->getTitle()|escape:'html'} {else} diff --git a/templates/skin/synio/header.tpl b/templates/skin/synio/header.tpl index 33e04c56..4b6f5817 100644 --- a/templates/skin/synio/header.tpl +++ b/templates/skin/synio/header.tpl @@ -62,7 +62,8 @@ diff --git a/templates/skin/synio/js/template.js b/templates/skin/synio/js/template.js index 05781df1..81e1e26a 100644 --- a/templates/skin/synio/js/template.js +++ b/templates/skin/synio/js/template.js @@ -107,7 +107,18 @@ jQuery(document).ready(function($){ // Всплывающие сообщения - $('.js-title-comment, .js-title-topic').poshytip({ + if (ls.registry.get('block_stream_show_tip')) { + $('.js-title-comment, .js-title-topic').poshytip({ + className: 'infobox-yellow', + alignTo: 'target', + alignX: 'left', + alignY: 'center', + offsetX: 10, + liveEvents: true, + showTimeout: 1000 + }); + } + $('.js-title-talk').poshytip({ className: 'infobox-yellow', alignTo: 'target', alignX: 'left', @@ -117,6 +128,7 @@ jQuery(document).ready(function($){ showTimeout: 1000 }); + $('.js-infobox-vote-topic').poshytip({ content: function() { var id = $(this).attr('id').replace('vote_area_topic_','vote-info-topic-');