1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/application/frontend/skin/synio/topics/topic_list.tpl

17 lines
465 B
Smarty

{**
* Список топиков
*}
{if $aTopics}
{add_block group='toolbar' name='toolbar/toolbar.topic.tpl' iCountTopic=count($aTopics)}
{foreach $aTopics as $oTopic}
{if $LS->Topic_IsAllowTopicType($oTopic->getType())}
{include file="topics/topic.{$oTopic->getType()}.tpl" bTopicList=true}
{/if}
{/foreach}
{include file='pagination.tpl' aPaging=$aPaging}
{else}
{include file='alert.tpl' mAlerts=$aLang.blog_no_topic sAlertStyle='empty'}
{/if}