--- loncom/interface/lonsearchcat.pm 2013/03/18 04:45:27 1.331.4.5 +++ loncom/interface/lonsearchcat.pm 2012/12/07 18:16:33 1.332 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.331.4.5 2013/03/18 04:45:27 raeburn Exp $ +# $Id: lonsearchcat.pm,v 1.332 2012/12/07 18:16:33 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1781,14 +1781,14 @@ sub build_date_queries { if ((defined($cafter) && ! defined($cbefore)) || (defined($cbefore) && ! defined($cafter))) { # This is bad, so let them know - $error = &mt('Incorrect entry for the creation date. '. + $error = &mt('Incorrect entry for the creation date. '. 'You must specify both the beginning and ending dates.'); } if (! defined($error) && ((defined($mafter) && ! defined($mbefore)) || (defined($mbefore) && ! defined($mafter)))) { # This is also bad, so let them know - $error = &mt('Incorrect entry for the last revision date. '. + $error = &mt('Incorrect entry for the last revision date. '. 'You must specify both the beginning and ending dates.'); } if (! defined($error)) { @@ -1901,13 +1901,11 @@ sub ensure_db_and_table { ## Sanity check the table id. ## if (! defined($table) || $table eq '' || $table =~ /\D/ ) { - $r->print(&Apache::loncommon::start_page('Error') + $r->print(&Apache::loncommon::start_page(&mt('Error')) +. '

table: |'.$table.'|

' # SB .'

' .&mt('Unable to retrieve search results. ' .'Unable to determine the table results were saved in.') - .'

' - . '

'.&mt('Internal info:').'

' - .'
'.$table.'
' .&Apache::loncommon::end_page() ); return undef;