--- loncom/interface/lonsearchcat.pm 2006/12/06 22:22:37 1.278 +++ loncom/interface/lonsearchcat.pm 2007/03/03 01:54:00 1.280 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.278 2006/12/06 22:22:37 albertel Exp $ +# $Id: lonsearchcat.pm,v 1.280 2007/03/03 01:54:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -832,10 +832,21 @@ sub print_advanced_search_form{ $closebutton END my $srchtype = 'Catalog'; + my $jscript; if ($env{'form.area'} eq 'portfolio') { $srchtype = 'Portfolio'; + $jscript = ''; + } + my $scrout= &Apache::loncommon::start_page("Advanced $srchtype Search", + $jscript); $scrout .= <<"ENDHEADER"; $bread_crumb