summaryrefslogtreecommitdiff
path: root/modules/slideshow/helpers/slideshow_theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-14 22:27:26 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-14 22:27:26 -0700
commit1b656be7135efe51ba0eb34d6ac76c2632ec193a (patch)
tree5c66209a366d5df80eca693cbc7c43a18338324e /modules/slideshow/helpers/slideshow_theme.php
parent32ea4406c87049b25d3d82351097e69f13168311 (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
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;
}
}