summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTyler Bello <tylerbello@users.sourceforge.net>2009-12-03 20:39:18 +0000
committerTyler Bello <tylerbello@users.sourceforge.net>2009-12-03 20:39:18 +0000
commite4276f338386712f567f637c8ce2c453f8c8812c (patch)
tree2960a5ef1b4c119d0860fe025f4b6fb581942bcf /templates
parent8ae25b29d2e2de53157411d021bff80d2a605892 (diff)
downloadfisheye-e4276f338386712f567f637c8ce2c453f8c8812c.tar.gz
fisheye-e4276f338386712f567f637c8ce2c453f8c8812c.tar.bz2
fisheye-e4276f338386712f567f637c8ce2c453f8c8812c.zip
Add function to archive a FisheyeGallery and allow a user to download it in its entirety with nested galleries intact
Diffstat (limited to 'templates')
-rw-r--r--templates/view_gallery.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/view_gallery.tpl b/templates/view_gallery.tpl
index 2ddb907..763abf2 100644
--- a/templates/view_gallery.tpl
+++ b/templates/view_gallery.tpl
@@ -1,10 +1,12 @@
{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 $gBitUser->hasPermission( 'p_fisheye_download_gallery_archive' ) }
+ <a title="{tr}Download Gallery{/tr}" href="{$smarty.server.REQUEST_URI}?download=1">{biticon iname="document-download" iexplain="Download Gallery"}</a>
+ {/if}
{if $gContent->hasUpdatePermission()}
<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>