Ignore:
Timestamp:
2003-08-11T12:09:06+12:00 (21 years ago)
Author:
kjdon
Message:

made some small changes to allow the user to specify that documents should be detached by default - the links in the search list and classifier lists lead to new windows being opened for the documents. there is a new arg xx, which is 0 by default, but if its 1, it means that docs should be detached. affected classes are documentaction - this is where I defined the arg, just because the x arg is there, and the browser classes where the links to the documents are created. I have only changed vlist, hlist and datelist browser classes - I didn't think the others needed changing. to use this, you need to set the arg to 1 in main.cfg (for all collections), or add it to the receptionist thingy in a colls collect.cfg file

File:
1 edited

Legend:

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

    r5024 r5124  
    130130  argsinfo.addarginfo (NULL, arg_ainfo);
    131131
     132  // "xx" is 0 normally or 1 if documents should be detached by default
     133  arg_ainfo.shortname = "xx";
     134  arg_ainfo.longname = "detach all doc pages";
     135  arg_ainfo.multiplechar = false;
     136  arg_ainfo.defaultstatus = cgiarginfo::weak;
     137  arg_ainfo.argdefault = "0";
     138  arg_ainfo.savedarginfo = cgiarginfo::must;
     139  argsinfo.addarginfo (NULL, arg_ainfo);
     140
     141 
    132142  // f arg is set to 1 if document is to
    133143  // be displayed in a frame
Note: See TracChangeset for help on using the changeset viewer.