Changeset 765 for trunk/gsdl
- Timestamp:
- 1999-11-02T11:04:12+13:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browserclass.cpp
r752 r765 28 28 /* 29 29 $Log$ 30 Revision 1.5 1999/11/01 22:04:11 sjboddie 31 just a few small changes (that means I can't remember ;) 32 30 33 Revision 1.4 1999/10/30 23:02:46 sjboddie 31 34 tidied things up slightly … … 79 82 text_t browserclass::get_default_formatstring () { 80 83 return "<td>[link][icon][/link]</td><td>[highlight]{Or}{[Title],Untitled}[/highlight]</td>"; 84 } 85 86 void browserclass::set_filter_options (FilterRequest_t &request, cgiargsclass &args) { 87 88 OptionValue_t option; 89 90 if (args["a"] == "q") { 91 int arg_m = args.getintarg("m"); 92 93 option.name = "StartResults"; 94 option.value = args["r"]; 95 request.filterOptions.push_back (option); 96 97 option.name = "EndResults"; 98 int endresults = args.getintarg("o") + (args.getintarg("r") - 1); 99 // int endresults = (args.getintarg("o")*3) + (args.getintarg("r") - 1); 100 if ((endresults > arg_m) && (arg_m != -1)) endresults = arg_m; 101 option.value = endresults; 102 request.filterOptions.push_back (option); 103 104 } else { 105 option.name = "StartResults"; 106 option.value = args["r"]; 107 request.filterOptions.push_back (option); 108 109 option.name = "EndResults"; 110 int endresults = 20 + (args.getintarg("r") - 1); 111 option.value = endresults; 112 request.filterOptions.push_back (option); 113 } 81 114 } 82 115 -
trunk/gsdl/src/recpt/browserclass.h
r752 r765 73 73 74 74 virtual text_t get_default_formatstring (); 75 76 void set_filter_options (FilterRequest_t &request, cgiargsclass &args); 75 77 76 78 // returns the number of tabs to add before displaying the -
trunk/gsdl/src/recpt/datelistbrowserclass.cpp
r727 r765 28 28 /* 29 29 $Log$ 30 Revision 1.4 1999/11/01 22:04:11 sjboddie 31 just a few small changes (that means I can't remember ;) 32 30 33 Revision 1.3 1999/10/19 08:40:11 sjboddie 31 34 fixed some stupid compiler warnings on windows … … 67 70 68 71 int datelistbrowserclass::output_section_group (FilterResponse_t §ions, cgiargsclass &args, 69 int colnumber, format_t *formatlistptr,72 const text_t &/*collection*/, int colnumber, format_t *formatlistptr, 70 73 bool use_table, text_tset &/*metadata*/, bool &/*getParents*/, 71 74 recptproto * /*collectproto*/, displayclass &disp, -
trunk/gsdl/src/recpt/datelistbrowserclass.h
r668 r765 46 46 47 47 int output_section_group (FilterResponse_t §ions, cgiargsclass &args, 48 int colnumber, format_t *formatlistptr,48 const text_t &collection, int colnumber, format_t *formatlistptr, 49 49 bool use_table, text_tset &metadata, bool &getParents, 50 50 recptproto *collectproto, displayclass &disp, -
trunk/gsdl/src/recpt/hlistbrowserclass.cpp
r751 r765 28 28 /* 29 29 $Log$ 30 Revision 1.6 1999/11/01 22:04:12 sjboddie 31 just a few small changes (that means I can't remember ;) 32 30 33 Revision 1.5 1999/10/30 23:02:01 sjboddie 31 34 tidied up, fixed a small bug … … 119 122 // get all siblings 120 123 FilterResponse_t response; 121 text_t &arg_d = args["d"];122 124 text_t &arg_cl = args["cl"]; 123 125 get_children (section.OID + ".pr", args["c"], metadata, getParents,
Note:
See TracChangeset
for help on using the changeset viewer.