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'); ?>