Ignore:
Timestamp:
1999-08-09T14:13:53+12:00 (25 years ago)
Author:
sjboddie
Message:

fixed small bug in ShowSectionTitles

File:
1 edited

Legend:

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

    r431 r437  
    1212/*
    1313   $Log$
     14   Revision 1.17  1999/08/09 02:13:53  sjboddie
     15   fixed small bug in ShowSectionTitles
     16
    1417   Revision 1.16  1999/08/03 03:30:47  sjboddie
    1518   a few small changes related to new format options
     
    492495
    493496      if (args["u"] != "1") {
     497    javaimagescontent = "_javaextras_";
    494498    javaimagescontent += "_javadetach_";
    495499    if (args["gt"] == "1")
     
    655659    output_toc (thistype, formatstring, args, ShowCoverImages, collectproto,
    656660            disp, outconvert, textout, logout);
     661
    657662      else
    658663    // Book is the default for a document level toc
     
    780785    int count = 0;
    781786    while (sechere != secend) {
    782       textout << outconvert << disp << "\n<p><a name=" << count << "><h3>"
    783           << (*sechere).metadata[0].values[0] << "</h3></a>\n";
     787      textout << outconvert << disp << "\n<p><a name=" << count << ">";
     788      if (ShowSectionTitles)
     789        textout << outconvert << disp << "<h3>"
     790            << (*sechere).metadata[0].values[0] << "</h3>";
     791      textout << "</a>\n";
     792
    784793      if ((*sechere).metadata[3].values[0] == "1") {
    785794        docrequest.OID = (*sechere).OID;
Note: See TracChangeset for help on using the changeset viewer.