--- loncom/interface/lonblockingmenu.pm 2020/08/10 19:28:21 1.27 +++ loncom/interface/lonblockingmenu.pm 2024/12/15 02:22:53 1.30 @@ -2,7 +2,7 @@ # Routines for configuring blocking of access to collaborative functions, # and specific resources during an exam # -# $Id: lonblockingmenu.pm,v 1.27 2020/08/10 19:28:21 raeburn Exp $ +# $Id: lonblockingmenu.pm,v 1.30 2024/12/15 02:22:53 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -527,7 +527,8 @@ sub handler { $r->print(&Apache::loncourserespicker::create_picker($navmap, 'examblock','resourceblocks',$crstype, \%blockedmaps,\%blockedresources, - $env{'form.block'},'','',undef,undef,$readonly)); + $env{'form.block'},'','',undef,undef,undef, + $readonly)); } else { $r->print($errormsg); } @@ -618,9 +619,10 @@ sub handler { '<ul>'."\n". '<li>'.&mt("displaying LON-CAPA messages sent by other $usertype in the $lctype").'</li>'."\n". '<li>'.&mt("displaying or posting to LON-CAPA discussion boards or live chat in the $lctype").'</li>'."\n". - '<li>'.&mt('accessing content in LON-CAPA portfolios or blogs').'</li>'."\n". + '<li>'.&mt('accessing content in LON-CAPA portfolios, blogs, or user information pages').'</li>'."\n". '<li>'.&mt("generating printouts of $lctype content").'</li>'. '<li>'.&mt("displaying the LON-CAPA gradebook in the $lctype").'</li>'. + '<li>'.&mt("searching $lctype content by keyword").'</li>'. '<li>'.&mt("accessing $lctype content in specified folders or resources").'</li>'. '<li>'.&mt("changing user's own password").'</li>'. '</ul>'. @@ -1654,14 +1656,16 @@ sub blocktype_text { 'port' => 'Portfolio', 'groups' => 'Groups', 'blogs' => 'Blogs', + 'about' => 'User Information', 'docs' => 'Content', 'printout' => 'Printouts', 'passwd' => 'Change Password', 'grades' => 'Gradebook', + 'search' => 'Content Search', 'alert' => 'Critical Alert', 'reinit' => 'Course Re-init', ); - my $typeorder = ['com','chat','boards','port','groups','blogs','printout','docs','grades','alert','reinit','passwd']; + my $typeorder = ['com','chat','boards','port','groups','blogs','about','printout','docs','grades','search','alert','reinit','passwd']; return ($typeorder,\%types); }