Permalink
Browse files

feature 233: confirmation for deletion of remote sites, user groups and

virtual categories

git-svn-id: http://piwigo.org/svn/trunk@1045 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
1 parent d22a07c commit f27bd8558af02ec510137a196b874c87925e14bb @modus75 modus75 committed Feb 16, 2006
@@ -44,6 +44,7 @@
$lang['Add group'] = 'Add group';
$lang['Add selected elements to caddie'] = 'Add selected elements to caddie';
$lang['Add'] = 'Add';
+$lang['Are you sure?'] = 'Are you sure?';
$lang['Associated'] = 'Associated';
$lang['Association to categories'] = 'Association to categories';
$lang['Batch management'] = 'Batch management';
@@ -44,6 +44,7 @@
$lang['Add group'] = 'Ajouter un groupe';
$lang['Add selected elements to caddie'] = 'Ajouter les éléments sélectionnés au panier';
$lang['Add'] = 'Ajouter';
+$lang['Are you sure?'] = 'Etes-vous sur?';
$lang['Associated'] = 'Associée à';
$lang['Association to categories'] = 'Association aux catégories';
$lang['Batch management'] = 'Gestion par lot';
@@ -21,7 +21,7 @@
<li><a href="{category.permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>
<!-- END permissions -->
<!-- BEGIN delete -->
- <li><a href="{category.delete.URL}" title="{lang:delete category}"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>
+ <li><a href="{category.delete.URL}" title="{lang:delete category}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>
<!-- END delete -->
</ul>
@@ -18,7 +18,7 @@
<li><a href="{permissions.URL}" title="{lang:edit category permissions}" ><img src="{themeconf:icon_dir}/category_permissions.png" class="button" alt="{lang:permissions}" /></a></li>
<!-- END permissions -->
<!-- BEGIN delete -->
- <li><a href="{delete.URL}" title="{lang:delete category}"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>
+ <li><a href="{delete.URL}" title="{lang:delete category}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/category_delete.png" class="button" alt="{lang:delete}" /></a></li>
<!-- END delete -->
</ul>
@@ -21,7 +21,7 @@
<td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td>
<td style="text-align:center;">
<a href="{group.U_PERM}"><img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" alt="permissions" title="{lang:permissions}" /></a>
- <a href="{group.U_DELETE}"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" /></a>
+ <a href="{group.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" /></a>
</td>
</tr>
<!-- END group -->
@@ -24,7 +24,7 @@
</td><td>
[<a href="{sites.site.U_UPDATE}" title="{lang:update this site}">{lang:remote_site_update}</a>]
<!-- BEGIN delete -->
- [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:remote_site_delete_hint}.\n{sites.site.NAME}\n{lang:Are you sure}?');"
+ [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"
title="{lang:remote_site_delete_hint}">{lang:remote_site_delete}</a>]
<!-- END delete -->
<!-- BEGIN remote -->

0 comments on commit f27bd85

Please sign in to comment.