<{* page for edit index *}>

<{if $open_level == $smarty.const.OL_GROUP_ONLY || $xid == $smarty.const.IID_ROOT }><{* group_only or ROOT index *}> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_GROUP_ADMINISTRATOR}> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_SEPARATOR}> <{$smarty.const._MD_XOONIPS_INDEX_PANKUZU_EDIT_GROUP_INDEX_KEYWORD}> <{elseif $open_level == $smarty.const.OL_PUBLIC }> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_MODERATOR}> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_SEPARATOR}> <{$smarty.const._MD_XOONIPS_INDEX_PANKUZU_EDIT_PUBLIC_INDEX_KEYWORD}> <{elseif $open_level == $smarty.const.OL_PRIVATE }> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_PLATFORM_USER}> <{$smarty.const._MI_XOONIPS_ACCOUNT_PANKUZU_SEPARATOR}> <{$smarty.const._MD_XOONIPS_INDEX_PANKUZU_EDIT_PRIVATE_INDEX_KEYWORD}> <{/if}>

<{$smarty.const._MD_XOONIPS_INDEX_TITLE_EDIT}>

<{* display error message *}> <{if $error_message}> <{foreach item=error_message from=$error_message}> <{$error_message}>
<{/foreach}>
<{/if}> <{* display current place *}> <{foreach item=index from=$index_path}> / <{$index.html_title}> <{/foreach}>
<{if $create_permission }>

<{$smarty.const._MD_XOONIPS_INDEX_TITLE_ADD}>

> <{if $limitLabel }> <{$limitLabel}>: <{$indexCount}> (max=<{$indexNumberLimit}>)
<{/if}> <{$token_ticket}>
<{$smarty.const._MD_XOONIPS_INDEX_TITLE_NEW_INDEX_KEYWORD}>
<{$smarty.const._MD_XOONIPS_ITEM_LISTING_ITEM}> | <{$smarty.const._MD_XOONIPS_LABEL_HOME}>

<{/if}> <{if $child_indexes}> <{if $write_permission}>

<{$smarty.const._MD_XOONIPS_INDEX_TITLE_MODIFY}>

<{if $childCount == 0 }> <{$smarty.const._MD_XOONIPS_INDEX_NO_INDEX}> <{else}>
> <{$token_ticket}> <{foreach item=index from=$child_indexes}> "> <{/foreach}>
<{$smarty.const._MD_XOONIPS_INDEX_INDEX_KEYWORD}> <{$smarty.const._MD_XOONIPS_INDEX_RENAME_TO}> <{$smarty.const._MD_XOONIPS_INDEX_LABEL_UPDOWN}>
"> <{if !$index.isLocked}> <{/if}> "> <{$index.titles[$smarty.const.DEFAULT_INDEX_TITLE_OFFSET]}> "> <{if !$index.isLocked}> <{else}> <{$index.lockTypeString}> <{/if}> "> <{$smarty.const._MD_XOONIPS_INDEX_LABEL_UP}> / <{$smarty.const._MD_XOONIPS_INDEX_LABEL_DOWN}>
arrow
<{$smarty.const._MD_XOONIPS_INDEX_LABEL_WITH_SELECTED}>            
<{/if}>
<{$smarty.const._MD_XOONIPS_ITEM_LISTING_ITEM}> | <{$smarty.const._MD_XOONIPS_LABEL_HOME}>

<{/if}> <{if $group_administrator==1}> <{if $child_indexes}>

<{$smarty.const._MD_XOONIPS_ITEM_GROUP_INDEX_TO_PUBLIC}>

<{if $childCount == 0 }> <{$smarty.const._MD_XOONIPS_INDEX_NO_INDEX}> <{else}>
> <{$token_ticket}> <{foreach item=index from=$child_indexes}> "> <{/foreach}>
<{$smarty.const._MD_XOONIPS_INDEX_INDEX_KEYWORD}> <{$smarty.const._MD_XOONIPS_ITEM_INDEX_LABEL}>
"> "><{$index.titles[$smarty.const.DEFAULT_INDEX_TITLE_OFFSET]}> "><{$index.public_index_string}> "><{$index.public_index_pending_string}>
arrow
<{$smarty.const._MD_XOONIPS_INDEX_LABEL_WITH_SELECTED}> <{$smarty.const._MD_XOONIPS_ADD_TO_PUBLIC_EXPLANATION}>
<{/if}> <{/if}>
<{$smarty.const._MD_XOONIPS_ITEM_LISTING_ITEM}> | <{$smarty.const._MD_XOONIPS_LABEL_HOME}>

<{/if}> <{/if}>