Changeset 747 for trunk/gsdl/src/recpt/vlistbrowserclass.cpp
- Timestamp:
- 1999-10-31T11:16:37+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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();
Note:
See TracChangeset
for help on using the changeset viewer.