summaryrefslogtreecommitdiff
path: root/modules/tag/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-09-04 13:40:39 -0700
committerBharat Mediratta <bharat@menalto.com>2010-09-04 13:40:39 -0700
commitdb75ac642a6ff62e814929af99e7c9af4d492706 (patch)
tree1a4c9c9d5a6d5d221402f92d8ae188a5a21687d4 /modules/tag/helpers
parent32d18920680ee63dc75c3a2b710ef805b31c127c (diff)
Use the title of the root album as the site title for all RSS feeds.
Fixes ticket #1307.
Diffstat (limited to 'modules/tag/helpers')
-rw-r--r--modules/tag/helpers/tag_rss.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/tag/helpers/tag_rss.php b/modules/tag/helpers/tag_rss.php
index ea3865be..f60bd908 100644
--- a/modules/tag/helpers/tag_rss.php
+++ b/modules/tag/helpers/tag_rss.php
@@ -38,7 +38,8 @@ class tag_rss_Core {
$feed = new stdClass();
$feed->items = $tag->items($limit, $offset, "photo");
$feed->max_pages = ceil($tag->count / $limit);
- $feed->title = $tag->name;
+ $feed->title = t("%site_title - %tag_name",
+ array("site_title" => item::root()->title, "tag_name" => $tag->name));
$feed->description = t("Photos related to %tag_name", array("tag_name" => $tag->name));
return $feed;