aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/views/default/object/bookmarks.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-20 19:29:33 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-20 19:29:33 +0000
commit1f2a6757d617cfe191fc44b06cbb791b30cd5710 (patch)
tree5bf4518d8993ac0d81b424af87c8d46e313159aa /mod/bookmarks/views/default/object/bookmarks.php
parent34625fc95c5e2250ed68abd94c28dccd16438759 (diff)
downloadelgg-1f2a6757d617cfe191fc44b06cbb791b30cd5710.tar.gz
elgg-1f2a6757d617cfe191fc44b06cbb791b30cd5710.tar.bz2
Fixes #3369: Bookmarks now have rel=nofollow
git-svn-id: http://code.elgg.org/elgg/trunk@9007 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/views/default/object/bookmarks.php')
-rw-r--r--mod/bookmarks/views/default/object/bookmarks.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/bookmarks/views/default/object/bookmarks.php b/mod/bookmarks/views/default/object/bookmarks.php
index 97c68914e..ab00e23c6 100644
--- a/mod/bookmarks/views/default/object/bookmarks.php
+++ b/mod/bookmarks/views/default/object/bookmarks.php
@@ -17,7 +17,7 @@ $owner_icon = elgg_view_entity_icon($owner, 'tiny');
$container = $bookmark->getContainerEntity();
$categories = elgg_view('output/categories', $vars);
-$link = filter_tags(elgg_view('output/url', array('href' => $bookmark->address)));
+$link = filter_tags(elgg_view('output/url', array('href' => $bookmark->address, 'rel' => 'nofollow')));
$description = elgg_view('output/longtext', array('value' => $bookmark->description, 'class' => 'pbl'));
$owner_link = elgg_view('output/url', array(
@@ -105,7 +105,8 @@ HTML;
$link = filter_tags(elgg_view('output/url', array(
'href' => $bookmark->address,
- 'text' => $display_text
+ 'text' => $display_text,
+ 'rel' => 'nofollow',
)));
$content = elgg_view_icon('push-pin-alt') . "$link{$excerpt}";