diff --git a/modules/admin/admin.class.php b/modules/admin/admin.class.php index e02dcf53e..43e208f73 100644 --- a/modules/admin/admin.class.php +++ b/modules/admin/admin.class.php @@ -188,7 +188,6 @@ class admin extends ModuleObject 'admin.adminConfigurationGeneral', 'admin.adminConfigurationFtp', 'admin.adminMenuSetup', - 'file.fileUpload', 'module.filebox', ), 'advanced' => array( diff --git a/modules/file/conf/module.xml b/modules/file/conf/module.xml index 9cf406347..e43dbd322 100644 --- a/modules/file/conf/module.xml +++ b/modules/file/conf/module.xml @@ -14,7 +14,7 @@ - + @@ -35,18 +35,5 @@ File File - - File Upload - 파일 업로드 - File Upload - ファイル添付 - File Upload - File Upload - File Upload - 檔案上傳 - File Upload - File Upload - File Upload - diff --git a/modules/file/lang/en.php b/modules/file/lang/en.php index 17eb81ade..b69300d23 100644 --- a/modules/file/lang/en.php +++ b/modules/file/lang/en.php @@ -1,23 +1,25 @@ file = 'File'; +$lang->file_management = 'File Management'; $lang->file_upload = 'File Upload'; +$lang->file_upload_config = 'File Upload Settings'; $lang->file_name = 'File Name'; $lang->file_size = 'File Size'; $lang->download_count = 'Number of Downloads'; $lang->status = 'Status'; $lang->is_valid = 'Valid'; $lang->is_stand_by = 'Stand by'; -$lang->file_list = 'Attachments List'; -$lang->allow_outlink = 'Allow External Link?'; +$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->allowed_filesize = 'Maximum File Size'; $lang->allowed_attach_size = 'Maximum Attachments'; $lang->allowed_filetypes = 'Allowed extentsions'; $lang->enable_download_group = 'Downloadable Groups'; -$lang->about_allow_outlink = 'You can block external links according to referers(except media files like *.wmv and *.mp3).'; -$lang->about_allow_outlink_format = 'These formats will always be allowed. Please use comma(,) for multiple input. eg)hwp,doc,zip,pdf'; -$lang->about_allow_outlink_site = 'These websites will alyways be allowed. Please use new line for multiple input. ex)https://www.rhymix.org/'; +$lang->about_allow_outlink = 'You can block other websites from accessing your download URLs directly.
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.
Please use a comma (,) to separate items: e.g. doc, zip, pdf'; +$lang->about_allow_outlink_site = 'These referers will alyways be allowed.
Please enter one full address per line: e.g. https://www.rhymix.org/'; $lang->about_allowed_filesize = 'You can limit the size of each attached file. Administrators are exempt.'; $lang->about_allowed_attach_size = 'You can limit the total size of all attached files in one document. Administrators are exempt.'; $lang->about_allowed_size_limits = 'The file size will be limited to the value set in php.ini (%sB) in IE9 and below and older Android browsers.'; diff --git a/modules/file/lang/ja.php b/modules/file/lang/ja.php index c206d9f36..87598b65f 100644 --- a/modules/file/lang/ja.php +++ b/modules/file/lang/ja.php @@ -1,6 +1,8 @@ file = 'ファイル'; +$lang->file_management = 'ファイル管理'; $lang->file_upload = 'ファイル添付'; +$lang->file_upload_config = 'ファイル添付の設定'; $lang->file_name = 'ファイル名'; $lang->file_size = 'ファイルサイズ'; $lang->download_count = 'ダウンロード数'; @@ -15,9 +17,9 @@ $lang->allowed_filesize = 'ファイルサイズ制限'; $lang->allowed_attach_size = '書き込みへの添付制限'; $lang->allowed_filetypes = '許可ファイル拡張子'; $lang->enable_download_group = 'ダウンロード可能グループ'; -$lang->about_allow_outlink = 'リファラーによって外部からのファイルリンクを制御できます。(*.wmv, *.mp3などのメディアファイルは除く)'; -$lang->about_allow_outlink_format = '外部からのファイルリンク設定に関係なく、常に外部からのリンクを許可する拡張子です。複数登録時には、「半角コンマ(,)」区切りで記入してください。 eg)txt,doc,zip,pdf'; -$lang->about_allow_outlink_site = '外部からのファイルリンク設定に関係なく、常に外部からのリンクを許可するURLです。複数登録時には、改行で記入してください。 ex)https://www.rhymix.org/'; +$lang->about_allow_outlink = '他のサイトからファイルをダウンロードするリンクに直接アクセスすることを禁止します。
ダウンロードリンクを使用せずに本体に直接挿入することができる画像ファイルなどは適用されません。'; +$lang->about_allow_outlink_format = '外部からのファイルリンク設定に関係なく、常に外部からのリンクを許可する拡張子です。
複数登録時には、「半角コンマ(,)」区切りで記入してください。 ex) doc, zip, pdf'; +$lang->about_allow_outlink_site = '外部からのファイルリンク設定に関係なく、常に外部からのリンクを許可するURLです。
複数登録時には、改行で記入してください。 ex) https://www.rhymix.org/'; $lang->about_allowed_filesize = '一つのファイルに対して、アップロード可能なファイルの最大サイズを指定します(管理者は除く)。'; $lang->about_allowed_attach_size = '一つの書き込みに対して、管理者以外のユーザーが添付可能な最大サイズを指定します。'; $lang->about_allowed_filetypes = '"*.拡張子"で指定し、 ";"で区切って任意の拡張子を追加して指定できます。ex) *.* or *.jpg;*.gif; '; diff --git a/modules/file/lang/ko.php b/modules/file/lang/ko.php index b8a0fb24b..a81f55b58 100644 --- a/modules/file/lang/ko.php +++ b/modules/file/lang/ko.php @@ -1,6 +1,8 @@ file = '파일'; +$lang->file_management = '파일 관리'; $lang->file_upload = '파일 업로드'; +$lang->file_upload_config = '파일 업로드 설정'; $lang->file_name = '파일 이름'; $lang->file_size = '파일 크기'; $lang->download_count = '다운로드 받은 수'; @@ -8,16 +10,16 @@ $lang->status = '상태'; $lang->is_valid = '유효'; $lang->is_stand_by = '대기'; $lang->file_list = '첨부 파일 목록'; -$lang->allow_outlink = '파일 외부 링크'; -$lang->allow_outlink_site = '파일 외부 링크 허용 사이트'; -$lang->allow_outlink_format = '파일 외부 링크 허용 확장자'; +$lang->allow_outlink = '다운로드 링크 외부 접근 허용'; +$lang->allow_outlink_site = '다운로드 링크 허용 사이트'; +$lang->allow_outlink_format = '다운로드 링크 허용 확장자'; $lang->allowed_filesize = '파일 크기 제한'; $lang->allowed_attach_size = '문서 첨부 제한'; $lang->allowed_filetypes = '허용 확장자'; $lang->enable_download_group = '다운로드 가능 그룹'; -$lang->about_allow_outlink = '리퍼러에 따라 파일 외부 링크를 차단할 수 있습니다.(*.wmv, *.mp3등 미디어 파일 제외)'; -$lang->about_allow_outlink_format = '파일 외부 링크 설정에 상관없이 허용하는 파일 확장자입니다. 여러 개 입력 시에 쉼표(,)을 이용해서 구분해주세요. 예)hwp,doc,zip,pdf'; -$lang->about_allow_outlink_site = '파일 외부 링크 설정에 상관없이 허용하는 사이트 주소입니다. 여러 개 입력 시에 줄을 바꿔서 구분해주세요. 예)https://www.rhymix.org/'; +$lang->about_allow_outlink = '다른 사이트에서 파일 다운로드 링크에 직접 접근하는 것을 차단합니다.
다운로드 링크를 사용하지 않고 본문에 바로 삽입할 수 있는 이미지 파일 등에는 적용되지 않습니다.'; +$lang->about_allow_outlink_format = '파일 외부 링크 설정에 상관없이 허용하는 파일 확장자입니다.
여러 개 입력시 쉼표(,)을 이용해서 구분해 주세요. 예) doc, zip, pdf'; +$lang->about_allow_outlink_site = '파일 외부 링크 설정에 상관없이 허용하는 사이트 주소입니다.
여러 개 입력시 줄을 바꿔서 구분해 주세요. 예) https://www.rhymix.org/'; $lang->about_allowed_filesize = '각 파일의 용량을 제한할 수 있습니다. 관리자에게는 적용되지 않습니다.'; $lang->about_allowed_attach_size = '하나의 문서에 첨부할 수 있는 최대 용량을 제한할 수 있습니다. 관리자에게는 적용되지 않습니다.'; $lang->about_allowed_size_limits = 'IE9 이하, 구버전 안드로이드 등에서는 php.ini에서 지정한 %sB로 제한됩니다.'; diff --git a/modules/file/tpl/adminConfig.html b/modules/file/tpl/adminConfig.html index 255e26141..75cce5919 100644 --- a/modules/file/tpl/adminConfig.html +++ b/modules/file/tpl/adminConfig.html @@ -1,6 +1,4 @@ -
-

