summaryrefslogtreecommitdiff
path: root/modules/tag
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/tag
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/tag')
-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) {