aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 22:18:47 -0500
committercash <cash.costello@gmail.com>2011-11-18 22:18:47 -0500
commit77d6a5b9afe3f6dabfad4bda5d7c735cd48deeec (patch)
tree7f7eac9484119d48b95f57e7c64bcb0524547c16
parent71b9a1c21e3eec65f577a05a8e1ff86548e3aa4c (diff)
downloadelgg-77d6a5b9afe3f6dabfad4bda5d7c735cd48deeec.tar.gz
elgg-77d6a5b9afe3f6dabfad4bda5d7c735cd48deeec.tar.bz2
don't want hover menu or link on owner block icon in profile
-rw-r--r--mod/profile/views/default/profile/owner_block.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php
index 35199726a..63cb5391a 100644
--- a/mod/profile/views/default/profile/owner_block.php
+++ b/mod/profile/views/default/profile/owner_block.php
@@ -11,7 +11,10 @@ if (!$user) {
return TRUE;
}
-$icon = elgg_view_entity_icon($user, 'large', array('use_hover' => 'true'));
+$icon = elgg_view_entity_icon($user, 'large', array(
+ 'use_hover' => false,
+ 'use_link' => false,
+));
// grab the actions and admin menu items from user hover
$menu = elgg_trigger_plugin_hook('register', "menu:user_hover", array('entity' => $user), array());