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.

This commit is contained in:
Chad Kieffer
2009-01-04 03:43:12 +00:00
parent 2c27469412
commit f7f2fa10cd
5 changed files with 68 additions and 10 deletions

View File

@@ -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(