<% Comment.replylink %> |
macro renders a link to reply to a comment |
Sourcecode in Comment/macros.js:
1: function replylink_macro(param) { 2: if (this.site.preferences.getProperty("discussions") && req.action == "main") { 3: Html.openLink({href: this.href("comment") + 4: (param.anchor ? "#" + param.anchor : "")}); 5: if (!param.image) 6: res.write(param.text ? param.text : getMessage("Comment.reply")); 7: else 8: renderImage(param); 9: Html.closeLink(); 10: } 11: return; 12: } |