<__trans_section component="community"> function writeCommenterGreeting(commenter_name, entry_id, blog_id, commenter_id, commenter_url) { if ( check_permission(commenter_name, entry_id, blog_id, commenter_id, commenter_url) ) { var url; if (commenter_id) { url = '<$mt:CGIPath$><$mt:CommunityScript$>?__mode=edit&return_to=' + encodeURIComponent(document.URL) + '&id=' + commenter_id + '&blog_id=' + blog_id; } else if (commenter_url) { url = commenter_url; } else { url = null; } var content = '<__trans phrase="Thanks for signing in," escape="js"> '; if (url) { content += '' + commenter_name + ''; } else { content += commenter_name; } content += '<__trans phrase=". Now you can reply to this topic." escape="js"> (&entry_id=' + entry_id + '"><__trans phrase="sign out" escape="js">)'; document.write(content); } else if (commenter_name) { document.write('<__trans phrase="You do not have permission to comment on this blog." escape="js"> (&entry_id=' + entry_id + '"><__trans phrase="sign out" escape="js">)'); } else { document.write('<__trans phrase="Sign in" escape="js">' + '' + '<__trans phrase=" to reply to this topic." escape="js">'); document.write('<__trans phrase="Sign in" escape="js">' + '' + '<__trans phrase=" to reply to this topic," escape="js"> <__trans phrase="or " escape="js"><__trans phrase="reply anonymously." escape="js">'); } } <$mt:Include module="<__trans phrase="GlobalJavaScript">"$>