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

now we dynamically generate srclink (and /srclink, and new srchref which is the link without the a tag), using srclink_file metadata. This is to get gs2 receptionist stuff out of metadata and into the source code where it belongs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/vlistbrowserclass.cpp

    r18570 r21758  
    140140  else options["highlight"] = "0";
    141141  options["DocImage"] = btools.get_cover_image();
     142  options["assocfilepath"] = btools.get_assocfile_path();
    142143  textout << outconvert << disp
    143144      << get_formatted_string (collection, collectproto,
     
    205206  options["highlight"] = "0";
    206207  options["DocImage"] = btools.get_cover_image();
    207  
     208  options["assocfilepath"] = btools.get_assocfile_path();
     209
    208210  if ( thissection != endsection ) { // only if there are results (else corrupts display)
    209211    fstring = get_formatted_string (collection, collectproto, *thissection,
     
    238240    else options["highlight"] = "0";
    239241    options["DocImage"] = btools.get_cover_image();
    240    
     242    options["assocfilepath"] = btools.get_assocfile_path();
     243
    241244    textout << outconvert << disp
    242245        << " " << get_formatted_string (collection, collectproto, *thissection, disp,
Note: See TracChangeset for help on using the changeset viewer.