aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-08 15:44:49 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-08 15:44:49 +0000
commitfd75f66c772983c871ee5ed06d702dbb24ecac07 (patch)
treeff18fcf49e9906ef345f587e4264ad63f8d3f66a /views/default/page_elements
parent7b8a354160b01ebc9c4ca56c728905f6149e7fe9 (diff)
downloadelgg-fd75f66c772983c871ee5ed06d702dbb24ecac07.tar.gz
elgg-fd75f66c772983c871ee5ed06d702dbb24ecac07.tar.bz2
Updates to Profile and owner_block interface
git-svn-id: http://code.elgg.org/elgg/trunk@5301 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-rw-r--r--views/default/page_elements/owner_block.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index eb18a733e..04b70663a 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -15,20 +15,23 @@ $contents = "";
if(is_plugin_enabled('profile')) {
// Is there a page owner?
$owner = page_owner_entity();
+ $location = elgg_view("output/tags",array('value' => $owner->location));
if ($owner instanceof ElggEntity) {
$icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny'));
if ($owner instanceof ElggUser || $owner instanceof ElggGroup) {
- $info = '<a href="' . $owner->getURL() . '">' . $owner->name . '</a>';
+ $info = '<h3><a href="' . $owner->getURL() . '">' . $owner->name . '</a></h3>';
}
- $display = "<div id='owner_block_icon'>" . $icon . "</div>";
- $display .= "<div id='owner_block_content'>" . $info . "</div><div class='clearfloat ownerblockline'></div>";
+ $display = "<div class='owner_block_icon'>" . $icon . "</div>";
+ $display .= "<div class='owner_block_contents clearfloat'>" . $info;
if ($owner->briefdescription) {
$desc = $owner->briefdescription;
- $display .= "<div id='owner_block_desc'>" . $desc . "</div>";
+ $display .= "<p class='profile_info briefdescription'>" . $desc . "</p>";
}
+ $display .= "<p class='profile_info location'>{$location}</p>";
+ $display .= "</div>"; // close owner_block_contents
- $contents .= "<div id='owner_block'>".$display."</div><div id='owner_block_bottom'></div>";
+ $contents .= "<div id='owner_block' class='radius8'>".$display."</div>";
}
}
// Are there feeds to display?