mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
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:
@@ -71,6 +71,34 @@ class core_menu_Core {
|
||||
}
|
||||
}
|
||||
|
||||
public static function album($menu, $theme) {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
->id("hybrid")
|
||||
->label(_("View album hybrid mode"))
|
||||
->url("#")
|
||||
->css_id("gHybridLink"));
|
||||
}
|
||||
|
||||
public static function photo($menu, $theme) {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
->id("fullsize")
|
||||
->label(_("View full size image"))
|
||||
->url("#")
|
||||
->css_id("gFullsizeLink"))
|
||||
->append(Menu::factory("link")
|
||||
->id("comments")
|
||||
->label(_("View comments on this item"))
|
||||
->url("#comments")
|
||||
->css_id("gCommentsLink"))
|
||||
->append(Menu::factory("link")
|
||||
->id("album")
|
||||
->label(_("View album hybrid mode"))
|
||||
->url("#")
|
||||
->css_id("gAlbumLink"));
|
||||
}
|
||||
|
||||
public static function admin($menu, $theme) {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
|
||||
Reference in New Issue
Block a user