{* * $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. *}
{foreach name=parent from=$theme.parents item=parent} {$parent.title|markup:strip|default:$parent.pathComponent} {if isset($separator)} {$separator} {/if} {/foreach} {if ($theme.pageType == 'admin' || $theme.pageType == 'module')} {$theme.item.title|markup:strip|default:$theme.item.pathComponent} {else} {$theme.item.title|markup:strip|default:$theme.item.pathComponent} {/if}