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/browsetools.cpp

    r1941 r2664  
    571571    else if (formatinfo.DocumentTitles)
    572572      output_titles (args, collectproto, formatinfo, disp, outconvert, textout, logout);
    573     output_controls (args, formatinfo.DocumentButtons, collectproto, disp,
    574              outconvert, textout, logout);
     573    if (args["u"] != "1") {
     574      output_controls (args, formatinfo.DocumentButtons, collectproto, disp,
     575               outconvert, textout, logout);
     576    }
    575577    textout << "</td><td valign=top>\n"; 
    576578    havecontrols = true;
Note: See TracChangeset for help on using the changeset viewer.