non-functioning "login" and "register" links

bleckb - March 31, 2007 - 03:43
Project:Interlaced
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

When not logged in, beneath each story on the front page, instead of seeing the functioning "login" or "register" links, I see this ( had to replace the angle brackets with square brackets otherwise the code works in this message):

[a href="/comp/user/login?destination=comment/reply/1915%2523comment_form"]Login[/a] or [a href="/comp/user/register?destination=comment/reply/1915%2523comment_form"]register[/a] to post comments

Being the sort who can only plug and play themes, I wouldn't even know where to look to fix this sort of thing. Hope someone can/does because I really like the overall look of the theme.

#1

charliemc86 - September 14, 2007 - 19:44
Status:active» needs review

Links sent to the theme function should not be escaped, since this will replace HTML brackets with <

The fix is to simply remove the call to check_plain().

AttachmentSize
interlaced_1.patch 339 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.