mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-12 07:39:07 -04:00
types, and a subtype for specifics. Currently the top level bucket collection, item, other Here are the core subtypes so far: collection: album, search, tag item: movie, photo other: login, reset, comment-fragment, comment It's legal to create new page_subtypes whenever you want. Use the appropriate page_type to get the coarse grain behavior that you want.
17 lines
534 B
PHP
17 lines
534 B
PHP
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
|
<?= $theme->sidebar_top() ?>
|
|
<div id="g-view-menu" class="g-buttonset ui-helper-clearfix">
|
|
<? if ($page_subtype == "album"):?>
|
|
<?= $theme->album_menu() ?>
|
|
<? elseif ($page_subtype == "photo") : ?>
|
|
<?= $theme->photo_menu() ?>
|
|
<? elseif ($page_subtype == "movie") : ?>
|
|
<?= $theme->movie_menu() ?>
|
|
<? elseif ($page_subtype == "tag") : ?>
|
|
<?= $theme->tag_menu() ?>
|
|
<? endif ?>
|
|
</div>
|
|
|
|
<?= $theme->sidebar_blocks() ?>
|
|
<?= $theme->sidebar_bottom() ?>
|