{php} $this->assign('hasOther', $GLOBALS['hasOther']); {/php} {if $page.isOther == 'y' && $hasOther == false}
Additional Pages (Add new page)
{php} $GLOBALS['hasOther'] = true; {/php} {/if} {strip}
{strip} {if $page.source == 'virtual'} {$page.menuTitle|htmlspecialchars} {else} {if $page.hasDraft == 'y'}*{/if}{$page.menuTitle|htmlspecialchars} {/if} {if $page.rightSub}  ( {foreach from = $page.rightSub item = rightSub name = 'rightSub'} {$rightSub.menuTitle|htmlspecialchars}{if !$smarty.foreach.rightSub.last} | {/if} {/foreach} ) {else}      {if $page.final == 'n'} {* && $level < 2 *} add subpage{if count($page.sub) > 1 || $page.allowDelete == 'y'} | {/if} {/if} {assign var='showSub' value=false} {foreach from = $page.sub item = sub} {if $sub.source != 'virtual'} {assign var='showSub' value=true} {/if} {/foreach} {if count($page.sub) > 1 && $showSub} reorder subpages{if $page.allowDelete == 'y'} | {/if} {/if} {if $page.allowDelete == 'y'} delete {/if} {/if}
{/strip} {math assign = 'level' equation = 'x + 1' x = $level} {include file = "Cms/sitemap-list.tpl"|SMGetTemplate siteMap = $page.sub level = $level}
{/strip}