Ignore:
Timestamp:
2010-03-01T13:03:47+13:00 (14 years ago)
Author:
kjdon
Message:

should be using assocfilepath instead of archivedir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ConvertBinaryFile.pm

    r20766 r21742  
    498498    # We use set instead of add here because we only want one value
    499499    $doc_obj->set_utf8_metadata_element($cursection, "FileFormat", $file_type);
    500     my $doclink = "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[archivedir]/doc.$doc_ext\">";
     500    my $doclink = "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/doc.$doc_ext\">";
    501501    if ($self->{'keep_original_filename'} == 1) {
    502     $doclink = "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[archivedir]/[SourceFile]\">";
     502    $doclink = "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">";
    503503    }
    504504    $doc_obj->add_utf8_metadata ($cursection, "srclink",  $doclink);
Note: See TracChangeset for help on using the changeset viewer.