summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-15 13:27:26 +0800
committer <unostar@danalan.info>2009-06-15 17:31:24 +0800
commit2a5ffaae7e656636bf8c9411358bf4f33c31dde8 (patch)
treed175e8f30bdfa9cec87f42aa8d7de15d84f71097 /modules/slideshow/helpers/slideshow_theme.php
parent0051c2c89b71128ff0aefaaa4a77df91dd078016 (diff)
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>
Diffstat (limited to 'modules/slideshow/helpers/slideshow_theme.php')
-rw-r--r--modules/slideshow/helpers/slideshow_theme.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/modules/slideshow/helpers/slideshow_theme.php b/modules/slideshow/helpers/slideshow_theme.php
index 69acb113..125d175c 100644
--- a/modules/slideshow/helpers/slideshow_theme.php
+++ b/modules/slideshow/helpers/slideshow_theme.php
@@ -20,17 +20,7 @@
class slideshow_theme_Core {
static function head($theme) {
$proto = (empty($_SERVER["HTTPS"]) || $_SERVER["HTTPS"] === "off") ? "http" : "https";
-
- if (module::is_active("rss")) {
- if ($item = $theme->item()) {
- $buf = rss::feed_link("gallery/album/{$item->id}");
- } else if ($tag = $theme->tag()) {
- $buf = rss::feed_link("tag/{$tag->id}");
- }
- }
-
- $buf .= "<script src=\"$proto://lite.piclens.com/current/piclens_optimized.js\"" .
+ return "<script src=\"$proto://lite.piclens.com/current/piclens_optimized.js\"" .
"type=\"text/javascript\"></script>";
- return $buf;
}
}