requireLevel(1); // Get all the ancestors $bc = $cms->getBreadcrumbByPage($page); $ancestors = array(); foreach ($bc as $item) { $ancestors[] = $item["id"]; } function _local_drawNavLevel($parent,$depth,$ancestors,$children = false) { global $permissions,$page,$admin; if (!$children) { $children = $admin->getPageChildren($parent); } if (count($children)) { ?>
drawCSRFToken() ?>