--- loncom/interface/lonsearchcat.pm 2003/09/29 15:28:40 1.188
+++ loncom/interface/lonsearchcat.pm 2003/12/16 15:00:56 1.195
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Search Catalog
#
-# $Id: lonsearchcat.pm,v 1.188 2003/09/29 15:28:40 www Exp $
+# $Id: lonsearchcat.pm,v 1.195 2003/12/16 15:00:56 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -200,7 +200,7 @@ sub handler {
&Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},
['catalogmode','launch','acts','mode','form','element','pause',
'phase','persistent_db_id','table','start','show',
- 'cleargroupsort']);
+ 'cleargroupsort','titleelement']);
##
## The following is a trick - we wait a few seconds if asked to so
## the daemon running the search can get ahead of the daemon
@@ -282,6 +282,10 @@ END
$hidden_fields .= ''."\n";
}
+ if (exists($ENV{'form.titleelement'})) {
+ $hidden_fields .= ''."\n";
+ }
if (exists($ENV{'form.mode'})) {
$hidden_fields .= ''."\n";
@@ -541,14 +545,15 @@ sub print_basic_search_form{
$bodytag
ENDDOCUMENT
if (&Apache::lonnet::allowed('bre',$ENV{'request.role.domain'})) {
+ my $CatalogSearch=&mt('Catalog Search');
+ my $Statement=&mt('Enter terms or phrases separated by AND, OR, or NOT then press SEARCH below');
$scrout.=(<
@@ -595,7 +602,7 @@ ENDDOCUMENT
$scrout.=(<