From 3b970491b7bc84e8f7408b5858e49b75ae7a7d6c Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 24 May 2010 10:25:14 +0000 Subject: Ownerblock links to users objects interface updated. git-svn-id: http://code.elgg.org/elgg/trunk@6152 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/page_elements/owner_block.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'views/default/page_elements') diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index 158f82ff0..12341bec7 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -35,7 +35,7 @@ if(is_plugin_enabled('profile')) { ) { $icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny')); $owner_url = $owner->getURL(); - $display = "
$icon
"; + $display = "
$icon
"; $display .= '
'; $display .= "

{$owner->name}

"; @@ -46,6 +46,8 @@ if(is_plugin_enabled('profile')) { $location = elgg_view('output/tags', array('value' => $owner->location)); $display .= "

$location

"; + $display .= '
'; + // Trigger owner block menu $params = array('owner' => $owner); $links = trigger_plugin_hook('profile_menu', 'profile', $params, array()); @@ -56,7 +58,7 @@ if(is_plugin_enabled('profile')) { 'return strnatcasecmp($a[\'text\'], $b[\'text\']);' )); - $display .= '
'; - $contents .= "
$display
"; + $contents .= "
$display
"; } } -- cgit v1.2.3