aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-04-21 11:51:08 -0400
committerBrett Profitt <brett.profitt@gmail.com>2011-04-21 11:51:08 -0400
commit1a9779ddd274ca47df2d0fdf27328a08255d5c5f (patch)
treebe367151e7628a7c0d943000a400e631b736d814 /mod/bookmarks
parent0dced8d5b853c2ba853b8507f8d2142a09784d52 (diff)
parent1f2a6757d617cfe191fc44b06cbb791b30cd5710 (diff)
downloadelgg-1a9779ddd274ca47df2d0fdf27328a08255d5c5f.tar.gz
elgg-1a9779ddd274ca47df2d0fdf27328a08255d5c5f.tar.bz2
Merge branch 'master' of github.com:Elgg/Elgg
Diffstat (limited to 'mod/bookmarks')
-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}";