{* SETTINGS LINK IF STORAGE IS TUNABLE *} {capture assign="before_links_block"}{strip} {if $can_edit && !$storage.is_persistent} [`Sharing settings`] {/if} {/strip}{/capture} {capture assign="after_links_block"}{strip} {if $can_delete && !$storage.is_persistent} {if !$is_source_root} [`Delete storage`] {else} {include file='../source/include.unmount.html' container_id='f-storage-delete-actions' source_id=abs(intval($storage['source_id'])) inline} [`Unmount source`] {/if} {/if} {* @event backend_storage.%plugin_id%.menu *} {foreach $backend_storage as $plugin_id => $item} {if !empty($item.menu)}{$item.menu}{/if} {/foreach} {/strip}{/capture} {capture assign='after_breadcrumbs_block'}{strip} {if $storage.is_personal} {include file="../../include.personal_warn_block.html" storage_id=$storage.id} {/if} {/strip}{/capture} {* STORAGE SETTINGS *} {if $storage.access_type != filesStorageModel::ACCESS_TYPE_PERSONAL && $can_edit && !$in_sync}
{/if} {if $can_edit && !$storage.is_persistent} {$dialog_id = uniqid('f-access-dialog')} {/if} {include file="../../files-legacy/include.files.html" can_create_folder=true can_delete_storage=$can_delete && !$storage.is_persistent storage_id=$storage['id'] inline}