aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-30 18:22:03 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-30 18:22:03 +0000
commit07dd32538a78f3471cf80ae9064a5feeb3dacfa9 (patch)
treebdf20e7888bc2d8e74f681239f3f2b6c6ca6b04e /views/default
parent64fd6fe8dbc39ebbb5667f492e46c59d5d2090a5 (diff)
downloadelgg-07dd32538a78f3471cf80ae9064a5feeb3dacfa9.tar.gz
elgg-07dd32538a78f3471cf80ae9064a5feeb3dacfa9.tar.bz2
Closes #633: User name in owner block is now link. This may require additional skinning.
git-svn-id: https://code.elgg.org/elgg/trunk@2522 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/page_elements/owner_block.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index d12c02641..eb8b6275c 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -21,7 +21,8 @@
if ($owner) {
$icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny'));
if ($owner instanceof ElggUser || $owner instanceof ElggGroup) {
- $info = $owner->name;
+ //$info = $owner->name;
+ $info = '<a href="' . $owner->getURL() . '">' . $owner->name . '</a>';
}
$display = "<div id=\"owner_block_icon\">" . $icon . "</div>";
$display .= "<div id=\"owner_block_content\">" . $info . "</div><div class=\"clearfloat ownerblockline\"></div>";