{{ file.originalFilename }}
{% if isPublic == true and file.status == 'active' %} {% endif %}
{% if UserHelper.showSiteAdverts() %} {% endif %} {% if filePreviewPluginPageNotice|length > 0 %}
   {% for pluginKey,filePreviewPluginPageNoticeItems in filePreviewPluginPageNotice %} {{ filePreviewPluginPageNoticeItems['alert_message'] }}
{% endfor %}
{% endif %} {% if file.status == 'active' %}
{% if file.status == 'active' %} {% if prev != null and userOwnsFile == true %} {% endif %} {% if next != null and userOwnsFile == true %} {% endif %} {% endif %}
{{ previewerHtmlContent|raw }}
{% if filePreviewPlugin.settings['show_similar_items'] == 1 %}
{% if file.status == 'active' %}
{% endif %}
{% endif %}

{{ t('page_link', 'Page Link')|title }}

{{ file.getFullShortUrl() }}

{{ t('html_code', 'HTML Code') }}

{{ file.getHtmlLinkCode()|raw }}

{{ t('forum_code', 'forum code')|title }}

{{ file.getForumLinkCode()|raw }}
{% if PluginHelper.pluginEnabled('filepreviewer') == true and filePreviewPlugin.settings['images_show_embedding'] == true and file.isImage() == true %}

{{ t('embed_html_code', 'Embed HTML Code')|title }}

<a href="{{ file.getFullShortUrl() }}" target="_blank" title="{{ t('download_from', 'Download from') }} {{ SITE_CONFIG_SITE_NAME }}"><img src="{{ filePreviewPlugin.createEmbedImageThumbUrl(file) }}"/></a>

{{ t('embed_forum_code', 'Embed Forum Code')|title }}

[URL={{ file.getFullShortUrl() }}][IMG]{{ filePreviewPlugin.createEmbedImageThumbUrl(file) }}[/IMG][/URL]
{% endif %} {% if PluginHelper.pluginEnabled('filepreviewer') == true and filePreviewPlugin.settings['documents_show_embedding'] == true and file.isDocument() == true %}

{{ t('embed_document_iframe', 'Embed Document IFrame')|title }}

{{ filePreviewPlugin.getEmbededDocumentIframeCode(file) }}
{% endif %} {% if PluginHelper.pluginEnabled('filepreviewer') == true and filePreviewPlugin.settings['videos_show_embedding'] == true and file.isVideo() == true %}

{{ t('video_embed_code', 'Video Embed Code')|title }}

{{ filePreviewPlugin.getEmbededVideoIframeCode(file) }}
{% endif %} {% if PluginHelper.pluginEnabled('filepreviewer') == true and filePreviewPlugin.settings['audio_show_embedding'] == true and file.isAudio() == true %}

{{ t('audio_embed_code', 'Audio Embed Code')|title }}

{{ filePreviewPlugin.getEmbededAudioIframeCode(file) }}
{% endif %}
{% if isPublic == true and PluginHelper.pluginEnabled('filepreviewer') == true and filePreviewPlugin.areDirectLinksAllowed() == true and showDownloadLink == true %}

{{ t('direct_link', 'Direct Link')|title }}

{{ file.getFileServerPath() }}/file/{{ file.shortUrl }}/{{ file.getSafeFilenameForUrl() }}
{% endif %}

{{ t('statistics_url', 'statistics url')|title }}

{{ file.getStatisticsUrl() }}
{% if file.status == 'active' %}

{{ t('info_page', 'info page')|title }}

{{ file.getShortInfoUrl() }}
{% endif %} {% if userOwnsFile == true and file.status == 'active' %}

{{ t('delete_file_url', 'delete file url')|title }}

{{ file.getDeleteUrl() }}
{% endif %}

{{ t('account_file_details_intro_user_the_form_below_send_email', 'Use the form below to share this file via email. The recipient will receive a link to download the file.') }}

{% if isPublic == false %}
{{ t('account_file_details_folder_not_publicly_shared', 'This file is not publicly shared. You will need to make it public before the recipient can view it.') }}
{% endif %}
{% if imageRawDataArr|length > 0 %}
{% for imageRawDataItem in imageRawDataArr %} {% endfor %}
{{ imageRawDataItem.label }}: {{ imageRawDataItem.value }}
{% endif %}
{% else %}
{{ t("error_file_has_been_removed_by_user", "File has been removed.") }}
{% endif %} {% if UserHelper.showSiteAdverts() %} {% endif %}
{% if owner != null %}
{{ owner.level_id != 0?owner.getAccountScreenName():t('temp_account', 'Temp Account')|lower }} {{ folder.folderName }} {{ t('profile_by', 'by') }} {{ owner.level_id != 0?owner.getAccountScreenName():t('temp_account', 'Temp Account')|lower }}
{% endif %}
{% if file.description|length > 0 %} {% endif %} {% if owner != null and owner.level_id != 0 %} {% endif %} {% if file.uploadedUserId != file.userId %} {% endif %} {% if userOwnsFile == true %} {% endif %} {% if file.keywords|length > 0 %} {% endif %} {% if file.status == 'active' %} {% endif %} {% if userOwnsFile == true and file.status == 'active' %} {% endif %} {% if file.status != 'active' %} {% endif %}
{{ t('description', 'description')|title }}: {{ file.description }}
{{ t('added_by', 'added by')|title }}: {{ file.getUploaderUsername() }}
{{ t('owner', 'owner')|title }}: {{ file.getOwnerUsername() }}
{{ t('filesize', 'filesize')|title }}: {{ file.getFormattedFilesize() }}
{{ t('downloads', 'downloads')|title }}: {{ file.visits }}
{{ t('keywords', 'keywords')|title }}:
{% set keywords = file.keywords|split(',') %} {% for keyword in keywords %} {% if keyword|length > 0 %} {{ keyword }} {% endif %} {% endfor %}
{{ t('uploaded', 'uploaded')|title }}: {{ file.getFormattedUploadedDate() }}
{{ t('permissions', 'permissions')|title }}: {{ shareAccessLevelLabel|title }}
{{ t('sharing', 'Sharing')|title }}: {{ (isPublic == true) ? '' : '' }} {{ (isPublic == true) ? (SITE_CONFIG_ENABLE_FILE_SEARCH == 'yes'?t('public_file_alt', 'Public File - Appears in public search results, anyone can download.'):t('public_file', 'Public File - Can be accessed directly by anyone that knows the file url.')) : t('private_file', 'Private File - Only available via your account, or via a generated sharing url.') }}
{{ t('status', 'status')|title }}: {{ file.getStatusLabel()|title }}
{% if links|length > 0 %}
{% for link in links %}
{{ link|raw }}
{% endfor %}
{% endif %} {% if UserHelper.showSiteAdverts() %} {% endif %}