--- loncom/interface/lonparmset.pm 2006/07/17 17:23:24 1.325
+++ loncom/interface/lonparmset.pm 2006/08/07 16:23:04 1.326
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.325 2006/07/17 17:23:24 www Exp $
+# $Id: lonparmset.pm,v 1.326 2006/08/07 16:23:04 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3408,6 +3408,8 @@ sub parm_change_log {
(&mt('all'),10,20,50,100,1000,10000));
$r->print(''.&mt('[_1] Records',$countselect).''.
+ ''.
'');
my $courseopt=&Apache::lonnet::get_courseresdata($env{'course.'.$env{'request.course.id'}.'.num'},
@@ -3420,6 +3422,7 @@ sub parm_change_log {
foreach my $id (sort { $parmlog{$b}{'exe_time'}<=>$parmlog{$a}{'exe_time'} } (keys(%parmlog))) {
my @changes=keys(%{$parmlog{$id}{'logentry'}});
my $count=$#changes+1;
+ if (!$env{'form.includetypes'}) { $count=$count/2; }
my $time =
&Apache::lonlocal::locallocaltime($parmlog{$id}{'exe_time'});
my $plainname =
@@ -3449,7 +3452,10 @@ sub parm_change_log {
my $value=$parmlog{$id}{'logentry'}->{$changed};
my ($realm,$section,$parmname,$part,$typeflag,$what,$middle,$uname,$udom,$issection,$realmdescription)=
&components($changed,$parmlog{$id}{'uname'},$parmlog{$id}{'udom'});
- if ($typeflag) { $istype{$parmname}=$value; }
+ if ($typeflag) {
+ if (!$env{'form.includetypes'}) { next; }
+ $istype{$parmname}=$value;
+ }
if ($makenewrow) { $r->print($row_start); } else { $makenewrow=1; }
$r->print('
'.$realm.' | '.$section.' | '.
&standard_parameter_names($parmname).' | '.
|