Changeset 529 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
1999-09-03T21:53:46+12:00 (25 years ago)
Author:
rjmcnab
Message:

Output more configuration options for the receptionist.

File:
1 edited

Legend:

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

    r514 r529  
    1212/*
    1313   $Log$
     14   Revision 1.17  1999/09/03 09:53:46  rjmcnab
     15   Output more configuration options for the receptionist.
     16
    1417   Revision 1.16  1999/09/02 00:28:42  rjmcnab
    1518   removed dependancy on GSDL_GSDLHOME
     
    108111      << "<tr valign=top><th>collectdir</th><td>\"" << rcinfo.collectdir
    109112      << "\"</td></tr>\n"
     113      << "<tr valign=top><th>httpprefix</th><td>\"" << rcinfo.httpprefix
     114      << "\"</td></tr>\n"
    110115      << "<tr valign=top><th>httpimg</th><td>\"" << rcinfo.httpimg
    111116      << "\"</td></tr>\n"
     
    129134  textout << outconvert << "<tr valign=top><th>saveconf</th><td>\"" << rcinfo.saveconf
    130135      << "\"</td></tr>\n";
    131  
     136
     137  // usecookies
     138  textout << outconvert << "<tr valign=top><th>usecookies</th><td>\"";
     139  if (rcinfo.usecookies) textout << outconvert << "true";
     140  else textout << outconvert << "false";
     141  textout << outconvert << "\"</td></tr>\n";
     142 
     143  // logcgiargs
     144  textout << outconvert << "<tr valign=top><th>logcgiargs</th><td>\"";
     145  if (rcinfo.logcgiargs) textout << outconvert << "true";
     146  else textout << outconvert << "false";
     147  textout << outconvert << "\"</td></tr>\n";
     148
     149  // pageparams
     150  textout << outconvert << "<tr valign=top><th>pageparams</th><td>";
     151  text_tmap::const_iterator params_here = rcinfo.pageparams.begin();
     152  text_tmap::const_iterator params_end = rcinfo.pageparams.end();
     153  bool params_first = true;
     154  while (params_here != params_end) {
     155    if (!params_first) textout << outconvert << ", ";
     156    params_first = false;
     157    textout << outconvert << "\"" << (*params_here).first << "\" != \""
     158        << (*params_here).second << "\"";
     159   
     160    params_here++;
     161  }
     162  textout << outconvert << "</td></tr>\n";
     163
     164  // macroprecedence
     165  textout << outconvert << "<tr valign=top><th>macroprecedence</th><td>\"" << rcinfo.macroprecedence
     166      << "\"</td></tr>\n";
     167
    132168  // arguments
    133169  cgiargsinfoclass *rcargsinfo = recpt->get_cgiargsinfo_ptr ();
Note: See TracChangeset for help on using the changeset viewer.