{$LANG.catalogue.title_option_groups}

{foreach from=$GROUPS item=group} {foreachelse} {/foreach}
{$LANG.common.arrange} {$LANG.common.required} {$LANG.common.name} {$LANG.catalogue.option_group_type} {$LANG.common.description}  
{$group.name} {$group.type_name} {$group.description}  {$LANG.common.delete}
{$LANG.catalogue.no_option_groups}
{$LANG.catalogue.title_option_group_add}

{$LANG.catalogue.title_option_attributes}

{foreach from=$GROUPS item=group} {if $group.type==0}
{$group.name}
{foreach from=$group.options key=key item=option}
{$LANG.common.delete} • {$option}
{foreachelse} {$LANG.catalogue.option_attributes_none} {/foreach}
{/if} {/foreach}
{$LANG.catalogue.title_option_attribute_add}
{$LANG.common.add}
{$LANG.common.delete} •

{$LANG.catalogue.title_option_sets}

{if $SETS}
{foreach from=$SETS item=set}
{$set.set_name}
{foreach from=$set.members key=set_id item=members} {foreach from=$members item=member}
{$LANG.common.delete} • {$member.display}
{/foreach} {/foreach}
{$LANG.common.delete}
{/foreach}
{$LANG.catalogue.title_option_set_append}
{/if}
{$LANG.catalogue.title_option_set_add}
{include file='templates/element.hook_form_content.php'}