summaryrefslogtreecommitdiff
path: root/modules/upload/upload.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upload/upload.module')
-rw-r--r--modules/upload/upload.module9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 83427e717..6a2ffc7a3 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -182,7 +182,8 @@ function upload_admin_settings() {
'#default_value' => variable_get('upload_max_resolution', 0),
'#size' => 15,
'#maxlength' => 10,
- '#description' => t('The maximum allowed image size expressed as WIDTHxHEIGHT (e.g. 640x480). Set to 0 for no restriction.'),
+ '#description' => t('The maximum allowed image size (e.g. 640x480). Set to 0 for no restriction.'),
+ '#field_suffix' => t('<kbd>WIDTHxHEIGHT</kbd>')
);
$form['settings_general']['upload_list_default'] = array(
'#type' => 'select',
@@ -205,7 +206,8 @@ function upload_admin_settings() {
'#default_value' => $upload_uploadsize_default,
'#size' => 5,
'#maxlength' => 5,
- '#description' => t('The default maximum file size a user can upload (in megabytes).'),
+ '#description' => t('The default maximum file size a user can upload.'),
+ '#field_suffix' => t('MB')
);
$form['settings_general']['upload_usersize_default'] = array(
'#type' => 'textfield',
@@ -213,7 +215,8 @@ function upload_admin_settings() {
'#default_value' => $upload_usersize_default,
'#size' => 5,
'#maxlength' => 5,
- '#description' => t('The default maximum size of all files a user can have on the site (in megabytes).'),
+ '#description' => t('The default maximum size of all files a user can have on the site.'),
+ '#field_suffix' => t('MB')
);
$form['upload_max_size'] = array('#value' => '<p>'. t('Your PHP settings limit the maximum file size per upload to %size MB.', array('%size' => file_upload_max_size())).'</p>');