Changeset 21757

Show
Ignore:
Timestamp:
03.03.2010 10:34:01 (10 years ago)
Author:
kjdon
Message:

I am changing the way srclink is handled. Changing FavouritesPlugin? srclink and srcicon to weblink and webicon, as that better reflects what they are

Files:
1 modified

Legend:

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

    r16104 r21757  
    9494 
    9595    # Add srclink metadata for an automatic link to the webpage 
    96     $doc_obj->add_utf8_metadata($section, "srclink", "<a href=\"$url\">"); 
    97     $doc_obj->add_utf8_metadata($section, "srcicon", "_iconworld_"); 
    98     $doc_obj->add_utf8_metadata($section, "/srclink", "</a>"); 
     96    $doc_obj->add_utf8_metadata($section, "weblink", "<a href=\"$url\">"); 
     97    $doc_obj->add_utf8_metadata($section, "webicon", "_iconworld_"); 
     98    $doc_obj->add_utf8_metadata($section, "/weblink", "</a>"); 
    9999 
    100100    # Tidy up the favourite text to look a bit nicer