Use mailto: for e-mail addresses and theme_username for usernames
Junyor - January 10, 2008 - 14:06
| Project: | Members |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
This patch encodes e-mail addresses in mailto: if they aren't being obfuscated.
| Attachment | Size |
|---|---|
| contrib-5.members.mailto.junyor.patch | 674 bytes |

#1
Theme usernames correctly, too.
#2
The last patch would cause problems if multiple field names contained the text "name". This patch only applies theme_username() to the 'name' (username) field.