1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 09:24:25 +03:00
ifhub.club/templates/skin/synio/topics/topic_list.tpl
Denis Shakhov eb4e7c57d8 Toolbar
2013-05-25 15:05:13 +07:00

18 lines
488 B
Smarty

{**
* Список топиков
*}
{if count($aTopics) > 0}
{add_block group='toolbar' name='toolbar/toolbar_topic.tpl' iCountTopic=count($aTopics)}
{foreach from=$aTopics item=oTopic}
{if $LS->Topic_IsAllowTopicType($oTopic->getType())}
{assign var="sTopicTemplateName" value="topics/topic.`$oTopic->getType()`.tpl"}
{include file=$sTopicTemplateName bTopicList=true}
{/if}
{/foreach}
{include file='paging.tpl' aPaging=$aPaging}
{else}
{$aLang.blog_no_topic}
{/if}