From f7f2fa10cd7f12364e06d8e0276528c8dda26a0f Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 4 Jan 2009 03:43:12 +0000 Subject: Started to wire up album and photo view menus. Need photo's parent album link added. Also need add the slideshow link to the menu. --- core/libraries/Theme_View.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'core/libraries/Theme_View.php') diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php index 794cb2fb..37629f3d 100644 --- a/core/libraries/Theme_View.php +++ b/core/libraries/Theme_View.php @@ -75,6 +75,20 @@ class Theme_View_Core extends View { print $menu; } + public function album_menu() { + $menu = new Menu(true); + core_menu::album($menu, $this); + + print $menu; + } + + public function photo_menu() { + $menu = new Menu(true); + core_menu::photo($menu, $this); + + print $menu; + } + public function pager() { $this->pagination = new Pagination(); $this->pagination->initialize( -- cgit v1.2.3