{* -- Begin folders management ----------------------------------- *}

{intl l='Additional Folders'}

{intl l='A content could be attached to more than one folder. Select here the additional folders for this content.'} {loop name="default_folder" type="folder" id=$DEFAULT_FOLDER} {intl l='You can change the default folder (%title) in the "General" tab.' title={$TITLE}} {/loop} {$exclude_from_tree = "-1"} {loop name="additional_folders" type="folder" exclude=$DEFAULT_FOLDER content=$content_id backend_context="1" lang="$edit_language_id"} {$exclude_from_tree = "$exclude_from_tree,$ID"} {/loop} {ifloop rel="folders"}

{intl l='Select a folder and click (+) to add it to the additional folder list'} {/ifloop} {elseloop rel="folders"}
{intl l="No Folders found"}
{/elseloop}

{intl l='ID'} | {intl l='Folder title'} {hook name="product.folders-table-header" location="product_folders_table_header" } | {intl l="Actions"}
--- | --- | ---
{loop name="additional_folders" type="folder" content=$content_id exclude=$DEFAULT_FOLDER backend_context="1" lang="$edit_language_id" return_url=false}
{$ID} | {$TITLE} {hook name="product.folders-table-row" location="product_folders_table_row" } | {loop type="auth" name="can_delete" role="ADMIN" resource="admin.category" access="UPDATE"} {/loop}
{/loop} {elseloop rel="additional_folders"}
{intl l="This product doesn't belong to any additional folder."}
{/elseloop}

{* -- End folders management ------------------------------------- *}