--- loncom/interface/lonsearchcat.pm 2007/07/11 20:32:15 1.288 +++ loncom/interface/lonsearchcat.pm 2008/02/13 11:20:24 1.290 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.288 2007/07/11 20:32:15 albertel Exp $ +# $Id: lonsearchcat.pm,v 1.290 2008/02/13 11:20:24 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -868,7 +868,7 @@ ENDHEADER ''; my %fields=&Apache::lonmeta::fieldnames(); # - $scrout .= '
'. (' 'x2).&searchhelp()." | ';
}
@@ -1044,6 +1044,7 @@ ENDHEADER
# Creation/Modification date limits
$scrout .= ''.&mt('Creation and Modification dates').''; $scrout .= "\n
-Search: $pretty_query_string - - -END + $result.='' + .&mt('There are [_1] matches to your query.',$total_results) + .' '.$revise.' ' + .''.&mt('Search: ').$pretty_query_string + .' '; $r->print($result.&Apache::loncommon::end_page()); return; } @@ -2451,13 +2449,14 @@ Returns: html string for a 'revise searc ###################################################################### ###################################################################### sub revise_button { + my $revisetext = &mt('Revise search'); my $revise_phase = 'disp_basic'; $revise_phase = 'disp_adv' if ($env{'form.searchmode'} eq 'advanced'); my $newloc = '/adm/searchcat'. '?persistent_db_id='.$env{'form.persistent_db_id'}. '&cleargroupsort=1'. '&phase='.$revise_phase; - my $result = qq{ }; return $result; } |