Changeset 436 for trunk/gsdl/src/recpt
- Timestamp:
- 1999-08-09T14:12:07+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browsetools.cpp
r419 r436 12 12 /* 13 13 $Log$ 14 Revision 1.17 1999/08/09 02:12:07 sjboddie 15 made it so dates may be only 4 digits (i.e. year only) 16 14 17 Revision 1.16 1999/07/30 02:16:10 sjboddie 15 18 -added ability to display nested classifications (expanded versions … … 289 292 Functions for generating a "Hierarchy" type table of contents. These can be used either 290 293 at top classification level or at document level (the difference being that a cover 291 image and control buttons are displayed at document level).294 image and control buttons may be displayed at document level). 292 295 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 293 296 … … 596 599 597 600 text_t::const_iterator datebegin = date.begin(); 601 int datesize = date.size(); 602 603 if (datesize < 4) continue; 604 text_t thisyear = substr (datebegin, datebegin+4); 605 text_t thismonth = "00"; 606 if (datesize >= 6) 607 thismonth = substr (datebegin+4, datebegin+6); 598 608 599 609 text_t link = "<a href=\"_httpdocument_&cl="; … … 604 614 link += (*here).OID + "\">"; 605 615 } else link += args["cl"] + "&d=" + (*here).OID + "\">"; 606 607 text_t thisyear = substr (datebegin, datebegin+4);608 text_t thismonth = substr (datebegin+4, datebegin+6);609 616 610 617 textout << "<tr>\n";
Note:
See TracChangeset
for help on using the changeset viewer.