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:
Bharat Mediratta
2009-06-15 17:31:24 +08:00
committed by
parent 0051c2c89b
commit 2a5ffaae7e
7 changed files with 43 additions and 16 deletions
@@ -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"));
}
}