summaryrefslogtreecommitdiff
path: root/templates/header_inc.tpl
blob: 5741b08e7e3436469a7c44fb37522759cb5b806e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{* $Header$ *}
{strip}
{if $gContent}
	{if $gGallery->mInfo.previous_image_id}
		<link rel="prev" title="{tr}Previous{/tr}" href="{$gContent->getDisplayUrl($gGallery->mInfo.previous_image_id)|escape}" />
	{/if}
	{if $gGallery->mInfo.next_image_id}
		<link rel="next" title="{tr}Next{/tr}" href="{$gContent->getDisplayUrl($gGallery->mInfo.next_image_id)|escape}" />
	{/if}
{/if}
{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'fisheye_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'fisheye' and $gBitUser->hasPermission( 'p_fisheye_view' )}
	{if $gGallery}
		{assign var=fisheye_rss_gal_id value=$gGallery->mGalleryId}
	{elseif $gContent}
		{assign var=fisheye_rss_gal_id value=$gContent->mGalleryId}
	{/if}
	<link rel="alternate" type="application/rss+xml" title="{$gBitSystem->getConfig('fisheye_rss_title',"{tr}Image Galleries{/tr} RSS")}" href="{$smarty.const.FISHEYE_PKG_URL}fisheye_rss.php?version={$gBitSystem->getConfig('rssfeed_default_version',0)}&amp;gallery_id={$fisheye_rss_gal_id}" />
{/if}
{/strip}