Changeset 11641 for trunk


Ignore:
Timestamp:
2006-04-11T16:43:09+12:00 (18 years ago)
Author:
kjdon
Message:

added an ID to toc div for classifiers, so can format the display differently for each one using CSS

File:
1 edited

Legend:

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

    r11235 r11641  
    794794  int tabcount = 0;
    795795  bool fulltoc = false;
    796 
     796  text_t cl_top, full_toc;
    797797  if (args["cl"] != "search") {
    798798    // see if there's a FullTOC string
    799     text_t cl_top, full_toc;
    800799    get_top (args["cl"], cl_top);
    801800    if (get_formatstring (cl_top, "FullTOC", formatinfo.formatstrings, full_toc))
     
    824823
    825824  if (formatinfo.DocumentContents || args["d"].empty()) {
    826     textout << outconvert << "<div class=\"toc\">\n";
     825    if (args["d"].empty()) {
     826      textout << outconvert << "<div id=\""<<cl_top<<"\" class=\"toc\">\n";
     827    } else {
     828      textout << outconvert << "<div class=\"toc\">\n";
     829     
     830    }
    827831    if (args.getintarg("gc") == 1) {
    828832     
Note: See TracChangeset for help on using the changeset viewer.