aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/content_header_member.php
blob: 25e71cf2be742413469e899e099ef71de85b4443 (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
25
26
<?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
 * @author Curverider Ltd
 * @link http://elgg.org/
 *
 */

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

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

$title = elgg_echo($type);
$title = '<div class="content_header_title">' . $name . "'s " . $type . '</div>';
?>

<div id="content_header" class="clearfloat">
	<?php echo $title; ?>
</div>