diff options
author | plegall <plg@piwigo.org> | 2011-01-19 14:51:03 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-01-19 14:51:03 +0000 |
commit | 0a44acdd8a4bc050b943e0d915f46b2db7e86250 (patch) | |
tree | 9f6b19ee756f5b24d53d9f94ecab93bc37b319e0 /admin/themes | |
parent | 714219f490c7f176d7ecfae80e3afc2d5e329e97 (diff) |
feature 1062 added: ability to delete a single photo from its administration
screen
git-svn-id: http://piwigo.org/svn/trunk@8764 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/picture_modify.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl index d047b3233..5b47a554f 100644 --- a/admin/themes/default/template/picture_modify.tpl +++ b/admin/themes/default/template/picture_modify.tpl @@ -32,6 +32,8 @@ pwg_initialization_datepicker("#date_creation_day", "#date_creation_month", "#da {/if} {if !url_is_remote($PATH)} <li><a href="{$U_SYNC}" title="{'synchronize'|@translate}"><img src="{$themeconf.admin_icon_dir}/sync_metadata.png" class="button" alt="{'synchronize'|@translate}"></a></li> + + <li><a href="{$U_DELETE}" title="{'delete photo'|@translate}"><img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete photo'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"></a></li> {/if} </ul> |