--- loncom/interface/lonmsgdisplay.pm 2022/09/17 23:38:51 1.198 +++ loncom/interface/lonmsgdisplay.pm 2025/03/03 21:42:46 1.203 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines for messaging display # -# $Id: lonmsgdisplay.pm,v 1.198 2022/09/17 23:38:51 raeburn Exp $ +# $Id: lonmsgdisplay.pm,v 1.203 2025/03/03 21:42:46 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -111,6 +111,7 @@ use Apache::loncommunicate; use Apache::lonfeedback; use Apache::lonrss(); use Apache::lonselstudent(); +use Apache::lonenc(); use lib '/home/httpd/lib/perl/'; use LONCAPA qw(:DEFAULT :match); @@ -228,41 +229,39 @@ function folder_choice(targetform,caller
':''); + ''; return $output; } @@ -300,15 +299,15 @@ sub scrollbuttons { } else { $status = $statushash{$msgstatus}; } - my $output = ''.&mt('Page:').' '; + my $output; if ($maxdis == 1) { # No buttons if only one page is displayed - $output .= '1/1'; + $output = ''.&mt('Page:').' 1/1'; } else { - $output .= + $output = ' '. ''. ''. - ' / '.$maxdis.' '. + ' / '.$maxdis.' '. ''. ''; } @@ -805,7 +804,7 @@ sub groupmail_header { $groupheader .= &Apache::lonhtmlcommon::breadcrumbs( &mt('Group messages - [_1]',$description), undef,undef,undef,undef,1); - return $groupheader; + return $groupheader.'