From 214ac3bf65bbaf09d53c87d3386e48e4a77eab31 Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 6 May 2013 18:53:38 +0000 Subject: merge svn:22516 from trunk to branch 2.5 bug:2890 for "Manage Permissions" and "Manage the members", don't display the button "apply action" button and style as a button the links git-svn-id: http://piwigo.org/svn/branches/2.5@22517 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/group_list.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl index c11b6369a..dd74e04ac 100644 --- a/admin/themes/default/template/group_list.tpl +++ b/admin/themes/default/template/group_list.tpl @@ -19,7 +19,7 @@ $(document).ready(function() { $("p[group_id="+$(this).attr("value")+"]").each(function () { $(this).toggle(); }); - + if (nbSelected<2) { $("#two_to_select").show(); $("#two_atleast").hide(); @@ -32,8 +32,8 @@ $(document).ready(function() { $("[id^=action_]").hide(); $("select[name=selectAction]").change(function () { $("[id^=action_]").hide(); - $("#action_"+$(this).attr("value")).show(); - if ($(this).val() != -1) { + $("#action_"+$(this).attr("value")).show(); + if ($(this).val() != -1 && $(this).val() !="manage_pemissions" && $(this).val() !="manage_members" ) { $("#applyActionBlock").show(); } else { @@ -59,13 +59,13 @@ $(document).ready(function() { - +
- + @@ -82,7 +82,7 @@ $(document).ready(function() { {/foreach} {/if}
- +
{'Action'|@translate}
{'No group selected, no action possible.'|@translate}
@@ -174,8 +174,8 @@ $(document).ready(function() { {/foreach} {/if} - - + + {if !empty($element_set_groupe_plugins_actions)} {foreach from=$element_set_groupe_plugins_actions item=action} @@ -184,7 +184,7 @@ $(document).ready(function() { {/foreach} {/if} - + -- cgit v1.2.3