1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 16:04:24 +03:00
ifhub.club/templates/skin/new/topic_list.tpl

13 lines
385 B
Smarty

{if count($aTopics)>0}
{foreach from=$aTopics item=oTopic}
<!-- Topic -->
{assign var="sTopicTemplateName" value="topic_`$oTopic->getType()`.tpl"}
{include file=$sTopicTemplateName bTopicList=true}
<!-- /Topic -->
{/foreach}
{include file='paging.tpl' aPaging=$aPaging}
{else}
{$aLang.blog_no_topic}
{/if}