mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-11-05 13:02:18 +00:00
Use prepared group selection state in admin template
This commit is contained in:
1 parent
8b50ad5b9e
commit
2858a42f1c
1 file changed
+1
-1
@@ -21,7 +21,7 @@
|
||||
{if $PUBLIC_SELECTION_GROUPS|@count}
|
||||
{foreach from=$PUBLIC_SELECTION_GROUPS item=group}
|
||||
<label style="display:block;margin-bottom:5px;">
|
||||
<input type="checkbox" name="selection_groups[]" value="{$group.id}" {if in_array($group.id, $PUBLIC_SELECTION.groups)}checked{/if}>
|
||||
<input type="checkbox" name="selection_groups[]" value="{$group.id}" {if $group.selected}checked{/if}>
|
||||
{$group.name|escape:html}
|
||||
</label>
|
||||
{/foreach}
|
||||
|
||||
Reference in new issue
Block a user