Ignore:
Timestamp:
2001-07-23T14:40:14+12:00 (23 years ago)
Author:
sjboddie
Message:

Re-introduced the old "u" cgi argument for suppressing certain parts of
the Greenstone interface (like searching) for use when generating static
collections.

File:
1 edited

Legend:

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

    r2415 r2664  
    6868  arg_ainfo.savedarginfo = cgiarginfo::mustnot;
    6969  argsinfo.addarginfo (NULL, arg_ainfo);
     70
     71  // the "u" argument will disable the search facility, remove links to the
     72  // home and preferences pages, and disable the DocumentButton buttons
     73  // (for use when generating static html versions of collections)
     74  arg_ainfo.shortname = "u";
     75  arg_ainfo.longname = "static page";
     76  arg_ainfo.multiplechar = false;
     77  arg_ainfo.defaultstatus = cgiarginfo::weak;
     78  arg_ainfo.argdefault = "0";
     79  arg_ainfo.savedarginfo = cgiarginfo::mustnot;
     80  argsinfo.addarginfo (NULL, arg_ainfo);
    7081}
    7182
Note: See TracChangeset for help on using the changeset viewer.