diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 10:25:14 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-24 10:25:14 +0000 |
commit | 3b970491b7bc84e8f7408b5858e49b75ae7a7d6c (patch) | |
tree | 75972f3c54ef5b074d2fdeb0de5f7174c6a744d1 /views/default/page_elements | |
parent | 8607015bd5a7c749629549baaccd6ce66bba0438 (diff) | |
download | elgg-3b970491b7bc84e8f7408b5858e49b75ae7a7d6c.tar.gz elgg-3b970491b7bc84e8f7408b5858e49b75ae7a7d6c.tar.bz2 |
Ownerblock links to users objects interface updated.
git-svn-id: http://code.elgg.org/elgg/trunk@6152 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-rw-r--r-- | views/default/page_elements/owner_block.php | 10 |
1 files changed, 6 insertions, 4 deletions
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 = "<div class=\"owner_block_icon\">$icon</div>"; + $display = "<div class='owner_block_icon'>$icon</div>"; $display .= '<div class="owner_block_contents clearfloat">'; $display .= "<h3><a href=\"$owner_url\">{$owner->name}</a></h3>"; @@ -46,6 +46,8 @@ if(is_plugin_enabled('profile')) { $location = elgg_view('output/tags', array('value' => $owner->location)); $display .= "<p class=\"profile_info location\">$location</p>"; + $display .= '</div>'; + // 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 .= '<div><ul>'; + $display .= '<div class="owners_content_links"><ul>'; foreach ($links as $link) { $display .= "<li><a href=\"{$link['href']}\">{$link['text']}</a></li>"; } @@ -67,9 +69,9 @@ if(is_plugin_enabled('profile')) { $display .= elgg_view('owner_block/profile_extend'); // close owner_block_content - $display .= '</div>'; + //$display .= '</div>'; - $contents .= "<div id=\"owner_block\" class=\"radius8\">$display</div>"; + $contents .= "<div id='owner_block' class='clearfloat'>$display</div>"; } } |