From 60782450a6bf8ad9344bce0269510b55816e4a57 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Mon, 10 Oct 2005 09:04:21 +0000 Subject: [PATCH] Add breadcrumb display support --- templates/ktcore/standard_page.smarty | 12 ++++++++++++ 1 file changed, 12 insertions(+), 0 deletions(-) diff --git a/templates/ktcore/standard_page.smarty b/templates/ktcore/standard_page.smarty index ba529f0..0c9adfe 100644 --- a/templates/ktcore/standard_page.smarty +++ b/templates/ktcore/standard_page.smarty @@ -65,6 +65,18 @@ { assign var="cbgcolour" value="bgcolor=\"$cbgcolour\"" } { /if } + { if $breadcrumbs} + { foreach name=bc from=$breadcrumbs item=breadcrumb } + { if $smarty.foreach.bc.first } + {$breadcrumb.name} + { else } + {$breadcrumb.name} + { /if } + { if !$smarty.foreach.bc.last } + » + { /if } + { /foreach } + { /if } { foreach item=errorMessage from=$errormessages }

{$errorMessage}

{ /foreach } -- libgit2 0.21.4