Fix #1207 enable option to control whether audio/video files are downloaded directly or through procFileDownload

This commit is contained in:
Kijin Sung 2020-03-23 02:09:25 +09:00
parent 7633bc7b3a
commit 66a6834204
5 changed files with 23 additions and 2 deletions

View file

@ -15,6 +15,7 @@ $lang->file_list = 'Attachment List';
$lang->allow_outlink = 'Allow External Link to Download URL';
$lang->allow_outlink_site = 'Allowed Websites';
$lang->allow_outlink_format = 'Allowed Formats';
$lang->allow_multimedia_direct_download = 'Allow Direct Link to Multimedia Attachments';
$lang->allowed_filesize = 'Maximum File Size';
$lang->allowed_attach_size = 'Maximum Attachments';
$lang->allowed_filetypes = 'Allowed extentsions';
@ -34,6 +35,7 @@ $lang->enable_download_group = 'Downloadable Groups';
$lang->about_allow_outlink = 'Allow other websites to link directly to your download URLs.<br />Rhymix does not control links to image files that can be embedded directly in a document.<br />in order to block external links to such images, you may need to modify your web server configuration.';
$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';
$lang->about_allow_outlink_site = 'These referers will always be allowed.<br />Please enter one full address per line: e.g. https://www.rhymix.org/';
$lang->about_allow_multimedia_direct_download = 'Use directly accessible links for audio and video attachments.<br>This helps reduce server load, as the download of such large files will not go through PHP.<br>However, unprivileged users may be able to download audio and video files if the link is exposed.';
$lang->about_allowed_filesize = 'You can limit the size of each attached file.<br />Administrators are limited to this setting or the limit set in the <a href="%s" target="_blank">file module</a>, whichever is greater.';
$lang->about_allowed_attach_size = 'You can limit the total size of all attached files in one document.<br />Administrators are limited to this setting or the limit set in the <a href="%s" target="_blank">file module</a>, whichever is greater.';
$lang->about_allowed_filesize_global = 'This is the global limit on the size of each attachment.';