Changeset 3880
- Timestamp:
- 2003-03-14T08:51:06+13:00 (21 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/documentaction.cpp
r3666 r3880 363 363 // _httppagehome_ overridden home url if html collections have own homepage 364 364 365 // _usability_ - a macro for remote usability reporting 366 365 367 // must have a valid collection server to continue 366 368 text_t &collection = args["c"]; … … 441 443 << get_comerror_string (err); 442 444 } 445 446 447 } 448 text_tmap::iterator usability = cinfo.format.find("Usability"); 449 if(usability!=cinfo.format.end()){ 450 disp.setmacro("usability","Global","_imageusab_"); 451 disp.setmacro("usabinterface","Global",("_usab"+(*usability).second+"_")); 443 452 } 444 453 } -
trunk/gsdl/src/recpt/pageaction.cpp
r3812 r3880 532 532 533 533 //setting _queryformcontent_ so that the query interface is consistent. 534 //also adding usability button if necessary 534 535 if(arg_p == "about"){ 535 536 if (cinfo != NULL) { … … 542 543 } 543 544 } 545 check = cinfo->format.find("Usability"); 546 if(check != cinfo->format.end()){ 547 disp.setmacro("usability","Global","_imageusab_"); 548 disp.setmacro("usabinterface","Global",("_usab"+(*check).second+"_")); 549 } 550 544 551 } 545 552 } … … 747 754 } 748 755 } 756 757 758 759 760 761 762 763 764 765
Note:
See TracChangeset
for help on using the changeset viewer.