--- loncom/interface/lonsearchcat.pm 2008/05/28 21:07:29 1.293 +++ loncom/interface/lonsearchcat.pm 2008/08/04 15:28:21 1.297 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Search Catalog # -# $Id: lonsearchcat.pm,v 1.293 2008/05/28 21:07:29 www Exp $ +# $Id: lonsearchcat.pm,v 1.297 2008/08/04 15:28:21 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -281,8 +281,9 @@ sub handler { $closebutton .="onClick='self.close()'"; } $closebutton .= ">"; + my $txt_import = &mt('IMPORT'); $importbutton=< END } else { @@ -2116,6 +2117,10 @@ sub copyright_check { ($env{'user.domain'} ne $resdom)) { return 0; } + # Check for custom rights + if ($Metadata->{'copyright'} eq 'custom') { + return &Apache::lonnet::customaccess('bre',$Metadata->{'url'}); + } return 1; } @@ -2551,9 +2556,12 @@ END my $server; my $status; my $revise = &revise_button(); + my $txt_total = &mt('Total Matches'); + my $txt_remain = &mt('Time Remaining'); + my $txt_status = &mt('Status'); $r->print(< -StatusTotal MatchesTime Remaining +$txt_status$txt_total$txt_remain