Changeset 777 for trunk/gsdl


Ignore:
Timestamp:
1999-11-09T15:26:20+13:00 (25 years ago)
Author:
sjboddie
Message:

added some new(ish) options

File:
1 edited

Legend:

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

    r760 r777  
    2828/*
    2929   $Log$
     30   Revision 1.23  1999/11/09 02:26:20  sjboddie
     31   added some new(ish) options
     32
    3033   Revision 1.22  1999/11/01 21:55:27  sjboddie
    3134   changes to arguments of many functions
     
    111114#include "statusaction.h"
    112115#include "fileutil.h"
     116#include "htmlutils.h"
    113117#include <assert.h>
    114118
     
    302306  textout << outconvert << "<tr valign=top><th>short name</th><th>long name</th>"
    303307      << "<th>multiple char?</th>"
     308      << "<th>multiple value?</th>"
    304309      << "<th>default</th><th>default status</th><th>saved args</th>"
    305310      << "<th>current value</th></tr>\n";
     
    316321    textout << outconvert << "<td>" << ainfo.longname << "</td>\n";
    317322    if (ainfo.multiplechar) textout << outconvert << "<td>yes</td>\n";
     323    else textout << outconvert << "<td>no</td>\n";
     324    if (ainfo.multiplevalue) textout << outconvert << "<td>yes</td>\n";
    318325    else textout << outconvert << "<td>no</td>\n";
    319326    textout << outconvert << "<td>" << ainfo.argdefault << "</td>\n";
     
    542549    languages_here++;
    543550      }
     551
     552      textout << "<tr><th valign=top>collection metadata</th><td><table>\n";
     553      text_tmap::iterator meta_here = collectinfo.collectionmeta.begin();
     554      text_tmap::iterator meta_end = collectinfo.collectionmeta.end();
     555      while (meta_here != meta_end) {
     556    textout << outconvert << "<tr><td>" << (*meta_here).first
     557        << "</td><td>" << (*meta_here).second << "</td></tr>\n";
     558    meta_here ++;
     559      }
     560      textout << "</table></td></tr>\n";
     561
     562      textout << "<tr><th valign=top>format info</th><td><table>\n";
     563      text_tmap::iterator format_here = collectinfo.format.begin();
     564      text_tmap::iterator format_end = collectinfo.format.end();
     565      while (format_here != format_end) {
     566    textout << outconvert << "<tr><td>" << (*format_here).first
     567        << "</td><td>" << html_safe((*format_here).second) << "</td></tr>\n";
     568    format_here ++;
     569      }
     570      textout << "</table></td></tr>\n";
     571
     572      textout << "<tr><th valign=top>building info</th><td><table>\n";
     573      text_tmap::iterator building_here = collectinfo.building.begin();
     574      text_tmap::iterator building_end = collectinfo.building.end();
     575      while (building_here != building_end) {
     576    textout << outconvert << "<tr><td>" << (*building_here).first
     577        << "</td><td>" << (*building_here).second << "</td></tr>\n";
     578    building_here ++;
     579      }
     580      textout << "</table></td></tr>\n";
     581
    544582      textout << outconvert
    545583          << "</td></tr>\n"
     
    555593          << "<tr><th>number of bytes</th><td>\""
    556594          << collectinfo.numBytes
     595          << "\"</td></tr>\n"
     596
     597          << "<tr><th>preferred receptionist</th><td>\""
     598          << collectinfo.receptionist
    557599          << "\"</td></tr>\n"
    558600
Note: See TracChangeset for help on using the changeset viewer.