--- loncom/interface/lonparmset.pm 2015/04/28 13:12:46 1.549
+++ loncom/interface/lonparmset.pm 2015/08/16 20:45:41 1.552
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.549 2015/04/28 13:12:46 raeburn Exp $
+# $Id: lonparmset.pm,v 1.552 2015/08/16 20:45:41 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1076,7 +1076,7 @@ sub ipacc_boxes_js {
e.preventDefault();
var identifier = \$(this).closest("div").attr("id");
identifier = identifier.replace(ipaccRegExp,'');
- \$(this).closest('div').find('.LC_string_ipacc_inner').append('
');
+ \$(this).closest('div').find('.LC_string_ipacc_inner').append('');
});
\$(wrapper).delegate(".LC_remove_ipacc","click", function(e){
@@ -1269,6 +1269,8 @@ sub print_td {
my $nolink = 0;
if ($which == 11 || $which == 12) {
$nolink = 1;
+ } elsif (($env{'request.course.sec'} ne '') && ($which > 9)) {
+ $nolink = 1;
} elsif ($mprefix =~ /availablestudent\&$/) {
if ($which > 3) {
$nolink = 1;
@@ -1768,7 +1770,13 @@ sub usermenu {
my $g_s_header='';
my $g_s_footer='';
- if (%sectionhash) {
+ my $currsec = $env{'request.course.sec'};
+ if ($currsec) {
+ $sections=&mt('Section:').' '.$currsec;
+ if (%grouphash) {
+ $sections .= ';'.(' ' x2);
+ }
+ } elsif (%sectionhash && $currsec eq '') {
$sections=&mt('Section:').'