version 1.90, 2005/02/01 17:37:23
|
version 1.92, 2005/02/17 08:29:43
|
Line 245 sub fieldnames {
|
Line 245 sub fieldnames {
|
'authorspace' => 'Author Space', |
'authorspace' => 'Author Space', |
'modifyinguser' => 'Last Modifying User', |
'modifyinguser' => 'Last Modifying User', |
'subject' => 'Subject', |
'subject' => 'Subject', |
'keywords' => 'Keyword(s)'); |
'keywords' => 'Keyword(s)', |
|
'notes' => 'Notes', |
|
'abstract' => 'Abstract', |
|
'lowestgradelevel' => 'Lowest Grade Level', |
|
'highestgradelevel' => 'Highest Grade Level'); |
} else { |
} else { |
return &Apache::lonlocal::texthash |
return &Apache::lonlocal::texthash |
( |
( |
Line 542 sub handler {
|
Line 546 sub handler {
|
# |
# |
my ($resdomain,$resuser)= |
my ($resdomain,$resuser)= |
(&Apache::lonnet::declutter($uri)=~/^(\w+)\/(\w+)\//); |
(&Apache::lonnet::declutter($uri)=~/^(\w+)\/(\w+)\//); |
$r->print('<html><head><title>'. |
my $html=&Apache::lonxml::xmlbegin(); |
|
$r->print($html.'<head><title>'. |
'Catalog Information'. |
'Catalog Information'. |
'</title></head>'); |
'</title></head>'); |
if ($uri=~m:/adm/bombs/(.*)$:) { |
if ($uri=~m:/adm/bombs/(.*)$:) { |
Line 936 ENDEDIT
|
Line 941 ENDEDIT
|
my $output; |
my $output; |
my @fields; |
my @fields; |
if ($file_type eq 'portfolio') { |
if ($file_type eq 'portfolio') { |
@fields = ('author','title','subject','keywords'); |
@fields = ('author','title','subject','keywords','abstract','notes','lowestgradelevel', |
|
'highestgradelevel'); |
} else { |
} else { |
@fields = ('author','title','subject','keywords','abstract','notes', |
@fields = ('author','title','subject','keywords','abstract','notes', |
'copyright','customdistributionfile','language', |
'copyright','customdistributionfile','language', |