aboutsummaryrefslogtreecommitdiff
path: root/views/default/river/relationship
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 12:03:17 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 12:03:17 +0000
commit31867d1a44f87c775014c9f9c0b8fd546d7c4ba9 (patch)
treed7edbdc4b6620dd2b7488ce5c9127086f78d5bc0 /views/default/river/relationship
parente0d1bf52ccde42d62d979b11791905f069bad8c4 (diff)
downloadelgg-31867d1a44f87c775014c9f9c0b8fd546d7c4ba9.tar.gz
elgg-31867d1a44f87c775014c9f9c0b8fd546d7c4ba9.tar.bz2
updated river views for content display and added new bookmarks river view code
git-svn-id: http://code.elgg.org/elgg/trunk@7657 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/river/relationship')
-rw-r--r--views/default/river/relationship/friend/create.php8
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;