Logo
Explore Help
Sign In
stian/gallery3
1
0
Fork 0
You've already forked gallery3
mirror of https://github.com/Pathduck/gallery3.git synced 2026-05-20 19:39:16 -04:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
85239ec75034fb9ad0f3c2d26d77d760a4e6dfd7
gallery3/themes/default/views/sidebar.html.php

5 lines
154 B
PHP
Raw Normal View History

Break header/sidebar/footer out into separate templates.
2008-11-06 07:24:58 +00:00
<? defined("SYSPATH") or die("No direct script access."); ?>
Move all block callbacks from View::block_type() to $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.
2008-11-22 21:46:34 +00:00
<?= $theme->sidebar_top() ?>
<?= $theme->sidebar_blocks() ?>
<?= $theme->sidebar_bottom() ?>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 139ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API