mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 19:39:16 -04:00
$theme->block_type() so that the themer has a consistent interface. Also added a bunch more callbacks and normalized the names so that the module author has plenty of options for where stuff gets put on the page. Especially renamed album/photo/sidebar to be album_blocks() photo_blocks() and sidebar_blocks() to make it clear that those are going to be larger content sections and not just basic insertion points. Used __call() to collapse all functions in the theme, which incidentally makes it trivially easy to add a new insertion point.
29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
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">
|
|
<ul class="ui-tabs-nav">
|
|
<li><a href="<?= url::base() ?>"><?= _("HOME") ?></a></li>
|
|
<li><a class="active" href="<?= url::site("albums/1") ?>"><?= _("BROWSE") ?></a></li>
|
|
<li><a href="#"><?= _("UPLOAD") ?></a></li>
|
|
<li><a href="#"><?= _("MY GALLERY") ?></a></li>
|
|
<li><a href="#"><?= _("ADMIN") ?></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<form id="gSearchForm" class="gInline">
|
|
<ul class="gNoLabels">
|
|
<li><label for="search">Search</label><input type="text" name="search" value="<?= _("Search Gallery ...") ?>"/></li>
|
|
<li><input type="submit" value="<?= _("search") ?>" /></li>
|
|
</ul>
|
|
</form>
|
|
|
|
<ul id="gBreadcrumbs" class="gClearFix">
|
|
<? foreach ($parents as $parent): ?>
|
|
<li><a href="<?= url::site("albums/{$parent->id}") ?>"><?= $parent->title_edit ?></a></li>
|
|
<? endforeach ?>
|
|
<li class="active"><?= $item->title_edit ?></li>
|
|
</ul>
|
|
<?= $theme->header_bottom() ?>
|