mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
17 lines
465 B
Smarty
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} |