aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/content_header_member.php
blob: 3d8fff0c068c842da92d416a2b126c25ce8a52d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/**
 * When looking at a users blog, bookmarks, video etc only show 
 * the users name and the tool you are viewing
 *
 * @package Elgg
 * @subpackage Core
 *
 */

$page_owner = elgg_get_page_owner();
$name = elgg_get_page_owner()->name;

// get the object type
$type = $vars['type'];

$title = elgg_echo($type);
$title = $name . "'s " . $type;
?>

<div id="content-header" class="clearfix">
	<?php echo '<div class="content-header-title">' . elgg_view_title($title) . '</div>'; ?>
</div>