2013-06-19 16:32:58 +03:00
|
|
|
{**
|
|
|
|
* Навгиация создания топика
|
|
|
|
*}
|
|
|
|
|
2014-10-16 10:31:34 +03:00
|
|
|
{$items = []}
|
2014-01-11 18:27:27 +02:00
|
|
|
|
2014-10-16 10:31:34 +03:00
|
|
|
{* Формируем список пунктов *}
|
|
|
|
{$topicTypes = $LS->Topic_GetTopicTypes()}
|
|
|
|
|
|
|
|
{foreach $topicTypes as $type}
|
|
|
|
{$items[] = [ 'name' => $type->getCode(), 'url' => $type->getUrlForAdd(), 'text' => $type->getName() ]}
|
2014-04-28 13:31:49 +03:00
|
|
|
{/foreach}
|
2013-05-19 19:48:55 +03:00
|
|
|
|
2014-10-16 10:31:34 +03:00
|
|
|
{* Пункт "Черновики" *}
|
|
|
|
{$items[] = [
|
|
|
|
'name' => 'drafts',
|
|
|
|
'url' => "{router page='content'}drafts/",
|
|
|
|
'text' => $aLang.topic.drafts,
|
|
|
|
'count' => $iUserCurrentCountTopicDraft
|
|
|
|
]}
|
2012-04-16 19:37:23 +03:00
|
|
|
|
2014-04-28 13:31:49 +03:00
|
|
|
{include 'components/nav/nav.tpl'
|
2014-10-16 10:31:34 +03:00
|
|
|
name = 'create'
|
|
|
|
activeItem = $sMenuSubItemSelect
|
|
|
|
mods = 'pills'
|
|
|
|
items = $items}
|