%{foreach from=$items2 item="item2"}%
  %{assign var="title" value=$item2|select_lang:'lang_title':'current'}% %{'_EDIT'|lang}% %{$title}% %{if $item2.id_sm_articles}% » %{$item2.id_sm_articles|slownik:'ArticlesList':'value'}%%{else}% %{if $item2.url}%» %{$item2.url}%%{/if}% %{/if}% %{if $item2.products_count and $_|get_val:'Page':'SHOP'}% » %{'_PRODUCTS'|lang}% (%{$item2.products_count}%) %{/if}%
%{if ($item2.depth+1) lt $MENU.depth or not $MENU.depth}%%{$_|lang:'_ADD_BUTTON'}% %{else}% %{/if}% %{$_|lang:'_PREVIEW'}% %{$_|lang:'_EDIT'}% %{$_|lang:'_DELETE'}%
 
%{if $item2.child}%%{'PluginPanelTree'|plugin:$item2.child}%%{/if}%
%{/foreach}%