mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 17:34:26 +03:00
14 lines
348 B
Smarty
14 lines
348 B
Smarty
{**
|
|
* Топик
|
|
*}
|
|
|
|
{if $LS->Topic_IsAllowTopicType($oTopic->getType())}
|
|
{if $LS->Topic_IsAllowTopicType($oTopic->getType())}
|
|
{$sTemplateType="topics/topic.type.{$oTopic->getType()}.tpl"}
|
|
{if $LS->Viewer_TemplateExists($sTemplateType)}
|
|
{include file=$sTemplateType}
|
|
{else}
|
|
{include file="topics/topic_base.tpl"}
|
|
{/if}
|
|
{/if}
|
|
{/if} |