aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2010-03-19 20:47:54 +0000
committernikrou <nikrou@piwigo.org>2010-03-19 20:47:54 +0000
commit7c6d4d7a0e4fbefa5895190a082397c350beddc3 (patch)
treecf3eb342f61d8963d294c16df24812fbd9a8a03f /admin/themes
parent4c461f36b167641fd7e0182d8c2a88f578c14e58 (diff)
remove picture delete displayed twice
redirect after delete to avoid errors git-svn-id: http://piwigo.org/svn/trunk@5193 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes')
-rw-r--r--admin/themes/default/template/cat_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl
index 30b517a7b..431845d2a 100644
--- a/admin/themes/default/template/cat_list.tpl
+++ b/admin/themes/default/template/cat_list.tpl
@@ -61,7 +61,7 @@
<li><a href="{$category.U_MANAGE_PERMISSIONS}" title="{'Permissions'|@translate}" ><img src="{$themeconf.admin_icon_dir}/category_Permissions.png" class="button" alt="{'Permissions'|@translate}"></a></li>
{/if}
{if isset($category.U_DELETE) }
- <li><a href="{$category.U_DELETE}" title="{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li>
+ <li><a href="{$category.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"><img src="{$themeconf.admin_icon_dir}/category_delete.png" class="button" alt="{'delete'|@translate}"></a></li>
{/if}
</ul>