{if $file.is_personal}
{include file="../../include.personal_warn_block.html" storage_id=$storage.id}
{/if}
[`Download`]{if $file.source_id == 0 || $file.size > 0}{$file.size_str}{/if}
{if $has_full_access_to_file}
[`Public link`]
[`Access`]
{/if}
{if $file.size < $attach_max_size}
{/if}
{if $has_full_access_to_file && !$file.locked}
{/if}
{* @event backend_file.%plugin_id%.menu *}
{foreach $backend_file as $plugin_id => $item}
{if !empty($item.menu)}{$item.menu}{/if}
{/foreach}
{if !empty($breadcrumbs)}
{/if}
{* @event backend_file.%plugin_id%.top *}
{foreach $backend_file as $plugin_id => $item}
{if !empty($item.top)}{$item.top}{/if}
{/foreach}
{if $file_content}
{$file_content}
{/if}
{if $can_edit_tags || $file.tags_str}
[`Tags`]
{/if}
{if $file.author.exists}
{/if}
{if $file.update_datetime != $file.create_datetime}
{/if}
{if $has_full_access_to_file}
{/if}
{if !empty($file.comments)}
{/if}
{if $can_comment}
{/if}
[`Uploaded by`]
[`Uploaded`]
{$file.create_datetime|wa_date:'humandatetime'}
[`Updated`]
{$file.update_datetime|wa_date:'humandatetime'}
[`Mark`]
-
{foreach $marks as $mark}
{strip}
- {/strip} {/foreach}
[`Comments`]
{foreach $file.comments as $comment}
{$comment.author.name|escape}
{$comment.datetime|wa_date:'humandatetime'}
{if $comment.has_rights}
{/if}
{/foreach}
{$comment.content|escape|nl2br}
[`Add comment`]