Changeset 937


Ignore:
Timestamp:
2000-02-17T15:35:48+13:00 (24 years ago)
Author:
sjboddie
Message:

tidied up a bit

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

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

    r928 r937  
    2828/*
    2929   $Log$
     30   Revision 1.22  2000/02/17 02:35:48  sjboddie
     31   tidied up a bit
     32
    3033   Revision 1.21  2000/02/15 22:53:51  kjm18
    3134   search history stuff added.
     
    126129#include "buildaction.h"
    127130#include "delhistoryaction.h"
    128 //#include "bibqueryaction.h"
    129 //#include "bibindexaction.h"
    130 //#include "bibdatabaseaction.h"
    131131
    132132#include "browserclass.h"
     
    243243  recpt.add_action(&adelhistoryaction);
    244244
    245   //  bibqueryaction abibqueryaction;
    246   //recpt.add_action(&abibqueryaction);
    247 
    248   //  bibindexaction abibindexaction;
    249   //recpt.add_action (&abibindexaction);
    250 
    251   //  bibdatabaseaction abibdatabaseaction;
    252   //recpt.add_action(&abibdatabaseaction):
    253245  // list of browsers
    254246  vlistbrowserclass avlistbrowserclass;
  • trunk/gsdl/src/recpt/pagedbrowserclass.cpp

    r928 r937  
    2828/*
    2929   $Log$
     30   Revision 1.7  2000/02/17 02:35:48  sjboddie
     31   tidied up a bit
     32
    3033   Revision 1.6  2000/02/15 22:53:51  kjm18
    3134   search history stuff added.
     
    7578// if the "gp" (go to page) argument is set we need to set
    7679// the "d" argument to the corresponding page
     80// also want to set "d" argument to first child if we're at
     81// an 'Invisible' top level
    7782void pagedbrowserclass::processOID (cgiargsclass &args, recptproto *collectproto,
    7883                                    ostream &logout) {
     
    101106  } else if (!arg_d.empty() && is_top(arg_d)) { // if top level doc, check if not invisible
    102107    metadata.insert("thistype");
    103     if(get_info(arg_d, args["c"], metadata, getParents, collectproto, response, logout)) {
     108    if (get_info(arg_d, args["c"], metadata, getParents, collectproto, response, logout)) {
    104109      text_t type = response.docInfo[0].metadata["thistype"].values[0];
    105110      if (type=="Invisible") { // display first child
    106         arg_d = arg_d + ".1";
     111        arg_d = arg_d + ".fc";
    107112      }
    108113    }
Note: See TracChangeset for help on using the changeset viewer.