Ignore:
Timestamp:
1999-06-28T10:05:58+12:00 (25 years ago)
Author:
sjboddie
Message:

now set a _thisOID_ macro for use in displaying images

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/documentaction.cpp

    r284 r300  
    1212/*
    1313   $Log$
     14   Revision 1.9  1999/06/27 22:05:58  sjboddie
     15   now set a _thisOID_ macro for use in displaying images
     16
    1417   Revision 1.8  1999/06/24 05:12:20  sjboddie
    1518   lots of small changes
     
    394397  //                        flashy buttons work
    395398
     399  // _thisOID_              the OID (directory) of the current document - this corresponds
     400  //                        to the archivedir metadata element
     401
     402
    396403  // can't do anything if collectproto is null (i.e. no collection was specified)
    397404  if (collectproto == NULL) return;
     
    407414  metadata.push_back ("Title");
    408415  metadata.push_back ("classifytype");
     416  metadata.push_back ("archivedir");
    409417 
    410418  if (!arg_d.empty()) {
     
    429437      }
    430438      disp.setmacro ("pagetitle", "document", pagetitle);
     439      disp.setmacro ("thisOID", "Global", response.docInfo[0].metadata[2].values[0]);
    431440
    432441      text_t &classifytype = response.docInfo[0].metadata[1].values[0];
Note: See TracChangeset for help on using the changeset viewer.