--- loncom/interface/lonmsg.pm 2002/04/11 20:46:21 1.30
+++ loncom/interface/lonmsg.pm 2002/08/28 14:11:27 1.37
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging
#
-# $Id: lonmsg.pm,v 1.30 2002/04/11 20:46:21 matthew Exp $
+# $Id: lonmsg.pm,v 1.37 2002/08/28 14:11:27 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
@@ -312,9 +314,15 @@ sub discrit {
my %content=&unpackagemsg($what{$_});
next if ($content{'senderdomain'} eq '');
$content{'message'}=~s/\n/\
/g;
- $result.='
'.$content{'message'}.''. + $result.='
'. + &Apache::lontexconvert::msgtexconverted($content{'message'}). + ''. ''. ''; @@ -342,16 +350,18 @@ 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");