1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 07:54:24 +03:00
ifhub.club/application/frontend/skin/developer/navs/nav.create.tpl

20 lines
741 B
Smarty

{**
* Навгиация создания топика
*}
{if $sMenuItemSelect == 'topic'}
<ul class="nav nav-pills mb-30">
{$aTopicTypes=$LS->Topic_GetTopicTypes()}
{foreach $aTopicTypes as $oTopicType}
<li {if $sMenuSubItemSelect==$oTopicType->getCode()}class="active"{/if}><a href="{$oTopicType->getUrlForAdd()}">{$oTopicType->getName()}</a></li>
{/foreach}
{hook run='menu_create_topic_item'}
{if $iUserCurrentCountTopicDraft}
<li class="{if $sMenuSubItemSelect == 'drafts'}active{/if}"><a href="{router page='content'}drafts/">{$aLang.topic_menu_drafts} ({$iUserCurrentCountTopicDraft})</a></li>
{/if}
</ul>
{/if}
{hook run='menu_create' sMenuItemSelect=$sMenuItemSelect sMenuSubItemSelect=$sMenuSubItemSelect}