Location: PHPKode > projects > Dev's CMS > devscms/admin/modules/documents/start.php
<?php

$items = array();
foreach ($documents->generateMenu($documents->getAll('*', '', false)) as $item) {
	$items[] = array('href' => "?p=d&amp;a=e&amp;id=$item[id]", 'title' => $item['title'], 'level' => $item['level']);
}

$previews[] = array(
	'title' => 'Dokument',
	'empty' => 'Inga dokument',
	'items' => $items
);
Return current item: Dev's CMS