1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 17:34:26 +03:00
ifhub.club/application/frontend/skin/developer/navs/nav.create.tpl
2014-04-28 17:31:49 +07:00

18 lines
600 B
Smarty

{**
* Навгиация создания топика
*}
{$aTopicTypes = $LS->Topic_GetTopicTypes()}
{$aItems = []}
{foreach $aTopicTypes as $oTopicType}
{$aItems[] = [ 'name' => $oTopicType->getCode(), 'url' => $oTopicType->getUrlForAdd(), 'text' => $oTopicType->getName() ]}
{/foreach}
{$aItems[] = [ 'name' => 'drafts', 'url' => "{router page='content'}drafts/", 'text' => $aLang.topic_menu_drafts, 'count' => $iUserCurrentCountTopicDraft ]}
{include 'components/nav/nav.tpl'
sName = 'create'
sActiveItem = $sMenuSubItemSelect
sMods = 'pills'
aItems = $aItems}