1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-07 17:04:24 +03:00
ifhub.club/application/frontend/skin/developer/navs/nav.create.tpl
2014-07-28 23:55:18 +07:00

18 lines
595 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.drafts, 'count' => $iUserCurrentCountTopicDraft ]}
{include 'components/nav/nav.tpl'
sName = 'create'
sActiveItem = $sMenuSubItemSelect
sMods = 'pills'
aItems = $aItems}