diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-06-27 18:33:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-06-27 18:33:33 +0000 |
commit | 58aee8cdad4baef160f7e0cf6dc5e245a1acc080 (patch) | |
tree | 329e6127e5033a4dcb9ebc60031a009c6b53cc90 /modules/upload | |
parent | d190e16c9ef0214293ea32306bfb49d3d1233654 (diff) | |
download | brdo-58aee8cdad4baef160f7e0cf6dc5e245a1acc080.tar.gz brdo-58aee8cdad4baef160f7e0cf6dc5e245a1acc080.tar.bz2 |
- Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
Diffstat (limited to 'modules/upload')
-rw-r--r-- | modules/upload/upload.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 2ad42b76d..786ddb89c 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -83,8 +83,8 @@ function upload_menu($may_cache) { function upload_admin() { system_settings_save(); - $group .= form_textfield(t('Maximum total file size'), 'upload_maxsize_total', variable_get('upload_maxsize_total', 0), 10, 10, t('The maximum size of a file a user can upload in megabytes. Enter 0 for unlimited.')); - $group .= form_textfield(t('Maximum resolution for uploaded images'), 'upload_max_resolution', variable_get('upload_max_resolution', 0), 10, 10, t('The maximum allowed image size expressed as WIDTHxHEIGHT (e.g. 640x480). Set to 0 for no restriction.')); + $group .= form_textfield(t('Maximum total file size'), 'upload_maxsize_total', variable_get('upload_maxsize_total', 0), 15, 10, t('The maximum size of a file a user can upload in megabytes. Enter 0 for unlimited.')); + $group .= form_textfield(t('Maximum resolution for uploaded images'), 'upload_max_resolution', variable_get('upload_max_resolution', 0), 15, 10, t('The maximum allowed image size expressed as WIDTHxHEIGHT (e.g. 640x480). Set to 0 for no restriction.')); $output = form_group(t('General settings'), $group); |