summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
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/tag/helpers
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/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_theme.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/tag/helpers/tag_theme.php b/modules/tag/helpers/tag_theme.php
index 45f55986..a32d71b6 100644
--- a/modules/tag/helpers/tag_theme.php
+++ b/modules/tag/helpers/tag_theme.php
@@ -20,11 +20,7 @@
class tag_theme_Core {
static function head($theme) {
$url = url::file("modules/tag/js/tag.js");
- $head[] = "<script src=\"$url\" type=\"text/javascript\"></script>";
- if ($theme->tag() && module::is_active("rss")) {
- $head[] = rss::feed_link("tags/{$theme->tag()->id}");
- }
- return implode("\n", $head);
+ return "<script src=\"$url\" type=\"text/javascript\"></script>";
}
static function sidebar_blocks($theme) {