--- loncom/interface/loncommon.pm 2009/07/25 23:16:04 1.865 +++ loncom/interface/loncommon.pm 2009/07/26 20:39:46 1.866 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.865 2009/07/25 23:16:04 raeburn Exp $ +# $Id: loncommon.pm,v 1.866 2009/07/26 20:39:46 kalberla Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3766,7 +3766,7 @@ sub blockcheck { ($env{'request.role'} !~ m{^st\./\Q$cdom\E/\Q$cnum\E})); next if ($no_userblock); - # Retrieve blocking times and identity of blocker for course + # Retrieve blocking times and identity of locker for course # of specified user, unless user has 'evb' privilege. my ($start,$end)=&get_blocks($setters,$activity,$cdom,$cnum); @@ -3916,8 +3916,12 @@ sub blocking_status_print { my $category; if ($activity eq 'boards') { $category = 'Discussion posts in this course'; + } elsif ($activity eq 'chat') { + $category = 'Chat'; + } elsif ($activity eq 'msgdisplay') { + $category = 'This message'; } elsif ($activity eq 'blogs') { - $category = 'Blogs'; + $category = 'Blogs'; } elsif ($activity eq 'port') { if (defined($uname) && defined($udom)) { if ($uname eq $env{'user.name'} && @@ -3947,6 +3951,8 @@ sub blocking_status_print { } } elsif ($activity eq 'groups') { $category = 'Groups in this course'; + } else { + $category = 'Communication'; } my $showstart = &Apache::lonlocal::locallocaltime($startblock); my $showend = &Apache::lonlocal::locallocaltime($endblock);