blob: b5c8028d27e88474e899a9a2fa0df706515ebf98 (
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
|
{strip}
{include file="bitpackage:fisheye/gallery_nav.tpl"}
<div class="display fisheye">
<div class="header">
<div class="floaticon">
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='icon' serviceHash=$gContent->mInfo}
{if $gContent->hasUpdatePermission()}
{if $gBitUser->hasPermission( 'p_fisheye_download_gallery_archive' ) }
<a title="{tr}Download Gallery{/tr}" href="{$smarty.server.REQUEST_URI}?download=1">{biticon ipackage="icons" iname="system-file-manager" iexplain="Download Gallery"}</a>
{/if}
<a title="{tr}Edit{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage="icons" iname="document-properties" iexplain="Edit"}</a>
<a title="{tr}Image Order{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}image_order.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage=fisheye iname="order" iexplain="Image Order"}</a>
{/if}
{if $gContent->hasUpdatePermission() || $gContent->getPreference('is_public')}
<a title="{tr}Add Image{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}upload.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage="icons" iname="go-up" iexplain="Add Image"}</a>
{/if}
{if $gContent->getPreference('is_public')}
{biticon ipackage="icons" iname="weather-clear" iexplain="Public"}
{/if}
{if $gContent->hasAdminPermission()}
<a title="{tr}User Permissions{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit.php?gallery_id={$gContent->mGalleryId}&delete=1">{biticon ipackage="icons" iname="edit-delete" iexplain="Delete Gallery"}</a>
{* appears broken at the moment <a title="{tr}User Permissions{/tr}" href="{$smarty.const.FISHEYE_PKG_URL}edit_gallery_perms.php?gallery_id={$gContent->mGalleryId}">{biticon ipackage="icons" iname="emblem-shared" iexplain="User Permissions"}</a> *}
{/if}
</div>
<h1>{$gContent->getTitle()|escape}</h1>
</div>
<div class="body">
{formfeedback success=$fisheyeSuccess error=$fisheyeErrors warning=$fisheyeWarnings}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='body' serviceHash=$gContent->mInfo}
{if $gContent->mInfo.data}
<p>{$gContent->mInfo.data|escape}</p>
{/if}
{assign var=galLayout value=$gContent->getLayout()}
{include file="`$smarty.const.FISHEYE_PKG_PATH`gallery_views/`$galLayout`/fisheye_`$galLayout`_inc.tpl" }
</div> <!-- end .body -->
{libertypagination numPages=$gContent->mInfo.num_pages gallery_id=$gContent->mGalleryId gallery_path=$gContent->mGalleryPath page=$pageCount}
{include file="bitpackage:liberty/services_inc.tpl" serviceLocation='view' serviceHash=$gContent->mInfo}
{if $gContent->getPreference('allow_comments') eq 'y'}
{include file="bitpackage:liberty/comments.tpl"}
{/if}
</div> <!-- end .fisheye -->
{/strip}
|