Closed (fixed)
Project:
Signup
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Jun 2006 at 16:39 UTC
Updated:
17 Mar 2007 at 07:30 UTC
Jump to comment: Most recent file
theme('username') is a nicer way to get an automatic link to a user profile (which isn't rendered as a link if you don't have permissions to view profiles), etc. there are a fair number of places in the code that manually call l(). we should change them.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | signup_theme_username.patch.txt | 1.16 KB | dww |
Comments
Comment #1
dwwattached patch applies cleanly for HEAD and DRUPAL-5, with offsets for DRUPAL-4-7. sadly, this function was only added in 4.7.x, so there's no easy solution for this in 4.6.x. oh well. ;)
Comment #2
dwwhttp://api.drupal.org/api/4.6/function/format_name handles this same work for 4.6.x, in case someone is inspired for a backport. ;)
Comment #3
add1sun commentedYup, applies cleanly and works a treat. Tested on 4.7.x and 5.1. thx
Btw, what is this strange thing you call 4.6.x? Is that from an ancient history lesson? ;)
Comment #4
dwwHEAD, DRUPAL-5, and DRUPAL-4-7.
Comment #5
(not verified) commented