Allow some file types to be downloaded inline

이미지, 오디오, 비디오, PDF 등 일부 파일을 다운로드하면
다운로드 창을 띄우지 않고 현재 창에 바로 표시할 수 있는 옵션 추가
단, text/html은 보안상 허용하지 않음
This commit is contained in:
Kijin Sung 2018-03-07 11:39:40 +09:00
parent b253c8c0b1
commit 2366d61ea4
6 changed files with 64 additions and 8 deletions

View file

@ -16,6 +16,13 @@ $lang->allow_outlink_format = 'Allowed Formats';
$lang->allowed_filesize = 'Maximum File Size';
$lang->allowed_attach_size = 'Maximum Attachments';
$lang->allowed_filetypes = 'Allowed extentsions';
$lang->inline_download_format = 'Open in current window';
$lang->inline_download_image = 'Image';
$lang->inline_download_audio = 'Audio';
$lang->inline_download_video = 'Video';
$lang->inline_download_text = 'Text (except HTML)';
$lang->inline_download_pdf = 'PDF';
$lang->about_inline_download_format = 'Selected types of files will be opened in the current window instead of a download dialog when a user clicks the download link.';
$lang->enable_download_group = 'Downloadable Groups';
$lang->about_allow_outlink = 'You can block other websites from accessing your download URLs directly.<br />This does not apply to images and other files that can be embedded directly in a document.';
$lang->about_allow_outlink_format = 'These file formats will always be allowed.<br />Please use a comma (,) to separate items: e.g. doc, zip, pdf';