www/adiumxtras.com 61:6ce995aee86d: Set nofollow and noreferrer ...
commits at adium.im
commits at adium.im
Thu Apr 2 08:03:55 UTC 2015
details: http://hg.adium.im/www/adiumxtras.com/rev/6ce995aee86d
revision: 61:6ce995aee86d
branch: adiumxtras.com
author: Thijs Alkemade <me at thijsalkema.de>
date: Thu Apr 02 10:03:22 2015 +0200
Set nofollow and noreferrer for links in user profiles, making them less attractive for spammers.
diffs (23 lines):
diff -r aca97ab9fd90 -r 6ce995aee86d templates/comment.tpl
--- a/templates/comment.tpl Fri Feb 27 14:26:11 2015 +0100
+++ b/templates/comment.tpl Thu Apr 02 10:03:22 2015 +0200
@@ -2,6 +2,7 @@
<div class="commentRight">
{if $showMod}
<a href="javascript:confirmDelete({$comment.comment_id});">Delete</a> |
+ <a href="javascript:confirmDeleteSpam({$comment.comment_id});">Delete as Spam</a> |
{elseif $loggedIn}
<a href="javascript:confirmReport({$comment.comment_id}, {$xtra.xtra_id});">Report This Comment As Abuse</a> |
{/if}
diff -r aca97ab9fd90 -r 6ce995aee86d templates/profile.tpl
--- a/templates/profile.tpl Fri Feb 27 14:26:11 2015 +0100
+++ b/templates/profile.tpl Thu Apr 02 10:03:22 2015 +0200
@@ -38,7 +38,7 @@
{if $user.website}
<tr>
<td><img src="/images/mini_earth.png" alt="Website" /></td>
- <td><a href="{$user.website}">{$user.website}</td>
+ <td><a href="{$user.website}" rel="nofollow noreferrer">{$user.website}</td>
</tr>
{/if}
<tr>
More information about the commits
mailing list