2013-06-19 16:32:58 +03:00
|
|
|
{**
|
|
|
|
* Навгиация создания топика
|
|
|
|
*}
|
|
|
|
|
2013-06-18 12:36:21 +03:00
|
|
|
{if $sMenuItemSelect == 'topic'}
|
2012-04-16 19:37:23 +03:00
|
|
|
<ul class="nav nav-pills mb-30">
|
2014-01-11 18:27:27 +02:00
|
|
|
{$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}
|
|
|
|
|
2012-04-16 19:37:23 +03:00
|
|
|
{hook run='menu_create_topic_item'}
|
2013-05-19 19:48:55 +03:00
|
|
|
|
|
|
|
{if $iUserCurrentCountTopicDraft}
|
2014-01-11 18:27:27 +02:00
|
|
|
<li class="{if $sMenuSubItemSelect == 'drafts'}active{/if}"><a href="{router page='content'}drafts/">{$aLang.topic_menu_drafts} ({$iUserCurrentCountTopicDraft})</a></li>
|
2013-05-19 19:48:55 +03:00
|
|
|
{/if}
|
2012-04-16 19:37:23 +03:00
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
|
2012-04-21 14:50:40 +03:00
|
|
|
{hook run='menu_create' sMenuItemSelect=$sMenuItemSelect sMenuSubItemSelect=$sMenuSubItemSelect}
|