--- loncom/interface/loncommunicate.pm 2002/05/07 19:24:28 1.9 +++ loncom/interface/loncommunicate.pm 2002/12/27 16:33:36 1.14 @@ -1,7 +1,7 @@ # The LearningOnline Network # Communicate # -# $Id: loncommunicate.pm,v 1.9 2002/05/07 19:24:28 matthew Exp $ +# $Id: loncommunicate.pm,v 1.14 2002/12/27 16:33:36 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -41,6 +41,7 @@ package Apache::loncommunicate; use strict; use Apache::Constants qw(:common); use Apache::lonmsg(); +use Apache::loncommon; sub handler { my $r = shift; @@ -55,10 +56,8 @@ sub handler { The LearningOnline Network with CAPA - - -

Communicate

END + $r->print(&Apache::loncommon::bodytag("Communication and Messages")); $r->print(< @@ -78,8 +77,12 @@ END Broadcast message to course - Upload messages to course + Distribute messages from uploaded file to course + + User records of face-to-face discussions and critical messages + + END } $r->print(''); @@ -91,6 +94,7 @@ END foreach (@msgids) { my ($sendtime,$shortsubj,$fromname,$fromdom,$status)= &Apache::lonmsg::unpackmsgid($_); + if (defined($sendtime) && $sendtime!~/error/) { $sendtime = localtime($sendtime); if ($status eq 'new') { push @newmsgs, { @@ -101,6 +105,7 @@ END fromdom => $fromdom } } + } } if ($#newmsgs >= 0) { $r->print(<