mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-29 04:55:02 +03:00
По дефолту всплывающие сообщения в блоке "Прямой эфир" отключены
This commit is contained in:
parent
9df2016501
commit
e1aa9f2149
|
@ -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; // сколько тегов пользователя выводить в блоке "теги"
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
</td>
|
||||
<td class="cell-title">
|
||||
{strip}
|
||||
<a href="{router page='talk'}read/{$oTalk->getId()}/" class="js-title-comment" title="{$oTalk->getTextLast()|strip_tags|truncate:100:'...'}">
|
||||
<a href="{router page='talk'}read/{$oTalk->getId()}/" class="js-title-talk" title="{$oTalk->getTextLast()|strip_tags|truncate:100:'...'}">
|
||||
{if $oTalkUserAuthor->getCommentCountNew() or !$oTalkUserAuthor->getDateLast()}
|
||||
<strong>{$oTalk->getTitle()|escape:'html'}</strong>
|
||||
{else}
|
||||
|
|
|
@ -62,7 +62,8 @@
|
|||
<script type="text/javascript">
|
||||
var tinyMCE = false;
|
||||
ls.lang.load({json var = $aLangJs});
|
||||
ls.registry.set('comment_max_tree','{cfg name="module.comment.max_tree"}');
|
||||
ls.registry.set('comment_max_tree',{json var=$oConfig->Get('module.comment.max_tree')});
|
||||
ls.registry.set('block_stream_show_tip',{json var=$oConfig->Get('block.stream.show_tip')});
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
@ -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-');
|
||||
|
|
Loading…
Reference in a new issue