mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-05 14:40:44 -04:00
Create a sidebar for tag pages
Move the <link> for the container feed (either gallery/album/<id> or tag/tag/<id>) back into gallery_theme Signed-off-by: <unostar@danalan.info>
This commit is contained in:
@@ -37,4 +37,15 @@ class slideshow_menu_Core {
|
||||
"{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})")
|
||||
->css_id("gSlideshowLink"));
|
||||
}
|
||||
|
||||
static function tag($menu, $theme) {
|
||||
$menu
|
||||
->append(Menu::factory("link")
|
||||
->id("slideshow")
|
||||
->label(t("View slideshow"))
|
||||
->url("javascript:PicLensLite.start(" .
|
||||
"{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})")
|
||||
->css_id("gSlideshowLink"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user