--- loncom/interface/lonmsgdisplay.pm 2008/12/14 00:33:35 1.103 +++ loncom/interface/lonmsgdisplay.pm 2008/12/14 02:45:48 1.104 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging display # -# $Id: lonmsgdisplay.pm,v 1.103 2008/12/14 00:33:35 raeburn Exp $ +# $Id: lonmsgdisplay.pm,v 1.104 2008/12/14 02:45:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -353,7 +353,7 @@ sub makefolder { } } else { $outcome = - &mt('Error - could not obtain lock on e-mail folders record.'); + &mt('Error - could not obtain lock on message folders record.'); } return ($outcome,$warning); } @@ -559,8 +559,7 @@ sub disgroup { my $result; # Needs to be in a course if (!($env{'request.course.fn'})) { - $result = &mt('Error: you must have a course role selected to be able to send a broadcast -e-mail to a group in the course.'); + $result = &mt('Error: you must have a course role selected to be able to send a broadcast message to a group in the course.'); return $result; } if ($cdom eq '' || $cnum eq '') { @@ -2312,7 +2311,7 @@ sub displaymessage { .$li_end; } # Print functions - $r->print('
' + $r->print('
' .'
' .'' .&mt('Functions') @@ -2353,10 +2352,10 @@ sub displaymessage { # Print actions if ($actionlist) { - $r->print('
' + $r->print('
' .'
' .'' - .&mt('Currently available actions (will open extra window):') + .&mt('[_1]Currently available actions[_2] (will open extra window):','','') .'' .$actionlist .'
' @@ -2400,8 +2399,9 @@ sub displaymessage { if (defined($content{'baseurl'})) { $baseurl = &Apache::lonenc::check_encrypt($content{'baseurl'}); } + $r->print('' .&Apache::lonhtmlcommon::start_pick_box() .&Apache::lonhtmlcommon::row_title(&mt('Subject')) .$content{'subject'}