{strip}

{tr}Categories Listing{/tr}

{* user sort related assigning *} {if $gBitSystem->getConfig( 'users_display_name' ) eq 'login'} {assign var=isort_author value=creator_user} {assign var=isort_editor value=modifier_user} {else} {assign var=isort_author value=creator_real_name} {assign var=isort_editor value=modifier_real_name} {/if}
{minifind}

{tr}Categories{/tr} [ {$listInfo.total_records|default:0} ]

{foreach from=$pigeonList item=item} {if $gBitUser->hasPermission( 'p_pigeonholes_edit' )}
{smartlink ititle="Change Structure" ifile="edit_structure.php" ibiticon="pigeonholes/organise" structure_id=`$item.structure_id`} {smartlink ititle="Insert new Category" ifile="edit_pigeonholes.php" ibiticon="liberty/new" structure_id=`$item.structure_id` action=create} {smartlink ititle="Edit Category" ifile="edit_pigeonholes.php" ibiticon="liberty/edit" structure_id=`$item.structure_id` action="edit"} {smartlink ititle="Remove Category" ifile="edit_pigeonholes.php" ibiticon="liberty/delete" action="remove" structure_id=`$item.structure_id`}
{/if}

{$item.display_link}

{$item.data} {include file="bitpackage:pigeonholes/view_structure_inc.tpl" subtree=$item.subtree no_details=true}
{foreachelse}
{tr}No Records Found{/tr}
{/foreach} {pagination}
{/strip}