diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-12-30 18:22:03 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-12-30 18:22:03 +0000 |
commit | 07dd32538a78f3471cf80ae9064a5feeb3dacfa9 (patch) | |
tree | bdf20e7888bc2d8e74f681239f3f2b6c6ca6b04e | |
parent | 64fd6fe8dbc39ebbb5667f492e46c59d5d2090a5 (diff) | |
download | elgg-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
-rw-r--r-- | views/default/page_elements/owner_block.php | 3 |
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>";
|