From 93388a56331bcd34ad738ec2d2ba4ef3a826de2e Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 29 Dec 2010 21:04:32 +0000 Subject: Refs #1553 - removed all hard coded profile urls from core git-svn-id: http://code.elgg.org/elgg/trunk@7756 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/views/default/messages/forms/send.php | 2 +- mod/messages/views/default/messages/messages.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/messages/views/default') diff --git a/mod/messages/views/default/messages/forms/send.php b/mod/messages/views/default/messages/forms/send.php index 7707dab82..71705bf18 100644 --- a/mod/messages/views/default/messages/forms/send.php +++ b/mod/messages/views/default/messages/forms/send.php @@ -34,7 +34,7 @@ unset($_SESSION['msg_contents']); echo "
".elgg_view("profile/icon",array('entity' => $user, 'size' => 'tiny'))."
"; //draw it - echo "
".elgg_echo("messages:to").": ".$user->name.""; + echo "
".elgg_echo("messages:to").": ".$user->name.""; //set the hidden input field to the recipients guid echo ""; echo "
"; diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php index 4567256b6..97036f9b0 100644 --- a/mod/messages/views/default/messages/messages.php +++ b/mod/messages/views/default/messages/messages.php @@ -64,11 +64,11 @@ if (isloggedin()) //get an instance of the user who the message has been sent to so we can access the name and icon $user_object = get_entity($vars['entity']->toId); $message_icon = elgg_view("profile/icon",array('entity' => $user_object, 'size' => 'tiny')); - $message_owner = elgg_echo('messages:to').": ".$user_object->name.""; + $message_owner = elgg_echo('messages:to').": ".$user_object->name.""; }else{ $user_object = get_entity($vars['entity']->fromId); $message_icon = elgg_view("profile/icon",array('entity' => $user_object, 'size' => 'tiny')); - $message_owner = elgg_echo('messages:from').": ".get_entity($vars['entity']->fromId)->name.""; + $message_owner = elgg_echo('messages:from').": ".get_entity($vars['entity']->fromId)->name.""; } ?>
-- cgit v1.2.3