--- loncom/interface/lonmsg.pm 2005/02/17 04:02:47 1.135 +++ loncom/interface/lonmsg.pm 2005/02/17 04:11:21 1.136 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging # -# $Id: lonmsg.pm,v 1.135 2005/02/17 04:02:47 albertel Exp $ +# $Id: lonmsg.pm,v 1.136 2005/02/17 04:11:21 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -675,7 +675,7 @@ sub discourse {   -  + 

ENDDISHEADER @@ -712,8 +712,8 @@ ENDDISHEADER my $key = 'send_to_&&&'.$section.'&&&_'.$student; if (! defined($fullname) || $fullname eq '') { $fullname = $sname; } $r->print(''.$sname.'@'.$sdom.''.$section. ''); } $r->print(''); @@ -724,8 +724,8 @@ ENDDISHEADER sub discrit { my $r=shift; my $header = '

'.&mt('Critical Messages').'

'. - '
'. - ''; + ''. + ''; my %what=&Apache::lonnet::dump('critical'); my $result = ''; foreach (sort keys %what) { @@ -742,9 +742,9 @@ $content{'sendername'}.'@'. ''. &mt('You have to confirm that you received this message. After confirmation, this message will be moved to your regular inbox'). '
'. - ''. - ''; + ''. + ''; } # Check to see if there were any messages. if ($result eq '') { @@ -1004,7 +1004,7 @@ ENDDISHEADER } else { $r->print(''); } - $r->print(''.&mt('Open').''. ($folder ne 'trash'?''.&mt('Delete'):' ').''. @@ -1090,12 +1090,12 @@ sub compout { if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) { my $crithelp = Apache::loncommon::help_open_topic("Course_Critical_Message"); $dispcrit= - ' '.&mt('Send as critical message').' ' . $crithelp . - '
'. - ' '.&mt('Send as critical message').' ' . - &mt('and return receipt') . $crithelp . - '
'. -&mt('Send copy to permanent email address (if known)').'

'; + '

' . $crithelp . + '

'. + '' . $crithelp . + '

'; } my %message; my %content; @@ -1129,8 +1129,8 @@ sub compout { if ($content{'baseurl'}) { $disbase=''; if ($ENV{'user.adv'}) { - $disbase.=''.&mt('Store message for re-use'). - ' '.&mt('Store message for re-use'). + ' '. &mt('Show re-usable messages').'
'; } @@ -1158,7 +1158,7 @@ sub compout { my $selectlink=&Apache::loncommon::selectstudent_link ('compemail','recuname','recdomain'); $r->print(<<"ENDREC"); -$lt{'us'}:$selectlink +$lt{'us'}:$selectlink $lt{'do'}: $domform ENDREC @@ -1559,8 +1559,8 @@ END $$ltext{'star'}: $startform
$$ltext{'endd'}:  $endform $settername - - $lt{'modi'}? 
$lt{'canc'}?   + +
END $parmcount ++; @@ -1612,8 +1612,8 @@ sub display_addblocker_table { $$ltext{'star'}: $startform
$$ltext{'endd'}:  $endform - - $lt{'addb'}?  + +