Changeset 21757


Ignore:
Timestamp:
2010-03-03T10:34:01+13:00 (14 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.