內容簡介
Manage Upload Types 外掛可以讓管理員查看和更改允許上傳到媒體庫的文件類型列表。該外掛會在媒體設定頁面上添加一個使用 AJAX 驅動的表格面板,每一行都有一個刪除連結,刪除操作需要進行確認。此外,還有一個小型表單可以添加額外的行,該表單與表格對齊,包含兩個文本輸入框。第一個輸入框用於文件擴展名或使用管道符號分隔的文件擴展名列表,第二個輸入框用於與符合其中一個擴展名的文件關聯的 MIME 類型。
外掛標籤
開發者團隊
原文外掛簡介
Manage Upload Types enables an administrator to see and change the list of file types that are permitted as file uploads to the media library. This is accomplished by adding an ajax-driven table to a panel on the Media Settings page. Each row has a delete link. Confirmation is required for deletions. There is also a small form to allow additional rows to be added. The form is aligned with the table and contains two text entry boxes. The first is for a file extension or list of file extensions separated by pipe symbols (‘|’) and the second is for a MIME type to be associated with files that match one of those extensions.
