summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-04 03:43:12 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-04 03:43:12 +0000
commitf7f2fa10cd7f12364e06d8e0276528c8dda26a0f (patch)
treea19b618eefb5d73ba5f305a7c1c97874ac0d687e /core/helpers
parent2c274694127f5127fef311c13d265a9099dd629d (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/helpers')
-rw-r--r--core/helpers/core_menu.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/core/helpers/core_menu.php b/core/helpers/core_menu.php
index 3131c1e8..8a17d030 100644
--- a/core/helpers/core_menu.php
+++ b/core/helpers/core_menu.php
@@ -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")