Index: openacs-4/packages/search/www/search.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/search/www/search.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/search/www/search.tcl 2 Jul 2002 01:52:39 -0000 1.7 +++ openacs-4/packages/search/www/search.tcl 6 Jul 2002 13:38:02 -0000 1.8 @@ -14,6 +14,7 @@ } ns_startcontent -type "text/html" + set this_dir [file dirname [ad_conn file]] set template_top_file "$this_dir/search-results-top" set template_one_file "$this_dir/search-results-one" @@ -96,6 +97,7 @@ elapsed $elapsed \ url_advanced_search $url_advanced_search]] +ReturnHeaders "text/html" ns_write $template_top for { set __i 0 } { $__i < [expr $high - $low +1] } { incr __i } {