--- loncom/interface/lonindexer.pm 2004/10/21 11:18:41 1.128 +++ loncom/interface/lonindexer.pm 2005/02/17 08:29:42 1.129 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.128 2004/10/21 11:18:41 foxr Exp $ +# $Id: lonindexer.pm,v 1.129 2005/02/17 08:29:42 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -145,10 +145,12 @@ sub handler { $verify_title=~s/'/\\'/g; $extra='window.opener.document.forms["'.$ENV{'form.form'}.'"].elements["'.$ENV{'form.titleelement'}.'"].value=\''.$verify_title.'\';'; } + my $html=&Apache::lonxml::xmlbegin(); $r->print(< - - - + + + ENDSUBM @@ -344,8 +347,9 @@ END } # ---------------------------------------------------------------- Print Header + my $html=&Apache::lonxml::xmlbegin(); $r->print(< +$html The LearningOnline Network With CAPA Directory Browser @@ -505,11 +509,11 @@ END &Apache::lonhtmlcommon::store_recent('residx',$storeuri,$storeuri); # ----------------- output starting row to the indexed file/directory hierarchy my $titleclr="#ddffff"; -# $r->print(&initdebug()); -# $r->print(&writedebug("Omit:@Omit")) if (@Omit); -# $r->print(&writedebug("Only:@Only")) if (@Only); - $r->print("
\n"); - $r->print("\n"); + #$r->print(&initdebug()); + #$r->print(&writedebug("Omit:@Omit")) if (@Omit); + #$r->print(&writedebug("Only:@Only")) if (@Only); + $r->print('
'."\n"); + $r->print(''."\n"); $r->print("\n"); $r->print("\n") if ($hash{'display_attrs_0'} == 1); @@ -717,6 +721,7 @@ sub dynmetaread { } sub initdebug { + my $html=&Apache::lonxml::xmlbegin(); return < var debugging = true; @@ -729,7 +734,7 @@ function output(text) { debuggingWindow.document.writeln(text); } } -output("Debugging Window
");   
+output('$htmlDebugging Window
');   
 
 ENDJS
 }
".&mt('Name')."".&mt('Title')."