| ".&mt('Month[_1]Day[_2]Year',' 'x14,' 'x6)." |
\n";
my $cafter =
&Apache::lonhtmlcommon::date_setter('advsearch', # formname
'creationdate1', # fieldname
@@ -2126,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;
}
@@ -2506,7 +2501,7 @@ END
pop(@Lines);
}
if (@Lines > 2) {
- $pretty_string = join '