{assign var = 'siteMap' value = $item->siteMap} {php} $GLOBALS['hasOther'] = false; {/php} {assign var = 'level' value = 1}
{php} $GLOBALS['total_index'] = 0; $GLOBALS['total_count'] = $this->_tpl_vars['item']->siteMapPagesCount; $GLOBALS['break'] = 0; {/php} {foreach from = $siteMap item = 'page'} {php} $GLOBALS['total_index'] = $GLOBALS['total_index'] + 1; {/php} {include file="Cms/sitemap-item.tpl"|SMGetTemplate lavel = $level} {php} if($GLOBALS['total_index'] > $GLOBALS['total_count']/2 && $GLOBALS['break'] == 0) { echo ''; $GLOBALS['break'] = 1; } {/php} {/foreach} {php} $this->assign('hasOther', $GLOBALS['hasOther']); {/php} {if $hasOther == false}
Additional Pages (Add new page)
There are currently no additional pages.
{/if}

* - Pages that have drafts