--- loncom/interface/lonindexer.pm 2004/07/26 22:38:16 1.121 +++ loncom/interface/lonindexer.pm 2004/09/25 17:58:01 1.124 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.121 2004/07/26 22:38:16 albertel Exp $ +# $Id: lonindexer.pm,v 1.124 2004/09/25 17:58:01 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -179,7 +179,7 @@ END ' border="0" />'; $colspan=" colspan='2' "; my $cl=&mt('Close'); - my $gi=&mt('Group Import'); + my $gi=&mt('Import'); $closebutton=< END @@ -445,24 +445,24 @@ $r->print(&Apache::loncommon::bodytag('B $r->print(< - $lt{'av'} + - - - - + + + + - - - - + + + + - - - + + +
$lt{'ti'} $lt{'au'} $lt{'kw'} $lt{'ln'}
$lt{'si'} $lt{'la'} $lt{'lm'} $lt{'sa'}
$lt{'st'} $lt{'li'} $lt{'sr'}  
@@ -668,7 +668,6 @@ sub get_list { if (defined($hash{'dirlist_files_'.$luri}) && $hash{'dirlist_timestamp_files_'.$luri}+600 > (time)) { - &Apache::lonnet::logthis("using old n:".time." s:".$hash{'dirlist_timestamp_files_'.$luri}); @list = split(/\n/,$hash{'dirlist_files_'.$luri}); } elsif ($uri=~/\.(page|sequence)\/$/) { # is a page or a sequence @@ -682,7 +681,6 @@ sub get_list { $hash{'dirlist_files_'.$luri} = join("\n",@list); } else { # is really a directory - &Apache::lonnet::logthis("getting fresh n:".time." s:".$hash{'dirlist_timestamp_files_'.$luri}); @list = &Apache::lonnet::dirlist($uri); $hash{'dirlist_files_'.$luri} = join("\n",@list); $hash{'dirlist_timestamp_files_'.$luri} = time;