--- loncom/interface/lonblockingmenu.pm 2018/01/12 13:33:38 1.26 +++ loncom/interface/lonblockingmenu.pm 2020/08/10 19:28:21 1.27 @@ -2,7 +2,7 @@ # Routines for configuring blocking of access to collaborative functions, # and specific resources during an exam # -# $Id: lonblockingmenu.pm,v 1.26 2018/01/12 13:33:38 raeburn Exp $ +# $Id: lonblockingmenu.pm,v 1.27 2020/08/10 19:28:21 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -620,6 +620,7 @@ 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("accessing $lctype content in specified folders or resources").'
  • '. '
  • '.&mt("changing user's own password").'
  • '. ''. @@ -1656,10 +1657,11 @@ sub blocktype_text { 'docs' => 'Content', 'printout' => 'Printouts', 'passwd' => 'Change Password', + 'grades' => 'Gradebook', 'alert' => 'Critical Alert', 'reinit' => 'Course Re-init', ); - my $typeorder = ['com','chat','boards','port','groups','blogs','printout','docs','alert','reinit','passwd']; + my $typeorder = ['com','chat','boards','port','groups','blogs','printout','docs','grades','alert','reinit','passwd']; return ($typeorder,\%types); }