mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
Исправлен вывод блока Поделиться в топике
This commit is contained in:
parent
5770662a38
commit
127851ef58
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
|
|
||||||
{* Теги *}
|
{* Теги *}
|
||||||
{block 'entry_footer' prepend}
|
{block 'entry_footer'}
|
||||||
{if ! $bTopicList and $oTopicType->getParam('allow_tags')}
|
{if ! $bTopicList and $oTopicType->getParam('allow_tags')}
|
||||||
{include 'components/tags/tag_list.tpl'
|
{include 'components/tags/tag_list.tpl'
|
||||||
aTags = $oTopic->getTagsArray()
|
aTags = $oTopic->getTagsArray()
|
||||||
|
@ -73,6 +73,17 @@
|
||||||
sTagsFavouriteType = 'topic'
|
sTagsFavouriteType = 'topic'
|
||||||
iTagsFavouriteId = $oTopic->getId()}
|
iTagsFavouriteId = $oTopic->getId()}
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
{$smarty.block.parent}
|
||||||
|
|
||||||
|
{* Всплывающий блок появляющийся при нажатии на кнопку Поделиться *}
|
||||||
|
<div class="tooltip" id="topic_share_{$oTopic->getId()}">
|
||||||
|
<div class="tooltip-content js-tooltip-content">
|
||||||
|
{hookb run="topic_share" topic=$oTopic bTopicList=$bTopicList}
|
||||||
|
<div class="yashare-auto-init" data-yashareTitle="{$oTopic->getTitle()|escape}" data-yashareLink="{$oTopic->getUrl()}" data-yashareL10n="ru" data-yashareType="button" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,gplus"></div>
|
||||||
|
{/hookb}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,16 +108,4 @@
|
||||||
<a href="#" class="icon-share js-popover-default" title="{$aLang.topic_share}" data-tooltip-target="#topic_share_{$oTopic->getId()}"></a>
|
<a href="#" class="icon-share js-popover-default" title="{$aLang.topic_share}" data-tooltip-target="#topic_share_{$oTopic->getId()}"></a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
{/block}
|
|
||||||
|
|
||||||
|
|
||||||
{* Всплывающий блок появляющийся при нажатии на кнопку Поделиться *}
|
|
||||||
{block 'entry' append}
|
|
||||||
<div class="tooltip" id="topic_share_{$oTopic->getId()}">
|
|
||||||
<div class="tooltip-content js-tooltip-content">
|
|
||||||
{hookb run="topic_share" topic=$oTopic bTopicList=$bTopicList}
|
|
||||||
<div class="yashare-auto-init" data-yashareTitle="{$oTopic->getTitle()|escape}" data-yashareLink="{$oTopic->getUrl()}" data-yashareL10n="ru" data-yashareType="button" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,gplus"></div>
|
|
||||||
{/hookb}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{/block}
|
{/block}
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0018b24974a73eb6234e31ad5e6ea5c31a19fdd0
|
Subproject commit 7c69cd6f916d72861984934f1643ae2d86211c5b
|
Loading…
Reference in a new issue