diff options
Diffstat (limited to 'views/default/river/relationship')
-rw-r--r-- | views/default/river/relationship/friend/create.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/views/default/river/relationship/friend/create.php b/views/default/river/relationship/friend/create.php index 80c567795..1e6514b4a 100644 --- a/views/default/river/relationship/friend/create.php +++ b/views/default/river/relationship/friend/create.php @@ -5,13 +5,17 @@ $subject = $vars['item']->getSubjectEntity(); $object = $vars['item']->getObjectEntity(); -$object_link = "<a href=\"{$object->getURL()}\">$object->name</a>"; +$params = array( + 'href' => $object->getURL(), + 'text' => $object->name, +); +$object_link = elgg_view('output/url', $params); $subject_icon = elgg_view("profile/icon", array('entity' => $subject, 'size' => 'tiny')); $object_icon = elgg_view("profile/icon", array('entity' => $object, 'size' => 'tiny')); echo elgg_echo("friends:river:add", array($object_link)); -echo '<div class="elgg-river-excerpt">'; +echo '<div class="elgg-river-content clearfix">'; echo $subject_icon; echo '<span class="elgg-icon elgg-icon-following"></span>'; echo $object_icon; |