From 58aee8cdad4baef160f7e0cf6dc5e245a1acc080 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 27 Jun 2005 18:33:33 +0000 Subject: - Patch #25603 by Stefan: made the sizes of forms consistent. TODO: document the defaults in the PHPdoc comments. --- modules/upload/upload.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/upload') 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); -- cgit v1.2.3