aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorGotcha <gotcha@piwigo.org>2010-10-27 10:37:15 +0000
committerGotcha <gotcha@piwigo.org>2010-10-27 10:37:15 +0000
commitfb5e9d0cea66f786ddc520931a7a2013aa340194 (patch)
tree60d37a3c0054d4155cd1dd587605c5566adc0480 /themes
parent089b5de495ca2a267529a24b8c4babc5fa712b33 (diff)
Add an RSS feed in the header. Same as notification.php
bug:1957 git-svn-id: http://piwigo.org/svn/branches/2.1@7424 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes')
-rw-r--r--themes/default/template/header.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/template/header.tpl b/themes/default/template/header.tpl
index bb42c7289..7f5c026a2 100644
--- a/themes/default/template/header.tpl
+++ b/themes/default/template/header.tpl
@@ -21,6 +21,8 @@
<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
+<link rel="alternate" type="application/rss+xml" title="{'Image only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
+<link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (images, comments)'|@translate}" href="{$U_FEED}">
<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
<link rel="search" title="{'Search'|@translate}" href="{$ROOT_URL}search.php" >