diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-01-04 03:43:12 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-01-04 03:43:12 +0000 |
commit | f7f2fa10cd7f12364e06d8e0276528c8dda26a0f (patch) | |
tree | a19b618eefb5d73ba5f305a7c1c97874ac0d687e /core/libraries/Theme_View.php | |
parent | 2c274694127f5127fef311c13d265a9099dd629d (diff) |
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.
Diffstat (limited to 'core/libraries/Theme_View.php')
-rw-r--r-- | core/libraries/Theme_View.php | 14 |
1 files changed, 14 insertions, 0 deletions
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( |