Closed (fixed)
Project:
Ubercart
Version:
5.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2008 at 16:51 UTC
Updated:
1 Feb 2008 at 15:15 UTC
The email sent when a user has file downloads available does not have any newlines. This is easily corrected by adding some \n\n to the $messages['uc_file_download_message'] setting in uc_file_uc_message(). I might also suggest that this would be useful as a theme function so that it can be more easily changed.
Comments
Comment #1
shawn conn commentedThe value $messages['uc_file_download_message'] already contains \n\n to insert line breaks. Perhaps the select input format on your notification settings aren't set to interpret new lines as <br/> in your installation? As far as theming goes, users can change the input format and text on the notification settings page (admin/store/settings/notify/edit/file) and theme the file downloads token with theme_uc_file_downloads_token, thus no more theme functions are necessary
Comment #2
DZone commentedGreat, thanks for the feedback. I didn't know about those settings :)