]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Updated 'Send a message to' form to display users display name rather than username.
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 24 May 2010 12:15:09 +0000 (12:15 +0000)
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 24 May 2010 12:15:09 +0000 (12:15 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@6162 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/messages/views/default/messages/forms/send.php

index ed2cb0e49fa568c4c4cea24b7b6c4dde716b866a..98116e9185bd88c76cf2606a204d1cca9785dc76 100644 (file)
@@ -38,7 +38,7 @@ unset($_SESSION['msg_contents']);
                echo "<div class='entity_listing messages clearfloat'><div class='entity_listing_icon'>".elgg_view("profile/icon",array('entity' => $user, 'size' => 'tiny'))."</div>";
                
                //draw it
-                       echo "<div class='entity_listing_info'>".elgg_echo("messages:to").": <a href='{$vars['url']}pg/profile/".$user->username."'>".$user->username."</a>";
+                       echo "<div class='entity_listing_info'>".elgg_echo("messages:to").": <a href='{$vars['url']}pg/profile/".$user->username."'>".$user->name."</a>";
                        //set the hidden input field to the recipients guid
                echo "<input type='hidden' name='send_to' value=\"{$send_to}\" />";     
                        echo "</div></div>";