Ignore:
Timestamp:
2001-01-26T07:26:45+13:00 (23 years ago)
Author:
cs025
Message:

Included CORBA branch for first time

File:
1 edited

Legend:

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

    r1610 r1860  
    2323 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    2424 *
     25 * $Id$
     26 *
    2527 *********************************************************************/
    2628
    2729#include "browsetools.h"
    2830#include "OIDtools.h"
    29 
    3031
    3132// output_controls displays the detach, expand/contract contents,
     
    411412  text_t OID = args["d"];
    412413  text_t classification = "Document";
     414
     415  // if we're not outputting the TOC for a valid OID, then we should be giving
     416  // the TOC of a classification
    413417  if (OID.empty()) {
    414418    OID = args["cl"];
    415419    get_top (OID, classification);
    416   } else if (fulltoc)
     420  }
     421  // if we're to give the full TOC of a document, get the parent for the whole
     422  // document now
     423  else if (fulltoc)
    417424    get_top (args["cl"], classification);   
    418425
     
    500507}
    501508
     509/**
     510 * This function outputs the contents of a classifier list to the reader -
     511 * the document will in fact be empty, so this does the "real" output
     512 */
    502513void output_toc (cgiargsclass &args, browsermapclass *browsermap,
    503514                 formatinfo_t &formatinfo, recptproto *collectproto,
Note: See TracChangeset for help on using the changeset viewer.