username; // set up breadcrumbs context elgg_push_breadcrumb(elgg_echo('messages:inbox'), $url); //this is used on the delete link so we know which type of message it is $type = "inbox"; } // fix for RE: RE: RE: that builds on replies $reply_title = $vars['entity']->title; if (strncmp($reply_title, "RE:", 3) != 0) { $reply_title = "RE: " . $reply_title; } if (isloggedin()) if (isset($vars['entity'])) { if ($vars['entity']->toId == get_loggedin_userid() || $vars['entity']->owner_guid == get_loggedin_userid()) { // display breadcrumbs elgg_push_breadcrumb($vars['entity']->title); echo elgg_view('navigation/breadcrumbs'); ?>

title; ?>

"action/messages/delete?message_id=" . $vars['entity']->getGUID() . "&type={$type}&submit=" . elgg_echo('delete'), 'text' => elgg_echo('delete'), 'confirm' => elgg_echo('deleteconfirm'), 'class' => "action-button disabled" )); ?>
toId); $message_icon = elgg_view("profile/icon",array('entity' => $user_object, 'size' => 'tiny')); $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.""; } ?>

time_created); ?>

(anyone?) if($main_message = $vars['entity']->getEntitiesFromRelationship("reply")){ echo $main_message[0][description]; } ?> $vars['entity']->description)); ?>