Changeset 10873 for trunk/gsdl/src/recpt/vlistbrowserclass.cpp
- Timestamp:
- 2005-11-08T17:30:57+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/vlistbrowserclass.cpp
r9620 r10873 74 74 75 75 text_t collink = collection; 76 if (!collink.empty()) collink = "& c=" + collink;76 if (!collink.empty()) collink = "&c=" + collink; 77 77 78 78 get_link_icon (section, args, collink, link, icon); … … 124 124 125 125 text_t collink = collection; 126 if (!collink.empty()) collink = "& c=" + collink;126 if (!collink.empty()) collink = "&c=" + collink; 127 127 128 128 if (colnumber > 0) { … … 209 209 link = "<a href=\"_httpdocument_" + collink; 210 210 text_t link_end = "\">"; 211 text_t detach_link_end = "& x=1\" target=\\_blank>"; // to detach the link, and x=1 signifies it is a detached page211 text_t detach_link_end = "&x=1\" target=\\_blank>"; // to detach the link, and x=1 signifies it is a detached page 212 212 icon = "_document:icontext_"; 213 213 … … 225 225 if (args["a"] == "q") { 226 226 // query results list 227 link += "& cl=search&d=" + section.OID;227 link += "&cl=search&d=" + section.OID; 228 228 229 229 if (args["xx"] == "1") { … … 243 243 link = "<a href=\"_httpquery_\">"; 244 244 } 245 else link += "& cl=" + arg_cl + "\">";245 else link += "&cl=" + arg_cl + "\">"; 246 246 247 247 } else if (haschildren == 1) { … … 250 250 (section.OID == arg_d)) { 251 251 icon = "_document:iconopenfolder_"; 252 link += "& cl=" + arg_cl + "&d=" + section.OID + ".pr\">";252 link += "&cl=" + arg_cl + "&d=" + section.OID + ".pr\">"; 253 253 } else { 254 254 icon = "_document:iconclosedfolder_"; 255 link += "& cl=" + arg_cl + "&d=" + section.OID + "\">";255 link += "&cl=" + arg_cl + "&d=" + section.OID + "\">"; 256 256 } 257 257 } else { 258 258 if (args["gt"] == "0") { 259 link += "& cl=" + arg_cl + "&d=" + section.OID + "\">";259 link += "&cl=" + arg_cl + "&d=" + section.OID + "\">"; 260 260 } else { 261 link += "& cl=" + arg_cl + "&d=" + section.OID + "#" + section.OID + "\">";261 link += "&cl=" + arg_cl + "&d=" + section.OID + "#" + section.OID + "\">"; 262 262 } 263 263 } … … 271 271 (section.OID == arg_cl)) { 272 272 icon = "_document:iconopenbookshelf_"; 273 link += "& cl=" + section.OID + ".pr\">";273 link += "&cl=" + section.OID + ".pr\">"; 274 274 } else { 275 275 icon = "_document:iconclosedbookshelf_"; 276 link += "& cl=" + section.OID + "\">";276 link += "&cl=" + section.OID + "\">"; 277 277 } 278 278 } else { 279 279 280 280 icon = "_document:iconclosedbook_"; 281 link += "& cl=" + arg_cl + "&d=" + section.OID;281 link += "&cl=" + arg_cl + "&d=" + section.OID; 282 282 if (args["xx"] == "1") { 283 283 link += detach_link_end; … … 290 290 if (doctype == "classify") link = ""; 291 291 else { 292 link += "& cl=" + arg_cl + "&d=" + section.OID;292 link += "&cl=" + arg_cl + "&d=" + section.OID; 293 293 if (args["xx"] == "1") { 294 294 link += detach_link_end;
Note:
See TracChangeset
for help on using the changeset viewer.