From bb9ae5a085e53948a8138a638e84648ce1ed726d Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 8 Jul 2008 11:46:58 +0000 Subject: reverted the new title git-svn-id: https://code.elgg.org/elgg/trunk@1334 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/title.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'views/default') diff --git a/views/default/page_elements/title.php b/views/default/page_elements/title.php index c4248d713..611bc0aa3 100644 --- a/views/default/page_elements/title.php +++ b/views/default/page_elements/title.php @@ -15,15 +15,9 @@ $page_owner = page_owner(); $page_owner_user = get_user($page_owner); - $user_name = $page_owner_user->username; if($page_owner) { - //if the user is looking at their own stuff, don't display the name - if($_SESSION['user']->getGUID() == $page_owner_user->guid){ - $info = "

Your " . $vars['title'] . "

"; - }else{ - $info = "

" . $user_name . "'s " . $vars['title'] . "

"; - } + $info = "

" . $vars['title'] . "

"; $icon = elgg_view("profile/icon",array('entity' => $page_owner_user, 'size' => 'small')); echo elgg_view_listing($icon, $info); } else { -- cgit v1.2.3