url),0,1) == "_") {
continue; // Don't list pages with an _ at the start of their title
}
$icon = $value->icon;
if ($icon == NULL) {
if (count($value->subpages) > 0) {
$icon = 'folder';
} else {
$icon = 'document';
}
if ($value->url == '/') {
$icon = 'folder_home';
}
}
if (($icon == 'folder' || $icon == 'folder_blue' || $icon == 'folder_cyan' || $icon == 'folder_green' || $icon == 'folder_grey' || $icon == 'folder_orange' || $icon == 'folder_red' || $icon == 'folder_violet' || $icon == 'folder_yellow') && (($value->url == $page->url) || (substr($page->url,0,strlen($value->url)) == $value->url) || $full)) {
$icon = $icon . '_open';
}
?>
- url == $page->url) {
echo "in";
}
?>">
url == $page->url) ? ' class="active"' : '' ?>>=$value->title?>
subpages) > 0 && (($value->url == $page->url) || (substr($page->url,0,strlen($value->url)) == $value->url) || $full)) {
Navbar::construct_ul($value->subpages, $page, $full);
}
?>