diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-10-05 19:36:38 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-10-05 19:36:38 +0000 |
commit | 8fb19cb1a45b978844c45050bad10c1ab732b000 (patch) | |
tree | a06447ffa6b716bb8ec064e6ab682c674f8faf76 /admin/themes/default/template/maintenance.tpl | |
parent | 85015562012d7e1d54ff702d6d21b7f6dae3049c (diff) |
added "are you sure?" confirmation before deleting all derivatives in maintenance or before deleting more than 500 derivatives in the batch manager
git-svn-id: http://piwigo.org/svn/trunk@18484 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/maintenance.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/maintenance.tpl b/admin/themes/default/template/maintenance.tpl index fc568fa42..c17b2dccf 100644 --- a/admin/themes/default/template/maintenance.tpl +++ b/admin/themes/default/template/maintenance.tpl @@ -35,6 +35,6 @@ <li><a href="{$U_MAINT_SEARCH}"onclick="return confirm('{'Purge search history'|@translate|@escape:'javascript'}');">{'Purge search history'|@translate}</a></li> <li><a href="{$U_MAINT_COMPILED_TEMPLATES}">{'Purge compiled templates'|@translate}</a></li> <li>{'Delete multiple size images'|@translate}: - {foreach from=$purge_derivatives key=name item=url name=loop}{if !$smarty.foreach.loop.first}, {/if}<a href="{$url}">{$name}</a>{/foreach} + {foreach from=$purge_derivatives key=name item=url name=loop}{if !$smarty.foreach.loop.first}, {/if}<a href="{$url}"{if $smarty.foreach.loop.first} onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"{/if}>{$name}</a>{/foreach} </li> </ul> |