Changeset 770 for trunk/gsdl/src/recpt/queryaction.cpp
- Timestamp:
- 1999-11-04T11:49:50+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/queryaction.cpp
r757 r770 28 28 /* 29 29 $Log$ 30 Revision 1.28 1999/11/03 22:49:50 sjboddie 31 A few changes to cross-collection searching for fao 32 30 33 Revision 1.27 1999/11/01 21:53:27 sjboddie 31 34 added cross-collection searching capability - still needs lots of … … 535 538 text_t &language = args["n"]; 536 539 540 text_tset collections; 541 text_t arg_cc = args["cc"]; 542 decode_cgi_arg (arg_cc); 543 splitchar (arg_cc.begin(), arg_cc.end(), ',', collections); 544 537 545 textout << outconvert << disp << "_query:header_\n" 538 546 << "<center>_navigationbar_</center><br>\n" … … 547 555 << "<td><input type=\"submit\" value=\"_query:textbeginsearch_\"></td>\n" 548 556 << "</tr></table></center>\n" 549 << "<center><table width=_pagewidth_>\n" ;550 557 << "<center><table width=_pagewidth_>\n" 558 << "<tr><td>\n"; 551 559 552 560 recptprotolistclass::iterator rprotolist_here = protos->begin(); … … 606 614 607 615 // we've got a matching collection 616 textout << "<input type=checkbox"; 617 618 text_tset::const_iterator t = collections.find (*collist_here); 619 if (t != collections.end()) textout << " checked"; 620 608 621 textout << outconvert 609 << "<tr><td><input type=checkbox checked name=cc value=\"" 610 << *collist_here << "\"></td><td>\n"; 622 << " name=cc value=\"" << *collist_here << "\">"; 611 623 612 624 if (!cinfo.collectionmeta["collectionname"].empty()) … … 615 627 textout << outconvert << *collist_here; 616 628 617 textout << " \n</td><td>";629 textout << "<br>\n"; 618 630 619 631 } 620 621 textout << "\n</td></tr>\n";622 632 } 623 633 collist_here ++; … … 628 638 } 629 639 textout << outconvert << disp 630 << "</t able></center>\n"640 << "</td></tr></table></center>\n" 631 641 << "</form>\n" 632 642 << "_query:footer_\n"; … … 640 650 641 651 if (args["ccs"] == 1) { 642 // cross collection searching 643 if (args["ccp"] != 1) { 652 // cross collection searching (we'll just borrow the el argument 653 // from extlinkaction for now - this will probably want to use 654 // a separate argument eventually) 655 if (args["ccp"] != 1 && args["el"] != "direct") { 644 656 // display the cross collection search page 645 657 output_ccp (args, protos, disp, outconvert, textout, logout);
Note:
See TracChangeset
for help on using the changeset viewer.