summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_theme.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-14 15:58:02 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-14 15:58:02 -0700
commit47bc53eb5c328254d431caebf8acfd2636969bb4 (patch)
tree26ecfe8531fd043941cda81673af961a27e8cc85 /modules/gallery/helpers/gallery_theme.php
parentdc3ed06cd76ebc7b949865be789fb26590d63ed0 (diff)
parentf18fb934427ce09896b51d49520b04fba0f1dd44 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/helpers/gallery_theme.php')
-rw-r--r--modules/gallery/helpers/gallery_theme.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index f955e8f7..290434ed 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -42,6 +42,10 @@ class gallery_theme_Core {
$buf .= html::script("modules/gallery/js/fullsize.js");
}
+ if ($theme->item()) {
+ $buf .= rss::feed_link("albums/{$theme->item()->id}");
+ }
+
if ($session->get("l10n_mode", false)) {
$buf .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"" .
url::file("modules/gallery/css/l10n_client.css") . "\" />";