0byt3m1n1
Path:
/
data
/
applications
/
aps
/
gallery
/
2.3-2
/
standard
/
htdocs
/
modules
/
core
/
templates
/
blocks
/
[
Home
]
File: BreadCrumb.tpl
{* * $Revision: 17159 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *} {* * Go through each breadcrumb and display it as a link. * * G2 uses the highlight id to figure out which page to draw when you follow the * breadcrumbs back up the album tree. Don't make the last item a link. *} <div class="{$class}"> {foreach name=parent from=$theme.parents item=parent} <a href="{g->url params=$parent.urlParams}" class="BreadCrumb-{counter name="BreadCrumb"}"> {$parent.title|markup:strip|default:$parent.pathComponent}</a> {if isset($separator)} {$separator} {/if} {/foreach} {if ($theme.pageType == 'admin' || $theme.pageType == 'module')} <a href="{g->url arg1="view=core.ShowItem" arg2="itemId=`$theme.item.id`"}" class="BreadCrumb-{counter name="BreadCrumb"}"> {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</a> {else} <span class="BreadCrumb-{counter name="BreadCrumb"}"> {$theme.item.title|markup:strip|default:$theme.item.pathComponent}</span> {/if} </div>