aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-03-29 15:10:48 +0000
committerpatdenice <patdenice@piwigo.org>2011-03-29 15:10:48 +0000
commit526074d7d6802f4c2f8bb36375292480a7c9f473 (patch)
tree295dac27cb3164e66c0e1b9917003a13bd3e6350 /admin/themes
parent008087baee0a86ef9906fc3eedc071e514635b57 (diff)
feature:2237
new trigger to add action on batch manager git-svn-id: http://piwigo.org/svn/trunk@9916 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/batch_manager_global.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl
index 66b51ee38..a0b18d357 100644
--- a/admin/themes/default/template/batch_manager_global.tpl
+++ b/admin/themes/default/template/batch_manager_global.tpl
@@ -468,6 +468,11 @@ $(document).ready(function() {
{else}
<option value="add_to_caddie">{'add to caddie'|@translate}</option>
{/if}
+ {if !empty($element_set_global_plugins_actions)}
+ {foreach from=$element_set_global_plugins_actions item=action}
+ <option value="{$action.ID}">{$action.NAME}</option>
+ {/foreach}
+ {/if}
</select>
<!-- delete -->
@@ -549,6 +554,15 @@ $(document).ready(function() {
<div id="action_metadata" class="bulkAction">
</div>
+ <!-- plugins -->
+{if !empty($element_set_global_plugins_actions)}
+ {foreach from=$element_set_global_plugins_actions item=action}
+ <div id="action_{$action.ID}" class="bulkAction">
+ {if !empty($action.CONTENT)}{$action.CONTENT}{/if}
+ </div>
+ {/foreach}
+{/if}
+
<p id="applyActionBlock" style="display:none" class="actionButtons">
<input id="applyAction" class="submit" type="submit" value="{'Apply action'|@translate}" name="submit"> <span id="applyOnDetails"></span></p>