--- loncom/interface/lonindexer.pm 2007/07/18 13:39:31 1.173 +++ loncom/interface/lonindexer.pm 2009/03/19 14:24:50 1.194 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.173 2007/07/18 13:39:31 banghart Exp $ +# $Id: lonindexer.pm,v 1.194 2009/03/19 14:24:50 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -104,9 +104,9 @@ sub handler { my $lonhost = $r->dir_config('lonHostID'); my $tabdir = $r->dir_config('lonTabDir'); - my $fileclr='#ffffe6'; +#SB my $fileclr='#ffffe6'; my $line; - my (@attrchk,@openpath); + my (@attrchk,@openpath,$typeselect); my $uri=$r->uri; # -------------------------------------- see if called from an interactive mode @@ -135,6 +135,11 @@ sub handler { untie(%dbfile); } } +# - Evaluate actions from previous page (both cumulatively and chronologically) + if ($env{'form.catalogmode'} eq 'import' || $hash{'form.catalogmode'} eq 'import') { + &Apache::groupsort::update_actions_hash(\%hash); + } + { #Hijack lonindexer to verify a title and be close down. if ($env{'form.launch'} eq '2') { @@ -172,7 +177,8 @@ ENDSUBM # --------------------- define extra fields and buttons in case of special mode if ($env{'form.catalogmode'} eq 'interactive') { - $extrafield=''. +#SB $extrafield=''. + $extrafield=''. ''; $colspan=" colspan='2' "; @@ -182,7 +188,8 @@ ENDSUBM END } elsif ($env{'form.catalogmode'} eq 'import') { - $extrafield=''. +#SB $extrafield=''. + $extrafield=''. ''; $colspan=" colspan='2' "; @@ -354,7 +361,10 @@ END my $js = <<"ENDHEADER";