Changeset 747 for trunk/gsdl
- Timestamp:
- 1999-10-31T11:16:37+13:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/hlistbrowserclass.cpp
r730 r747 28 28 /* 29 29 $Log$ 30 Revision 1.4 1999/10/30 22:15:23 sjboddie 31 added a collection argument 32 30 33 Revision 1.3 1999/10/20 03:54:21 sjboddie 31 34 problem with expanded contents … … 96 99 97 100 int hlistbrowserclass::output_section_group (ResultDocInfo_t §ion, cgiargsclass &args, 98 int colnumber, format_t *formatlistptr,101 const text_t /*collection*/, int colnumber, format_t *formatlistptr, 99 102 bool use_table, text_tset &metadata, bool &getParents, 100 103 recptproto *collectproto, displayclass &disp, -
trunk/gsdl/src/recpt/hlistbrowserclass.h
r668 r747 48 48 49 49 int output_section_group (ResultDocInfo_t §ion, cgiargsclass &args, 50 int colnumber, format_t *formatlistptr,50 const text_t collection, int colnumber, format_t *formatlistptr, 51 51 bool use_table, text_tset &metadata, bool &getParents, 52 52 recptproto *collectproto, displayclass &disp, -
trunk/gsdl/src/recpt/pagedbrowserclass.cpp
r727 r747 28 28 /* 29 29 $Log$ 30 Revision 1.3 1999/10/30 22:16:37 sjboddie 31 added a collection argument 32 30 33 Revision 1.2 1999/10/19 08:40:11 sjboddie 31 34 fixed some stupid compiler warnings on windows … … 91 94 92 95 int pagedbrowserclass::output_section_group (ResultDocInfo_t §ion, cgiargsclass &args, 93 int /*colnumber*/, format_t * /*formatlistptr*/,96 const text_t /*collection*/, int /*colnumber*/, format_t * /*formatlistptr*/, 94 97 bool /*use_table*/, text_tset &/*metadata*/, bool &/*getParents*/, 95 98 recptproto * /*collectproto*/, displayclass &disp, … … 117 120 118 121 int pagedbrowserclass::output_section_group (FilterResponse_t §ions, cgiargsclass &args, 119 int /*colnumber*/, format_t * /*formatlistptr*/,122 const text_t /*collection*/, int /*colnumber*/, format_t * /*formatlistptr*/, 120 123 bool /*use_table*/, text_tset &/*metadata*/, bool &/*getParents*/, 121 124 recptproto * /*collectproto*/, displayclass &disp, -
trunk/gsdl/src/recpt/pagedbrowserclass.h
r668 r747 51 51 52 52 int output_section_group (ResultDocInfo_t §ion, cgiargsclass &args, 53 int colnumber, format_t *formatlistptr,53 const text_t collection, int colnumber, format_t *formatlistptr, 54 54 bool use_table, text_tset &metadata, bool &getParents, 55 55 recptproto *collectproto, displayclass &disp, … … 57 57 58 58 int output_section_group (FilterResponse_t §ions, cgiargsclass &args, 59 int colnumber, format_t *formatlistptr,59 const text_t collection, int colnumber, format_t *formatlistptr, 60 60 bool use_table, text_tset &metadata, bool &getParents, 61 61 recptproto *collectproto, displayclass &disp, -
trunk/gsdl/src/recpt/vlistbrowserclass.cpp
r727 r747 28 28 /* 29 29 $Log$ 30 Revision 1.4 1999/10/30 22:14:44 sjboddie 31 added a collection argument 32 30 33 Revision 1.3 1999/10/19 08:40:13 sjboddie 31 34 fixed some stupid compiler warnings on windows … … 67 70 68 71 int vlistbrowserclass::output_section_group (ResultDocInfo_t §ion, 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, … … 73 76 74 77 text_t link, icon; 75 get_link_icon (section, args, link, icon); 78 79 text_t collink = collection; 80 if (!collink.empty()) collink = "&c=" + collink; 81 82 get_link_icon (section, args, collink, link, icon); 76 83 bool highlight = false; 77 84 if (!args["d"].empty()) { … … 101 108 102 109 int vlistbrowserclass::output_section_group (FilterResponse_t §ions, cgiargsclass &args, 103 int colnumber, format_t *formatlistptr,110 const text_t collection, int colnumber, format_t *formatlistptr, 104 111 bool use_table, text_tset &/*metadata*/, bool &/*getParents*/, 105 112 recptproto * /*collectproto*/, displayclass &disp, … … 109 116 text_t &arg_d = args["d"]; 110 117 text_t &arg_cl = args["cl"]; 118 119 text_t collink = collection; 120 if (!collink.empty()) collink = "&c=" + collink; 111 121 112 122 if (colnumber > 0) { … … 128 138 while (thissection != endsection) { 129 139 130 get_link_icon (*thissection, args, link, icon);140 get_link_icon (*thissection, args, collink, link, icon); 131 141 bool highlight = false; 132 142 if (!arg_d.empty()) { … … 153 163 // the given section and what it should link to. 154 164 void vlistbrowserclass::get_link_icon (ResultDocInfo_t §ion, cgiargsclass &args, 155 text_t &link, text_t &icon) {156 157 link = "<a href=\"_httpdocument_" ;165 const text_t &collink, text_t &link, text_t &icon) { 166 167 link = "<a href=\"_httpdocument_" + collink; 158 168 icon = "_document:icontext_"; 159 169 int haschildren = section.metadata["haschildren"].values[0].getint(); -
trunk/gsdl/src/recpt/vlistbrowserclass.h
r668 r747 46 46 47 47 int output_section_group (ResultDocInfo_t §ion, 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, … … 52 52 53 53 int output_section_group (FilterResponse_t §ions, cgiargsclass &args, 54 int colnumber, format_t *formatlistptr,54 const text_t collection, int colnumber, format_t *formatlistptr, 55 55 bool use_table, text_tset &metadata, bool &getParents, 56 56 recptproto *collectproto, displayclass &disp, … … 60 60 61 61 void get_link_icon (ResultDocInfo_t §ion, cgiargsclass &args, 62 text_t &link, text_t &icon);62 const text_t &collink, text_t &link, text_t &icon); 63 63 }; 64 64
Note:
See TracChangeset
for help on using the changeset viewer.