Count - | + | ||||||||
---|---|---|---|---|---|---|---|---|---|
$lt{'type'} | + "); + } else { + $r->print(" +Count | + "); + } + $r->print(<$lt{'dom'} @@ -1259,16 +1271,8 @@ END | $lt{'end'} | +- $lt{'type'} - | - $lt{'chan'}? | "); - } - $r->print(" - - "); } elsif ($mode eq 'csv') { # # Open a file @@ -1337,6 +1341,10 @@ END lc($classlist->{$a}->[$third]) cmp lc($classlist->{$b}->[$third]) } (keys(%$classlist)); my $studentcount = 0; + my $autocount = 0; + my $manualcount = 0; + my $unlockcount = 0; + my $lockcount = 0; foreach my $student (@Sorted_Students) { my $sdata = $classlist->{$student}; my $username = $sdata->[$index{'username'}]; @@ -1347,7 +1355,7 @@ END my $status = $sdata->[$index{'status'}]; my $start = $sdata->[$index{'start'}]; my $end = $sdata->[$index{'end'}]; - my $type = $sdata->[$index{'type'}]; + my $type = $sdata->[$index{'type'}]; next if (($statusmode ne 'Any') && ($status ne $statusmode)); if ($mode eq 'view' || $mode eq 'html' || $mode eq 'autoenroll') { if (! defined($start) || $start == 0) { @@ -1360,7 +1368,30 @@ END } else { $end = &Apache::lonlocal::locallocaltime($end); } - $r->print("||||
".(++$studentcount)." | \n "); + $r->print(" | ||||||||
'.&mt('manual').' | Change |
'; + $manualcount ++; + if ($lockedtype) { + $cellentry .= ' '.&mt('Unlock'); + $unlockcount ++; + } else { + $cellentry .= ' '.&mt('Lock'); + $lockcount ++; + } + $cellentry .= ' |