]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fix for @mentions mod creating multiple hrefs in avatar submenu.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 13 May 2010 10:38:31 +0000 (10:38 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 13 May 2010 10:38:31 +0000 (10:38 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6025 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/profile/views/default/profile/icon.php

index 775da97ab3aba822693e8b2a607460d54f99fd59..ef1b32b36d2feae7e6c4148775e1d04a801ce765 100644 (file)
@@ -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()) {