Location: PHPKode > projects > Dev's CMS > devscms/admin/templates/documents/menu.tpl
<? if ($allowCreate): ?>
	<p><a href="?p=d&amp;a=n">Skapa nytt</a></p>
<? endif; ?>
<p>Dokument:</p>

<? if (empty($menu)): ?>
	<i>Inga dokument</i>

<? else: ?>
	<ul>
	<? foreach ($menu as $item): ?>
		
		<li><?= str_repeat('-', $item['level']) ?> <a href="?p=d&amp;a=e&amp;id=<?= $item['id'] ?>"><?= $item['title'] ?></a></li>
				
	<? endforeach; ?>
	</ul>
<? endif; ?>
Return current item: Dev's CMS