Changeset 9917


Ignore:
Timestamp:
2005-05-20T11:56:27+12:00 (19 years ago)
Author:
kjdon
Message:

added a new macro: currentnodevalue, which contains the title of the currently open classifier node

File:
1 edited

Legend:

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

    r9633 r9917  
    850850    if (!arg_cl.empty()) {
    851851   
     852      // create the currentnodevalue macro - this is the value of the node
     853      // in the hierarchy that is currently open.
     854      if (get_info (arg_cl, collection, args["l"], metadata, false, collectproto, response, logout)) {
     855    text_t &title = response.docInfo[0].metadata["Title"].values[0];
     856    disp.setmacro ("currentnodevalue", "document", title);
     857      }
    852858      // get metadata for top level classification
    853859      text_t classtop;
Note: See TracChangeset for help on using the changeset viewer.