{$lang->file_upload} {$lang->help}

-
+

{$XE_VALIDATOR_MESSAGE}

@@ -11,43 +9,46 @@
- +
+

{$lang->about_allow_outlink}

-

{$lang->about_allow_outlink_format}

+

{$lang->about_allow_outlink_format}

- +

{$lang->about_allow_outlink_site}

- +
- MB / {$upload_max_filesize} + MB +

{$lang->about_allowed_filesize}
{sprintf($lang->about_allowed_size_limits, ini_get('upload_max_filesize'))}

- +
- MB + MB +

{$lang->about_allowed_attach_size}
{sprintf($lang->about_allowed_size_limits, ini_get('upload_max_filesize'))}

-

{$lang->about_allowed_filetypes}

+

{$lang->about_allowed_filetypes}

diff --git a/modules/file/tpl/file_list.html b/modules/file/tpl/file_list.html index 2195bab3b..18cc3ffd3 100644 --- a/modules/file/tpl/file_list.html +++ b/modules/file/tpl/file_list.html @@ -1,16 +1,15 @@ + + +
+

{$XE_VALIDATOR_MESSAGE}

+
- +
-
-

{$lang->file} {$lang->help}

-
-
-

{$XE_VALIDATOR_MESSAGE}

-
{$lang->all}({number_format($total_count)}) diff --git a/modules/file/tpl/header.html b/modules/file/tpl/header.html index 0ee48c509..e2060cb46 100644 --- a/modules/file/tpl/header.html +++ b/modules/file/tpl/header.html @@ -1,7 +1,13 @@ -

{$lang->file} {$lang->cmd_management}

-

- {$lang->file_list} - | - {$lang->cmd_module_config} -

+ +
+

{$lang->file_management}

+
+