Vote #64154
未完了protect user email from spmamer
0%
説明
Orignal file @app/views/account/show.rhtml@
A simple way to hidden users' email from spmamer :)
journals
Email address obfuscated in r2072 using javascript (Rails helper).
--------------------------------------------------------------------------------
The following line will show user emails to the world via RSS feed
<pre>
# file: views/common/feed.atom.xml
xml.email(author.mail) if author.is_a?(User)
&& !author.mail.blank? && !author.pref.hide_mail
</pre>
--------------------------------------------------------------------------------