--- loncom/interface/lonmsgdisplay.pm 2007/01/22 21:51:05 1.65
+++ loncom/interface/lonmsgdisplay.pm 2007/03/01 09:30:58 1.68
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.65 2007/01/22 21:51:05 raeburn Exp $
+# $Id: lonmsgdisplay.pm,v 1.68 2007/03/01 09:30:58 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::student_image_tag($content{'senderdomain'},$content{'sendername'}));
$r->print('
'.&mt('Subject').': '.$content{'subject'}.
($folder ne 'sent'?'
'.&mt('From').': '.
&Apache::loncommon::aboutmewrapper(
@@ -2280,7 +2282,7 @@ sub sendoffmail {
}
}
if ($env{'form.additionalrec'}) {
- foreach my $rec (split(/\,/,$env{'form.additionalrec'})) {
+ foreach my $rec (split(/\s*,\s*/,$env{'form.additionalrec'})) {
my ($auname,$audom)=split(/:/,$rec);
if (($auname ne "") && ($audom ne "")) {
$toaddr{$auname.':'.$audom}='';