baseline
[omp.pkp.sfu.ca.git] / lib / pkp / templates / common / breadcrumbs.tpl
blobf4fb91ea701133280903c6a51b567099dcccae9b
1 {**
2  * breadcrumbs.tpl
3  *
4  * Copyright (c) 2000-2009 John Willinsky
5  * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
6  *
7  * Breadcrumbs
8  *
9  *}
10 <div id="breadcrumb">
11         <a href="{url context=$homeContext page="index"}">{translate key="navigation.home"}</a> &gt;
12         {foreach from=$pageHierarchy item=hierarchyLink}
13                 <a href="{$hierarchyLink[0]|escape}" class="hierarchyLink">{if not $hierarchyLink[2]}{translate key=$hierarchyLink[1]}{else}{$hierarchyLink[1]|escape}{/if}</a> &gt;
14         {/foreach}
15         {if !PKPRequest::isPost()}<a href="{$currentUrl|escape}" class="current">{else}<span class="current">{/if}{$pageCrumbTitleTranslated}{if !PKPRequest::isPost()}</a>{else}</span>{/if}
16 </div>