Ignore:
Timestamp:
2007-06-15T15:05:18+12:00 (17 years ago)
Author:
mdewsnip
Message:

Moved some HTML out of the C++ and into the macrofiles.

File:
1 edited

Legend:

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

    r14072 r14181  
    825825  if (formatinfo.DocumentContents || args["d"].empty()) {
    826826    if (args["d"].empty()) {
    827       textout << outconvert << "<div id=\""<<cl_top<<"\" class=\"toc\">\n";
     827      disp.setmacro("tocopenextra", "document", "id=\"" + cl_top + "\"");
    828828    } else {
    829       textout << outconvert << "<div class=\"toc\">\n";
    830      
    831     }
     829      disp.setmacro("tocopenextra", "document", "");
     830    }
     831
     832    textout << outconvert << disp << "_document:tocopen_\n";
    832833    if (args.getintarg("gc") == 1)
    833834      {
     
    848849                            collectproto, disp, outconvert, textout, logout);
    849850      }
    850     textout << outconvert << "</div>\n";
     851    textout << outconvert << disp << "_document:tocclose_\n";
    851852  }
    852853}
Note: See TracChangeset for help on using the changeset viewer.