Changeset 875
- Timestamp:
- 2000-01-27T09:11:04+13:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pageaction.cpp
r867 r875 28 28 /* 29 29 $Log$ 30 Revision 1.25 2000/01/26 20:11:04 sjboddie 31 added some collection specific help text 32 30 33 Revision 1.24 2000/01/25 22:31:09 sjboddie 31 34 more hacky changes to get preferences to be a bit smarter … … 292 295 // _numbrowseoptions_ the number of browsing options 293 296 297 // _topicreadingdocs_ this section of the help text differs depending on what type of 298 // _textreadingdocs_ collection it is (e.g. html collection, bibliographic collection etc.) 299 // _texthelpreadingdocs_ 300 294 301 295 302 text_t &arg_p = args["p"]; … … 435 442 else disp.setmacro ("textbrowseoptions", "help", longtext); 436 443 444 if (arg_p == "help") { 445 446 // _topicreadingdocs_ _textreadingdocs_ _texthelpreadingdocs_ 447 448 // if HTML collection there's no how to read document text 449 text_tmap::const_iterator it = cinfo.format.find ("HelpNoDocs"); 450 if ((it != cinfo.format.end()) && ((*it).second == "true")) { 451 disp.setmacro ("topicreadingdocs", "help", ""); 452 disp.setmacro ("texthelpreadingdocs", "help", ""); 453 } 454 it = cinfo.format.find ("HelpBibDocs"); 455 if ((it != cinfo.format.end()) && ((*it).second == "true")) { 456 disp.setmacro ("texthelpreadingdocs", "help", "_bibtexthelpreadingdocs_"); 457 disp.setmacro ("textreadingdocs", "help", "_bibtextreadingdocs_"); 458 } 459 it = cinfo.format.find ("HelpBookDocs"); 460 if ((it != cinfo.format.end()) && ((*it).second == "true")) { 461 disp.setmacro ("texthelpreadingdocs", "help", "_booktexthelpreadingdocs_"); 462 disp.setmacro ("textreadingdocs", "help", "_booktextreadingdocs_"); 463 } 464 465 } 437 466 if (arg_p == "about") { 438 467
Note:
See TracChangeset
for help on using the changeset viewer.