--- loncom/interface/lonmsgdisplay.pm 2007/01/29 20:07:44 1.66 +++ loncom/interface/lonmsgdisplay.pm 2007/02/28 16:30:40 1.67 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging display # -# $Id: lonmsgdisplay.pm,v 1.66 2007/01/29 20:07:44 albertel Exp $ +# $Id: lonmsgdisplay.pm,v 1.67 2007/02/28 16:30:40 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -119,6 +119,7 @@ use Apache::lonnet; use HTML::TokeParser(); use Apache::Constants qw(:common); use Apache::loncommon(); +use Apache::lonhtmlcommon(); use Apache::lontexconvert(); use HTML::Entities(); use Apache::lonlocal; @@ -2039,6 +2040,7 @@ sub displaymessage { if (defined($content{'baseurl'})) { $baseurl = &Apache::lonenc::check_encrypt($content{'baseurl'}); } + $r->print(&Apache::loncommon::studentimagetag($content{'senderdomain'},$content{'sendername'})); $r->print('
'.&mt('Subject').': '.$content{'subject'}. ($folder ne 'sent'?'
'.&mt('From').': '. &Apache::loncommon::aboutmewrapper(