aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/picture.tpl
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-06-16 17:15:24 +0000
committermistic100 <mistic@piwigo.org>2013-06-16 17:15:24 +0000
commit2b8ea75b1d7adfbabe0f0a7303f7d0b272da3cd3 (patch)
tree87e1b88ec3bc9ecda2ed74a4beee0190c4510a7a /themes/default/template/picture.tpl
parent0a98109a9eb6baa735fe9df2c48dc25e3390e969 (diff)
feature:2785 Improve template method to sort actions buttons
+ add default rank = 50 git-svn-id: http://piwigo.org/svn/trunk@23263 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/picture.tpl')
-rw-r--r--themes/default/template/picture.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index eacb81beb..d86434c88 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -76,6 +76,7 @@ jQuery("#derivativeSwitchBox").on("mouseleave click", function() {
<span class="pwg-icon pwg-icon-save"> </span><span class="pwg-button-text">{'Download'|@translate}</span>
</a>
{/if}{/strip}
+{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}
{if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
{strip}{if isset($favorite)}
<a href="{$favorite.U_FAVORITE}" title="{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}" class="pwg-state-default pwg-button" rel="nofollow">