mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Implement maximum image size constraint
This commit is contained in:
parent
280bdeb470
commit
c95f84adb8
6 changed files with 135 additions and 45 deletions
|
|
@ -17,6 +17,10 @@ $lang->allow_outlink_format = 'Allowed Formats';
|
|||
$lang->allowed_filesize = 'Maximum File Size';
|
||||
$lang->allowed_attach_size = 'Maximum Attachments';
|
||||
$lang->allowed_filetypes = 'Allowed extentsions';
|
||||
$lang->max_image_size = 'Maximum Image Size';
|
||||
$lang->max_image_size_action_nothing = 'If exceeded, do nothing';
|
||||
$lang->max_image_size_action_block = 'If exceeded, block upload';
|
||||
$lang->max_image_size_action_resize = 'If exceeded, resize automatically';
|
||||
$lang->inline_download_format = 'Open in current window';
|
||||
$lang->inline_download_image = 'Image';
|
||||
$lang->inline_download_audio = 'Audio';
|
||||
|
|
@ -34,6 +38,7 @@ $lang->about_allowed_filesize_global = 'This is the global limit on the size of
|
|||
$lang->about_allowed_attach_size_global = 'This is the global limit on the combined size of all attachments in one document.';
|
||||
$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.';
|
||||
$lang->about_allowed_filetypes = 'To allow an extension, use "*.[extention]". To allow multiple extensions, use ";" between each extension. ex) *.* or *.jpg;*.gif; ';
|
||||
$lang->about_max_image_size = 'You can limit the maximum width and height of uploaded images.';
|
||||
$lang->cmd_delete_checked_file = 'Delete Selected Item(s)';
|
||||
$lang->cmd_move_to_document = 'Move to Document';
|
||||
$lang->cmd_download = 'Download';
|
||||
|
|
@ -41,6 +46,9 @@ $lang->msg_not_permitted_download = 'You do not have a permission to download.';
|
|||
$lang->msg_file_cart_is_null = 'Please select a file(s) to delete.';
|
||||
$lang->msg_checked_file_is_deleted = '%d attachment(s) was(were) deleted.';
|
||||
$lang->msg_exceeds_limit_size = 'This file exceeds the attachment limit.';
|
||||
$lang->msg_exceeds_max_image_size = 'This image is too large. Images must be no larger than %dx%dpx.';
|
||||
$lang->msg_exceeds_max_image_width = 'This image is too large. The maximum permitted width is %dpx.';
|
||||
$lang->msg_exceeds_max_image_height = 'This image is too large. The maximum permitted height is %dpx.';
|
||||
$lang->msg_file_not_found = 'Could not find requested file.';
|
||||
$lang->msg_file_key_expired = 'This download link is expired. Please initiate the download again.';
|
||||
$lang->file_search_target_list['filename'] = 'File Name';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue