summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-27 11:33:45 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-27 11:33:45 +0000
commit34a286ae90ec5b5bdb7702f6bdf560f5f92f4f38 (patch)
treec2e81aaa81b9eb0d112bae87109607888a592837 /core
parent0b86568586b423de9689ba659782c3b67defe29a (diff)
Add navigation_top() and navigation_bottom() insertion points
Move "My Gallery" navigation tab into the user module and only show it if you're logged in
Diffstat (limited to 'core')
-rw-r--r--core/libraries/Theme.php24
1 files changed, 13 insertions, 11 deletions
diff --git a/core/libraries/Theme.php b/core/libraries/Theme.php
index 484673eb..99a44f9f 100644
--- a/core/libraries/Theme.php
+++ b/core/libraries/Theme.php
@@ -57,24 +57,26 @@ class Theme_Core {
*/
public function __call($function, $args) {
switch ($function) {
+ case "album_blocks":
+ case "album_bottom":
+ case "album_top":
case "head":
- case "page_top":
- case "page_bottom":
- case "header_top":
case "header_bottom":
- case "sidebar_top":
+ case "header_top":
+ case "navigation_top":
+ case "navigation_bottom":
+ case "page_bottom":
+ case "page_top":
+ case "photo_blocks":
+ case "photo_top":
case "sidebar_blocks":
case "sidebar_bottom":
- case "album_top":
- case "album_blocks":
- case "album_bottom":
- case "tag_top":
+ case "sidebar_top":
case "tag_bottom":
- case "thumbnail_top":
+ case "tag_top":
case "thumbnail_bottom":
case "thumbnail_info":
- case "photo_top":
- case "photo_blocks":
+ case "thumbnail_top":
case "photo_bottom":
// @todo: restrict access to this option
$debug = Session::instance()->get("debug", false);