mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
Хуки при выводе топиков Issue #40
This commit is contained in:
parent
a7cc4c6150
commit
71f4a16ec9
|
@ -26,6 +26,7 @@
|
|||
|
||||
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -40,6 +41,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ jQuery(window).load(function($) {
|
|||
|
||||
{assign var=iPhotosCount value=$oTopic->getPhotosetCount()}
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -56,6 +57,7 @@ jQuery(window).load(function($) {
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
<!-- Topic Photo Image List -->
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
{/if}
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
<div class="content">
|
||||
<div id="topic_question_area_{$oTopic->getId()}" class="poll">
|
||||
{if !$oTopic->getUserQuestionIsVote()}
|
||||
<ul class="poll-vote">
|
||||
|
@ -57,6 +54,8 @@
|
|||
{/if}
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -71,6 +70,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
|
||||
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -39,6 +40,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
|
||||
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -45,6 +46,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
|
||||
{assign var=iPhotosCount value=$oTopic->getPhotosetCount()}
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -66,6 +67,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
|
||||
|
||||
<div class="content">
|
||||
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -85,6 +85,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
|
||||
|
||||
<div class="content">
|
||||
{hook run='topic_content_begin' topic=$oTopic bTopicList=$bTopicList}
|
||||
{if $bTopicList}
|
||||
{$oTopic->getTextShort()}
|
||||
{if $oTopic->getTextShort()!=$oTopic->getText()}
|
||||
|
@ -49,6 +50,7 @@
|
|||
{else}
|
||||
{$oTopic->getText()}
|
||||
{/if}
|
||||
{hook run='topic_content_end' topic=$oTopic bTopicList=$bTopicList}
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue