Files
gallery3/themes/default/views/header.html.php
Bharat Mediratta c67234974d Refactor site admin menu into a theme function and build the menus in
the various modules.  In the process, rename xxx_menu::site_navigation() to just
xxx_menu::site().  And add xxx_menu::admin().

The menus are the same as before, but I changed the HTML to be
consistent with the way that we do it in the regular site, and this
broke the superfish styles.  I don't know how to fix this.. help me
Chad!
2008-12-18 07:32:34 +00:00

19 lines
565 B
PHP

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