Changeset 12001
- Timestamp:
- 2006-07-04T15:31:08+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/vlistbrowserclass.cpp
r11503 r12001 74 74 75 75 text_t collink = collection; 76 77 #ifndef DOCHANDLE 76 78 if (!collink.empty()) collink = "&c=" + collink; 79 #endif 77 80 78 81 get_link_icon (section, args, collink, link, icon); … … 131 134 132 135 text_t collink = collection; 136 #ifndef DOCHANDLE 133 137 if (!collink.empty()) collink = "&c=" + collink; 138 #endif 134 139 135 140 if (colnumber > 0) { … … 223 228 const text_t &collink, text_t &link, text_t &icon) { 224 229 230 #ifndef DOCHANDLE 225 231 link = "<a href=\"_httpdocument_" + collink; 232 #else 233 link = "<a href=\"_httpdocumenthandle_(" + collink; 234 #endif 235 226 236 text_t link_end = "\">"; 237 #ifndef DOCHANDLE 227 238 text_t detach_link_end = "&x=1\" target=\\_blank>"; // to detach the link, and x=1 signifies it is a detached page 239 #else 240 text_t detach_link_end = "\" target=\\_blank>"; // to detach the link, and x=1 signifies it is a detached page 241 #endif 242 228 243 icon = "_document:icontext_"; 229 244 … … 241 256 if (args["a"] == "q") { 242 257 // query results list 258 #ifndef DOCHANDLE 243 259 link += "&cl=search&d=" + section.OID; 244 260 #else 261 link += "," + section.OID+")"; 262 #endif 245 263 if (args["xx"] == "1") { 246 264 link += detach_link_end; … … 259 277 link = "<a href=\"_httpquery_\">"; 260 278 } 261 else link += "&cl=" + arg_cl + "\">"; 279 else { 280 #ifndef DOCHANDLE 281 link += "&cl=" + arg_cl + "\">"; 282 #else 283 link += ","+arg_cl + ")\">"; 284 #endif 285 } 262 286 263 287 } else if (haschildren == 1) { … … 266 290 (section.OID == arg_d)) { 267 291 icon = "_document:iconopenfolder_"; 292 #ifndef DOCHANDLE 268 293 link += "&cl=" + arg_cl + "&d=" + section.OID + ".pr\">"; 294 #else 295 link += ","+section.OID + ".pr)\">"; 296 #endif 269 297 } else { 270 298 icon = "_document:iconclosedfolder_"; 299 #ifndef DOCHANDLE 271 300 link += "&cl=" + arg_cl + "&d=" + section.OID + "\">"; 301 #else 302 link += ","+section.OID + ")\">"; 303 #endif 272 304 } 273 305 } else { 274 306 if (args["gt"] == "0") { 307 #ifndef DOCHANDLE 275 308 link += "&cl=" + arg_cl + "&d=" + section.OID + "\">"; 309 #else 310 link += ","+section.OID + ")\">"; 311 #endif 276 312 } else { 313 #ifndef DOCHANDLE 277 314 link += "&cl=" + arg_cl + "&d=" + section.OID + "#" + section.OID + "\">"; 315 #else 316 link += ","+section.OID + "#" + section.OID + ")\">"; 317 #endif 278 318 } 279 319 } … … 287 327 (section.OID == arg_cl)) { 288 328 icon = "_document:iconopenbookshelf_"; 329 330 #ifndef DOCHANDLE 289 331 link += "&cl=" + section.OID + ".pr\">"; 332 #else 333 link += ","+section.OID + ".pr)\">"; 334 #endif 335 336 290 337 } else { 291 338 icon = "_document:iconclosedbookshelf_"; 339 340 #ifndef DOCHANDLE 292 341 link += "&cl=" + section.OID + "\">"; 342 #else 343 link += ","+section.OID + ")\">"; 344 #endif 345 293 346 } 294 347 } else { 295 348 296 349 icon = "_document:iconclosedbook_"; 350 #ifndef DOCHANDLE 297 351 link += "&cl=" + arg_cl + "&d=" + section.OID; 352 #else 353 link += ","+section.OID+")"; 354 #endif 298 355 if (args["xx"] == "1") { 299 356 link += detach_link_end; … … 306 363 if (doctype == "classify") link = ""; 307 364 else { 365 #ifndef DOCHANDLE 308 366 link += "&cl=" + arg_cl + "&d=" + section.OID; 367 #else 368 link += "," + section.OID +")"; 369 #endif 309 370 if (args["xx"] == "1") { 310 371 link += detach_link_end;
Note:
See TracChangeset
for help on using the changeset viewer.