--- loncom/interface/lonblockingmenu.pm 2020/09/29 18:43:01 1.14.2.3.4.3
+++ loncom/interface/lonblockingmenu.pm 2017/06/26 01:56:58 1.25
@@ -2,7 +2,7 @@
# Routines for configuring blocking of access to collaborative functions,
# and specific resources during an exam
#
-# $Id: lonblockingmenu.pm,v 1.14.2.3.4.3 2020/09/29 18:43:01 raeburn Exp $
+# $Id: lonblockingmenu.pm,v 1.25 2017/06/26 01:56:58 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -527,7 +527,7 @@ sub handler {
$r->print(&Apache::loncourserespicker::create_picker($navmap,
'examblock','resourceblocks',$crstype,
\%blockedmaps,\%blockedresources,
- $env{'form.block'},'','',undef,undef,$readonly));
+ $env{'form.block'},'','',undef,$readonly));
} else {
$r->print($errormsg);
}
@@ -620,8 +620,6 @@ sub handler {
'
'.&mt("displaying or posting to LON-CAPA discussion boards or live chat in the $lctype").''."\n".
''.&mt('accessing content in LON-CAPA portfolios or blogs').''."\n".
''.&mt("generating printouts of $lctype content").''.
- ''.&mt("displaying the LON-CAPA gradebook in the $lctype").''.
- ''.&mt("searching $lctype content by keyword").''.
''.&mt("accessing $lctype content in specified folders or resources").''.
''.&mt("changing user's own password").''.
''.
@@ -1658,12 +1656,10 @@ sub blocktype_text {
'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','search','alert','reinit','passwd'];
+ my $typeorder = ['com','chat','boards','port','groups','blogs','printout','docs','alert','reinit','passwd'];
return ($typeorder,\%types);
}