Index: modules/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user.module,v retrieving revision 1.491 diff -u -r1.491 user.module --- modules/user.module 23 Jul 2005 05:53:43 -0000 1.491 +++ modules/user.module 29 Jul 2005 09:23:13 -0000 @@ -1122,7 +1122,7 @@ $group .= $picture; $group .= form_checkbox(t('Delete picture'), 'picture_delete', 1, 0, t('Check this box to delete your current picture.')); } - $group .= form_file(t('Upload picture'), 'picture', 48, t('Your virtual face or picture. Maximum dimensions are %dimensions and the maximum size is %size kB.', array('%dimensions' => variable_get('user_picture_dimensions', '85x85'), '%size' => variable_get('user_picture_file_size', '30'))) .' '. variable_get('user_picture_guidelines', '')); + $group .= form_file(t('Upload picture'), 'picture', 48, t('Your virtual face or picture. %upload_help to fit the maximum dimension of %dimensions and maximum file size of %size kB.', array('%upload_help' => image_get_toolkit() ? 'Your image will be automatically resized' : 'You must resize your image', '%dimensions' => variable_get('user_picture_dimensions', '85x85'), '%size' => variable_get('user_picture_file_size', '30'))) .' '. variable_get('user_picture_guidelines', '')); $data[] = array('title' => t('Picture'), 'data' => $group, 'weight' => 1); }