Posted by pigletto |
|
What about opening links in posts (like this one) in new window? Users of my sphene based forum are asking about this and I've seen that a lot of other message boards have links displayed this way.
IMO this should be at last config option. Necessary change is rather simple, in contrib/libs/common/text/bbcode.py return '<a href="' + escape(url) + '">' + linktext + '</a>' might be changed to: return '<a target="_blank" href="' + escape(url) + '">' + linktext + '</a>' Opinions? |
|
Posted by Herbert Poul |
|
i think it would be cool to have this whole string as configuration setting . or at least the attributes of the tag..
because i could imagine that some message board want to open links in new windows, while others don't.. and again others might want to add a rel="nofollow".. --- Last Edited by Herbert Poul at 2010-02-01 11:50:14 --- Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by pigletto |
|
Patch submitted:
http://code.google.com/p/sct-project/issues/detail?id=195 |
Please login to post a reply.