summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php
index 078a62e87..787730173 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -351,10 +351,16 @@ function tpl_breadcrumbs(){
if(!$conf['breadcrumbs']) return;
$crumbs = breadcrumbs(); //setup crumb trace
+ //render crumbs, highlight the last one
print $lang['breadcrumb'].':';
+ $last = count($crumbs);
+ $i = 0;
foreach ($crumbs as $id => $name){
+ $i++;
print ' » ';
+ if ($i == $last) print '<strong>';
tpl_link(wl($id),$name,'class="breadcrumbs" title="'.$id.'"');
+ if ($i == $last) print '</strong>';
}
}