--- loncom/interface/lonsearchcat.pm 2008/02/12 18:48:03 1.289 +++ loncom/interface/lonsearchcat.pm 2008/05/28 21:07:29 1.293 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.289 2008/02/12 18:48:03 bisitz Exp $ +# $Id: lonsearchcat.pm,v 1.293 2008/05/28 21:07:29 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -266,7 +266,7 @@ sub handler { ## Configure dynamic components of interface ## if ($env{'form.catalogmode'} eq 'interactive') { - $closebutton="dir_config('lonDefDomain')), $r->dir_config('lonDefDomain')). ''; - if ($area eq 'res') { - $inclext= ''; - } $adv_search_link = '\n"; + $scrout .= " ".&mt('Month[_1]Day[_2]Year',' 'x14,' 'x6)."\n"; my $cafter = &Apache::lonhtmlcommon::date_setter('advsearch', # formname 'creationdate1', # fieldname @@ -1062,10 +1053,10 @@ ENDHEADER '', # state 1, # no_hh_mm_ss ); - $scrout .= &mt('Created between'. - '[_1]'. - 'and '. - '[_2]',$cafter,$cbefore); + $scrout .= ''.&mt('Created between').'' + .''.$cafter.'' + .''.&mt('and').'' + .''.$cbefore.''; my $lafter = &Apache::lonhtmlcommon::date_setter('advsearch', 'revisiondate1', @@ -1084,10 +1075,10 @@ ENDHEADER '', # state 1, # no_hh_mm_ss ); - $scrout .= &mt('Last modified between '. - '[_1]'. - 'and'. - '[_2]',$lafter,$lbefore); + $scrout .= ''.&mt('Last modified between').'' + .''.$lafter.'' + .''.&mt('and').'' + .''.$lbefore.''; $scrout.="\n"; $scrout.=<