--- loncom/interface/lonmsg.pm 2002/06/26 20:41:55 1.34 +++ loncom/interface/lonmsg.pm 2002/07/29 22:17:05 1.36 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.34 2002/06/26 20:41:55 www Exp $ +# $Id: lonmsg.pm,v 1.36 2002/07/29 22:17:05 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -49,6 +49,8 @@ use Apache::lonnet(); use vars qw($msgcount); use HTML::TokeParser; use Apache::Constants qw(:common); +use Apache::loncommon; +use Apache::lontexconvert; # ===================================================================== Package @@ -315,7 +317,9 @@ sub discrit { $result.='
'.$content{'message'}.''. + '
'. + &Apache::lontexconvert::msgtexconverted($content{'message'}). + ''. ''. ''; @@ -343,10 +347,12 @@ sub comprep { my $subject='Re: '.$content{'subject'}; my $dispcrit=''; if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) { + my $crithelp = Apache::loncommon::help_open_topic("Course_Critical_Message"); $dispcrit= - ' Send as critical message
';
+ ' Send as critical message ' . $crithelp .
+ '
'.
+ ' Send as critical message ' .
+ ' and return receipt' . $crithelp . '
'; } $r->print(<<"ENDREPLY");