{combine_script id='jquery.chosen' load='footer' path='themes/default/js/plugins/chosen.jquery.min.js'} {combine_css path="themes/default/js/plugins/chosen.css"} {footer_script}{literal} jQuery(document).ready(function() { jQuery(".chzn-select").chosen(); function checkStatusOptions() { if (jQuery("input[name=status]:checked").val() == "private") { jQuery("#privateOptions, #applytoSubAction").show(); } else { jQuery("#privateOptions, #applytoSubAction").hide(); } } checkStatusOptions(); jQuery("#selectStatus").change(function() { checkStatusOptions(); }); jQuery("#indirectPermissionsDetailsShow").click(function(){ jQuery("#indirectPermissionsDetailsShow").hide(); jQuery("#indirectPermissionsDetailsHide").show(); jQuery("#indirectPermissionsDetails").show(); return false; }); jQuery("#indirectPermissionsDetailsHide").click(function(){ jQuery("#indirectPermissionsDetailsShow").show(); jQuery("#indirectPermissionsDetailsHide").hide(); jQuery("#indirectPermissionsDetails").hide(); return false; }); }); {/literal}{/footer_script}

{$CATEGORIES_NAV} › {'Edit album'|@translate} {$TABSHEET_TITLE}

{'Access type'|@translate}


{'Groups and users'|@translate}

{if count($groups) > 0} {'Permission granted for groups'|@translate}
{else} {'There is no group in this gallery.'|@translate} {'Group management'|@translate} {/if}

{'Permission granted for users'|@translate}

{if isset($nb_users_granted_indirect)}

{'%u users have automatic permission because they belong to a granted group.'|@translate:$nb_users_granted_indirect} {'show details'|@translate}

{/if} {*

{'Groups'|@translate}

{'Permission granted'|@translate}
    {foreach from=$group_granted_ids item=id}
  • {/foreach}
{'Permission denied'|@translate}
    {foreach from=$group_denied_ids item=id}
  • {/foreach}

{'Users'|@translate}

{'Permission granted'|@translate}
    {foreach from=$user_granted_direct_ids item=id}
  • {/foreach}
{'Permission granted thanks to a group'|@translate} {if isset($user_granted_indirects) }
    {foreach from=$user_granted_indirects item=user_group}
  • {$user_group.USER} ({$user_group.GROUP})
  • {/foreach}
{/if}
{'Permission denied'|@translate}
    {foreach from=$user_denied_ids item=id}
  • {/foreach}
*}