summaryrefslogtreecommitdiff
path: root/templates/gallery_nav.tpl
blob: 6afa8fba1e893e1911d9fdb0b13ed244a76d4f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{strip}
	<div class="gallerybar">
		<div class="path">
			{assign var=breadCrumbs value=$gContent->getBreadcrumbLinks()}
			{if $gGallery}
				{displayname user=$gGallery->mInfo.creator_user user_id=$gGallery->mInfo.creator_user_id real_name=$gGallery->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gGallery->mInfo.user_id}">{tr}Galleries{/tr}</a> &raquo;{if $breadCrumbs}{$breadCrumbs}{else}{$gGallery->getTitle()}{/if}
			{else}
				{displayname user=$gContent->mInfo.creator_user user_id=$gContent->mInfo.creator_user_id real_name=$gContent->mInfo.creator_real_name} :: <a href="{$smarty.const.FISHEYE_PKG_URL}?user_id={$gContent->mInfo.user_id}">{tr}Galleries{/tr}</a> &raquo; {if $breadCrumbs}{$breadCrumbs}{else}{$gContent->getTitle()}{/if}
			{/if}
		</div>

		{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='nav' serviceHash=$gContent->mInfo}

		{if $gGallery}
			<div class="navigation">
				<span class="left">
					{if $gGallery->mInfo.previous_image_id}
						<a href="{$gContent->getDisplayUrl($gGallery->mInfo.previous_image_id)|escape}">
							{if $gBitSystem->isFeatureActive( 'gallerybar_use_icons' )}
								{biticon ipackage="icons" iname="go-previous" iexplain=previous iforce="icon"}
							{else}
								&laquo;&nbsp;{tr}previous{/tr}
							{/if}
							{if $gBitSystem->isFeatureActive( 'gallery_bar_use_thumbnails' )}
								<br />
								<img src="{$gGallery->mInfo.previous_image_avatar}" />
							{/if}
						</a>
					{else}&nbsp;{/if}
				</span>

				<span class="right">
					{if $gGallery->mInfo.next_image_id}
						<a href="{$gContent->getDisplayUrl($gGallery->mInfo.next_image_id)|escape}">
							{if $gBitSystem->isFeatureActive( 'gallerybar_use_icons' )}
								{biticon ipackage="icons" iname="go-next" iexplain=next iforce="icon"}
							{else}
								{tr}next{/tr}&nbsp;&raquo;
							{/if}
							{if $gBitSystem->isFeatureActive( 'gallery_bar_use_thumbnails' )}
								<br />
								<img src="{$gGallery->mInfo.next_image_avatar}" />
							{/if}
						</a>
					{else}&nbsp;{/if}
				</span>
			</div><!-- end .navigation -->
		{/if}

		<div class="clear"></div>
	</div><!-- end .gallerybar -->
{/strip}