{if !empty($groups)}
[`Select user groups which you want to have access to these photos:`]
{foreach from=$groups item=g_name key=g_id}
{/foreach}
[`Uncheck all groups to make photos visible to you only.`]
{else}
[`No user groups have been set up; therefore, you can’t manage access to photos.`]
{/if}