0) {
echo "
";
foreach ($breadcrumbs as $breadcrumb) {
if (!empty($breadcrumb['link'])) {
$crumb = elgg_view('output/url', array(
'href' => $breadcrumb['link'],
'text' => $breadcrumb['title'],
'is_trusted' => true,
));
} else {
$crumb = $breadcrumb['title'];
}
echo "- $crumb
";
}
echo '
';
}