diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-05-14 17:20:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-05-14 17:20:47 +0000 |
commit | 14f0d9a90af6e6b841d99b40b1db6d3e279428f3 (patch) | |
tree | f391e108af1137032efff515740ff53572e8a18c | |
parent | dbd806c41a8239d700d29cdd7d85d593bd9fe20a (diff) | |
download | brdo-14f0d9a90af6e6b841d99b40b1db6d3e279428f3.tar.gz brdo-14f0d9a90af6e6b841d99b40b1db6d3e279428f3.tar.bz2 |
- Patch #22806 by Neil: replaced left-over <em>foo<em> with theme('placeholder', 'foo')
-rw-r--r-- | modules/upload.module | 2 | ||||
-rw-r--r-- | modules/upload/upload.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/upload.module b/modules/upload.module index 55d35703c..1370c4260 100644 --- a/modules/upload.module +++ b/modules/upload.module @@ -94,7 +94,7 @@ function upload_admin() { $group = form_textfield(t('Permitted file extensions'), "upload_extensions_$rid", variable_get("upload_extensions_$rid", "jpg jpeg gif png txt html doc xls pdf ppt pps"), 60, 255, t('Extensions that users in this role can upload. Separate extensions with a space and do not include the leading dot.')); $group .= form_textfield(t('Maximum file size per upload'), "upload_uploadsize_$rid", variable_get("upload_uploadsize_$rid", 1), 5, 5, t('The maximum size of a file a user can upload (in megabytes).')); $group .= form_textfield(t('Total file size per user'), "upload_usersize_$rid", variable_get("upload_usersize_$rid", 10), 5, 5, t('The maximum size of all files a user can have on the site (in megabytes).')); - $output .= form_group(t('Settings for %role', array('%role' => "<em>$role</em>")), $group); + $output .= form_group(t('Settings for %role', array('%role' => theme('placeholder', $role))), $group); } return system_settings_form($output); diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 55d35703c..1370c4260 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -94,7 +94,7 @@ function upload_admin() { $group = form_textfield(t('Permitted file extensions'), "upload_extensions_$rid", variable_get("upload_extensions_$rid", "jpg jpeg gif png txt html doc xls pdf ppt pps"), 60, 255, t('Extensions that users in this role can upload. Separate extensions with a space and do not include the leading dot.')); $group .= form_textfield(t('Maximum file size per upload'), "upload_uploadsize_$rid", variable_get("upload_uploadsize_$rid", 1), 5, 5, t('The maximum size of a file a user can upload (in megabytes).')); $group .= form_textfield(t('Total file size per user'), "upload_usersize_$rid", variable_get("upload_usersize_$rid", 10), 5, 5, t('The maximum size of all files a user can have on the site (in megabytes).')); - $output .= form_group(t('Settings for %role', array('%role' => "<em>$role</em>")), $group); + $output .= form_group(t('Settings for %role', array('%role' => theme('placeholder', $role))), $group); } return system_settings_form($output); |