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/OpenDocumentPlugin.pm

    r20831 r21742  
    262262
    263263    #setup to doclink thingi
    264     my $doclink = "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[archivedir]/$file_only\">";
     264    my $doclink = "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/$file_only\">";
    265265    $doc_obj->add_utf8_metadata ("", "srclink",  $doclink);
    266     $doc_obj->add_utf8_metadata ("", "srcicon",  "<img border=\"0\" align=\"absmiddle\" src=\"_httpprefix_/collect/[collection]/index/assoc/[archivedir]/thumbnail.png\" alt=\"View the Open document\" title=\"View the Open document\">");
     266    $doc_obj->add_utf8_metadata ("", "srcicon",  "<img border=\"0\" align=\"absmiddle\" src=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/thumbnail.png\" alt=\"View the Open document\" title=\"View the Open document\">");
    267267    $doc_obj->add_utf8_metadata ("", "/srclink", "</a>");
    268268    $self->set_Source_metadata($doc_obj, $file_only);
Note: See TracChangeset for help on using the changeset viewer.