mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
Add a movie_menu() theme callback, and have the default theme call it
in the sidebar on movie page types.
This commit is contained in:
@@ -111,6 +111,12 @@ class Theme_View_Core extends Gallery_View {
|
||||
return $menu->compact();
|
||||
}
|
||||
|
||||
public function movie_menu() {
|
||||
$menu = Menu::factory("root");
|
||||
module::event("movie_menu", $menu, $this);
|
||||
return $menu->compact();
|
||||
}
|
||||
|
||||
public function context_menu($item, $thumbnail_css_selector) {
|
||||
$menu = Menu::factory("root")
|
||||
->append(Menu::factory("submenu")
|
||||
|
||||
Reference in New Issue
Block a user