- Timestamp:
- 2006-03-07T15:26:35+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/extlinkaction.cpp
r9931 r11306 132 132 if (arg_href.empty()) return false; 133 133 134 text_t httpdoc = "_gwcgi_?e=_compressedoptions_&a=d"; 134 135 if (args["rl"] == "1") { 135 136 … … 142 143 if (get_info (arg_href, thiscollection, args["l"], metadata, false, collectproto, response, logout)) { 143 144 if (!response.docInfo[0].metadata["section"].values[0].empty()) { 144 link = "_httpdoc_&d=" + response.docInfo[0].metadata["section"].values[0];145 link = httpdoc+"&d=" + response.docInfo[0].metadata["section"].values[0]; 145 146 return true; 146 147 } … … 166 167 if (get_info (arg_href, *col_here, args["l"], metadata, false, collectproto, response, logout)) { 167 168 if (!response.docInfo[0].metadata["section"].values[0].empty()) { 168 link = "_httpdoc_&c=" + *col_here + "&d=" +169 link = httpdoc+"&c=" + *col_here + "&d=" + 169 170 response.docInfo[0].metadata["section"].values[0]; 170 171 return true; … … 188 189 outconvertclass &outconvert, ostream &textout, 189 190 ostream &logout) { 190 191 191 192 if (args["href"].empty()) { 192 // oops, this shouldn't happen193 // oops, this shouldn't happen 193 194 textout << outconvert << disp << ("_extlink:header_\n") 194 195 << ("_extlink:notfoundcontent_\n")
Note:
See TracChangeset
for help on using the changeset viewer.