Skip to content

Commit

Permalink
Issue 675:
Browse files Browse the repository at this point in the history
On group list page, when user push on delete or default image buttons, the message is not enough significant. (Only "Are you sure").

Informations about buttons have added.

git-svn-id: http://piwigo.org/svn/trunk@1948 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
rub committed Apr 8, 2007
1 parent 60febd6 commit 56d9ed3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions language/en_UK.iso-8859-1/admin.lang.php
Expand Up @@ -55,6 +55,7 @@
$lang['%d waiting pictures validated'] = '%d waiting pictures validated';
$lang['A new version of PhpWebGallery is available.'] = 'A new version of PhpWebGallery is available.';
$lang['Actions'] = 'Actions';
$lang['Action: '] = 'Action: ';
$lang['Activate'] = 'Activate';
$lang['Add/delete a permalink'] = 'Add/delete a permalink';
$lang['Add a tag'] = 'Add a tag';
Expand Down
1 change: 1 addition & 0 deletions language/fr_FR.iso-8859-1/admin.lang.php
Expand Up @@ -55,6 +55,7 @@
$lang['%d waiting pictures validated'] = '%d images en attente validées';
$lang['A new version of PhpWebGallery is available.'] = 'Une nouvelle version de PhpWebGallery est disponible.';
$lang['Actions'] = 'Actions';
$lang['Action: '] = 'Action: ';
$lang['Activate'] = 'Activer';
$lang['Add/delete a permalink'] = 'Ajouter/effacer un lien permanent';
$lang['Add a tag'] = 'Ajouter un tag';
Expand Down
9 changes: 6 additions & 3 deletions template/yoga/admin/group_list.tpl
Expand Up @@ -32,9 +32,12 @@
<td>{group.NAME}<i><small>{group.IS_DEFAULT}</small></i></td>
<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}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" alt="delete" title="{lang:delete}" {TAG_INPUT_ENABLED}/></a>
<a href="{group.U_ISDEFAULT}" onclick="return confirm('{lang:Are you sure?}');"><img src="{themeconf:icon_dir}/toggle_is_default_group.png" class="button" style="border:none" alt="toggle_is_default_group" title="{lang:toggle_is_default_group}" {TAG_INPUT_ENABLED}/></a>
<a href="{group.U_PERM}">
<img src="{themeconf:icon_dir}/permissions.png" class="button" style="border:none" id="btn_permissions" alt="{lang:permissions}" title="{lang:permissions}" /></a>
<a href="{group.U_DELETE}" onclick="return confirm('{lang:Action: }' + document.getElementById('btn_delete').title + '\n\n' + '{lang:Are you sure?}');">
<img src="{themeconf:icon_dir}/delete.png" class="button" style="border:none" id="btn_delete" alt="{lang:delete}" title="{lang:delete}" {TAG_INPUT_ENABLED}/></a>
<a href="{group.U_ISDEFAULT}" onclick="return confirm('{lang:Action: }' + document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{lang:Are you sure?}');">
<img src="{themeconf:icon_dir}/toggle_is_default_group.png" class="button" style="border:none" id="btn_toggle_is_default_group" alt="{lang:toggle_is_default_group}" title="{lang:toggle_is_default_group}" {TAG_INPUT_ENABLED}/></a>
</td>
</tr>
<!-- END group -->
Expand Down

0 comments on commit 56d9ed3

Please sign in to comment.