aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-13 10:38:31 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-13 10:38:31 +0000
commit0b8d3a18ce4a141d055b52757d74e23f0f3722bf (patch)
tree83bbd2f9cb13788cfe83899ce2e8ff50a77e24f2 /mod
parent0316cb034357562ed1110393e4bc0f4e1c36d246 (diff)
downloadelgg-0b8d3a18ce4a141d055b52757d74e23f0f3722bf.tar.gz
elgg-0b8d3a18ce4a141d055b52757d74e23f0f3722bf.tar.bz2
Fix for @mentions mod creating multiple hrefs in avatar submenu.
git-svn-id: http://code.elgg.org/elgg/trunk@6025 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/profile/views/default/profile/icon.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/profile/views/default/profile/icon.php b/mod/profile/views/default/profile/icon.php
index 775da97ab..ef1b32b36 100644
--- a/mod/profile/views/default/profile/icon.php
+++ b/mod/profile/views/default/profile/icon.php
@@ -48,13 +48,12 @@ if ($vars['entity'] instanceof ElggUser) {
}
// profile avatar drop-down menu
if (!$override) {
- ?>
+ ?>
<div class="usericon <?php echo $vars['size']; ?>">
<div class="avatar_menu_button"><img src="<?php echo $vars['url']; ?>_graphics/spacer.gif" border="0" width="15px" height="15px" /></div>
<div class="sub_menu">
<h3 class="displayname"><a href="<?php echo $vars['entity']->getURL(); ?>"><?php echo $vars['entity']->name; ?>
- <span class="username"><?php echo "@".$vars['entity']->username; ?></span>
- </a></h3>
+ <span class="username"><?php echo "&#64;" . $vars['entity']->username; ?></span></a></h3>
<?php
echo "<ul class='sub_menu_list'>";
if (isloggedin()) {