Ignore:
Timestamp:
2010-03-03T11:09:07+13:00 (14 years ago)
Author:
kjdon
Message:

srclink now generated dynamically at runtime. instead of storing srclink metadata, we store srclink_file metadata, which can be a value (doc.doc) or a metadata format element (eg [SourceFile]).

File:
1 edited

Legend:

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

    r21722 r21760  
    244244
    245245
    246     $doc_obj->add_metadata ($section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[Image]\">");
    247     $doc_obj->add_metadata ($section, "/srclink", "</a>");
     246    #$doc_obj->add_metadata ($section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[Image]\">");
     247    #$doc_obj->add_metadata ($section, "/srclink", "</a>");
     248    $doc_obj->add_metadata ($section, "srclink_file", "[Image]");
    248249    $doc_obj->add_metadata ($section, "srcicon", "<img src=\"_httpprefix_/collect/[collection]/index/assoc/$assocfilemeta/[Image]\" width=\"[ImageWidth]\" height=\"[ImageHeight]\">");
    249250
Note: See TracChangeset for help on using the changeset viewer.