--- loncom/interface/lonindexer.pm 2007/07/18 13:39:31 1.173 +++ loncom/interface/lonindexer.pm 2007/08/01 21:12:12 1.174 @@ -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.174 2007/08/01 21:12:12 banghart Exp $ # # Copyright Michigan State University Board of Trustees # @@ -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') { @@ -401,11 +406,6 @@ ENDHEADER my ($headerdom)=($uri=~m{^/res/($match_domain)/}); $r->print(&Apache::loncommon::start_page('Browse Resources',$js, {'domain' => $headerdom,})); -# - Evaluate actions from previous page (both cumulatively and chronologically) - if ($env{'form.catalogmode'} eq 'import') { - &Apache::groupsort::update_actions_hash(\%hash); - } - # ---------------------------------- get state of file attributes to be showing if ($env{'form.attrs'}) { for (my $i=0; $i<=11; $i++) { @@ -437,7 +437,10 @@ ENDHEADER 'sr' => 'Show resource', 'li' => 'Linked/Related Resources', 'av' => 'All versions', - 'ud' => 'Update Display' + 'ud' => 'Update Display', + 'pr' => 'Problems', + 'gr' => 'Graphics', + 'at' => 'All types' ); $r->print(< + + + + + +
$closebutton $groupimportbutton