{* Admin: liberty_xref_type groups *} {strip}
{bithelp}

{tr}Xref Groups{/tr}

{* Package filter *}
{if $activeGuid} {tr}Clear{/tr} {/if}
{if $deleteError}
{$deleteError|escape}
{/if} {* Add group form *} {if $activeGuid} {form legend="Add Xref Group" action="{$smarty.const.LIBERTY_PKG_URL}admin/admin_xref_groups.php"}
{formlabel label="Key (group)" for="x_group"} {forminput}{/forminput}
{formlabel label="Title" for="title"} {forminput}{/forminput}
{formlabel label="Sort Order" for="sort_order"} {forminput}{/forminput}
{formlabel label="Role ID" for="role_id"} {forminput}{/forminput}
{/form} {/if} {* Group list *} {foreach from=$xref_groups item=grp} {foreachelse} {/foreach}
{tr}Xref Groups{/tr} {if $activeGuid}— {$activeGuid|escape}{/if}
{tr}Package{/tr} {tr}Key{/tr} {tr}Title{/tr} {tr}Sort{/tr} {tr}Role{/tr} {tr}Sources{/tr} {tr}Actions{/tr}
{$grp.content_type_guid|escape} {$grp.x_group|escape} {$grp.title|escape} {$grp.sort_order} {$grp.role_id} {$grp.num_sources} {if $grp.num_sources eq 0} {biticon ipackage="icons" iname="user-trash" iforce=icon_text iexplain="Delete"} {/if}
{tr}No groups found{/tr}
{/strip}