diff options
author | plegall <plg@piwigo.org> | 2008-10-06 23:08:11 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2008-10-06 23:08:11 +0000 |
commit | 9cfd70474f67037977f98f0e0e2cb3505f6446f3 (patch) | |
tree | eccc480efefda5a0a4dabe8678137c3956934805 /admin/template | |
parent | b0c514745ff0f602a9a04c9a47ae8eb56fc072c0 (diff) |
feature 884 added: ability to delete photos uploaded via web API method
pwg.images.add, ie without storage_category_id. pLoader uses this method and
photos cannot be removed in any other way.
git-svn-id: http://piwigo.org/svn/trunk@2678 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template')
-rw-r--r-- | admin/template/goto/element_set_global.tpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/admin/template/goto/element_set_global.tpl b/admin/template/goto/element_set_global.tpl index 649948854..7e3e64643 100644 --- a/admin/template/goto/element_set_global.tpl +++ b/admin/template/goto/element_set_global.tpl @@ -65,6 +65,22 @@ </fieldset> + {if $show_delete_form} + <fieldset> + <legend>{'Deletions'|@translate}</legend> + <p style="font-style:italic">{'Note: Only deletes photos added with pLoader'|@translate}</p> + <p> + {'target'|@translate} + <label><input type="radio" name="target_deletion" value="all" /> {'all'|@translate}</label> + <label><input type="radio" name="target_deletion" value="selection" checked="checked" /> {'selection'|@translate}</label> + </p> + <p> + <label><input type="checkbox" name="confirm_deletion" value="1" /> {'confirm'|@translate}</label> + <input class="submit" type="submit" value="{'Delete selected photos'|@translate}" name="delete" {$TAG_INPUT_ENABLED}/> + </p> + </fieldset> + {/if} + <fieldset> <legend>{'Form'|@translate}</legend> |