--- loncom/publisher/lonpublisher.pm 2008/08/19 10:43:59 1.246 +++ loncom/publisher/lonpublisher.pm 2009/03/18 13:46:20 1.253 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.246 2008/08/19 10:43:59 bisitz Exp $ +# $Id: lonpublisher.pm,v 1.253 2009/03/18 13:46:20 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -695,6 +695,7 @@ sub fix_ids_and_indices { $responsecounter=0; } if ($lctag=~/response$/) { $responsecounter++; } + if ($lctag eq 'import') { $responsecounter++; } my %parms=%{$token->[2]}; $counter=$addid{$tag}; if (!$counter) { $counter=$addid{$lctag}; } @@ -873,7 +874,7 @@ sub store_metadata { } if (defined($status) && $status ne '') { $error='' - .&mt('Error occured saving new values in metadata table in LON-CAPA database!') + .&mt('Error occurred saving new values in metadata table in LON-CAPA database!') .''; &Apache::lonnet::logthis($error); &Apache::lonnet::logthis($status); @@ -947,7 +948,7 @@ backup copies, performs any automatic pr especially for rat and ssi files), Returns a 2 element array, the first is the string to be shown to the -user, the second is an error code, either 1 (an error occured) or 0 +user, the second is an error code, either 1 (an error occurred) or 0 (no error occurred) I @@ -1260,37 +1261,43 @@ END .'' .'' .'


' - .&Apache::loncommon::start_data_table() - .&Apache::loncommon::start_data_table_row(); - + .&Apache::loncommon::start_data_table(); + my $cols_per_row = 10; my $colcount=0; + my $wordcount=0; + my $numkeywords = scalar(keys(%keywords)); - foreach (sort keys %keywords) { - $colcount++; - $keywordout.='