It would be useful for us themers if you had a CSS class on the link that is shown at the bottom of the user profile page. This allows us to target it directly, without having to do tricks in template.php and user profile template files. Attached is a patch to do that - very simple, nothing fancy. Feel free to change the class name :)

Oh, and it looks the 'destination' option that is there in the l(), isn't getting used in D6. You might want to have a look at that. I left it alone as I wasn't sure what to do with it.

CommentFileSizeAuthor
masquerade-userlink_class.patch766 bytesdavemybes

Comments

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

I second this.

deviantintegral’s picture

Version: 6.x-1.3 » 7.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

I've committed this to both HEAD and DRUPAL-6--1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 6248847 on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deviantintegral:
    #713248 by incrn8: Add a CSS class to the masquerade link on the user...

  • Commit 6248847 on master, 8.x-2.x, 8.x-2.x-admin-menu, 8.x-1.x-1836516 by deviantintegral:
    #713248 by incrn8: Add a CSS class to the masquerade link on the user...