Changeset 21746

Show
Ignore:
Timestamp:
01.03.2010 14:53:47 (10 years ago)
Author:
kjdon
Message:

now use icon macros for srcicon

Location:
main/trunk/greenstone2/perllib/plugins
Files:
2 modified

Legend:

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

    r18320 r21746  
    139139    $doc_obj->add_metadata ($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">"); 
    140140    $doc_obj->add_metadata ($top_section, "/srclink", "</a>"); 
    141     # srcicon (need to include "iogg.gif" in the greenstone images directory 
    142     $doc_obj->add_metadata ($top_section, "srcicon", "<img src=\"_httpprefix_/images/iogg.gif\" title=\"Download\" border=0>"); 
     141    $doc_obj->add_metadata ($top_section, "srcicon", "_iconogg_"); 
    143142 
    144143    # add dummy text and NoText metadata which can be used to suppress the dummy text 
  • main/trunk/greenstone2/perllib/plugins/RealMediaPlugin.pm

    r17026 r21746  
    110110    $doc_obj->add_metadata($top_section, "srclink", "<a href=\"_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[SourceFile]\">"); 
    111111    $doc_obj->add_metadata($top_section, "/srclink", "</a>"); 
    112     # srcicon (need to include "irmvideo.gif" in the greenstone images directory 
    113     $doc_obj->add_metadata($top_section, "srcicon", "<img src=\"_httpprefix_/images/irmvideo.gif\" title=\"Download\" border=0>"); 
     112    $doc_obj->add_metadata($top_section, "srcicon", "_iconrmvideo_"); 
    114113 
    115114    # Add the actual filename as it exists on the file system (URL-encoded) as an