--- loncom/interface/loncommon.pm 2008/06/16 23:34:12 1.661
+++ loncom/interface/loncommon.pm 2008/06/24 16:44:22 1.662
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.661 2008/06/16 23:34:12 raeburn Exp $
+# $Id: loncommon.pm,v 1.662 2008/06/24 16:44:22 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7491,7 +7491,7 @@ Apache Request ref, $records is an array
######################################################
sub csv_print_samples {
my ($r,$records) = @_;
- my $samples = &get_samples($records,3);
+ my $samples = &get_samples($records,5);
$r->print(&mt('Samples').'
'.&start_data_table().
&start_data_table_header_row());
@@ -7546,7 +7546,7 @@ sub csv_print_select_table {
foreach my $sample (sort({$a <=> $b} keys(%{ $samples->[0] }))) {
$r->print('');
+ '>'.&mt('Column [_1]',($sample+1)).'');
}
$r->print(''.&end_data_table_row()."\n");
$i++;
@@ -7577,7 +7577,8 @@ sub csv_samples_select_table {
my ($r,$records,$d) = @_;
my $i=0;
#
- my $samples = &get_samples($records,3);
+ my $max_samples = 5;
+ my $samples = &get_samples($records,$max_samples);
$r->print(&start_data_table().
&start_data_table_header_row().'