Files
gallery3/themes/default/views/header.html.php
Tim Almdal 2b047aaca9 Change #Breadcrumbs to a css class. This allows the formatting to be
used multiple times on the same page. (For example in a dialog box
such as in jhilden's upload mockup)
2009-02-20 14:11:33 +00:00

21 lines
615 B
PHP

<?php defined("SYSPATH") or die("No direct script access.") ?>
<?= $theme->header_top() ?>
<a href="<?= url::site("albums/1") ?>">
<img id="gLogo" alt="<?= t("Logo") ?>" src="<?= $theme->url("images/logo.png") ?>" />
</a>
<div id="gSiteMenu" style="display: none">
<?= $theme->site_menu() ?>
</div>
<?= $theme->header_bottom() ?>
<? if (!empty($parents)): ?>
<ul class="gBreadcrumbs">
<? foreach ($parents as $parent): ?>
<li><a href="<?= url::site("albums/{$parent->id}?show=$item->id") ?>"><?= $parent->title ?></a></li>
<? endforeach ?>
<li class="active"><?= $item->title ?></li>
</ul>
<? endif ?>