Changeset 1804
- Timestamp:
- 2000-12-18T17:17:57+13:00 (23 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/document.dm
r1696 r1804 5 5 ####################################################################### 6 6 7 _classificationlinks_ {}8 7 _imagethispage_ {} 9 8 _httpprevarrow_ {} 10 9 _httpnextarrow_ {} 11 10 _pagetitle_ {} 11 _phindclassifier_ {} 12 12 13 13 ####################################################################### … … 19 19 _navigationbar_ 20 20 <p> 21 _ classificationlinks_21 _phindclassifier_ 22 22 </center> 23 23 } … … 62 62 _textnumpages_ { <i>(_1_ _pages_)</i>} 63 63 _parentarrow_ {} 64 65 66 ####################################################################### 67 # the phind applet 68 # 69 # The phind applet is only required on phind classifier pages. 70 # Consequently, the _phindclassifier_ macro is not usually set. On screens 71 # where it is required, _phindclassifier_ resolves to _phindapplet_, and 72 # the following macro is loaded into the web page. 73 ####################################################################### 74 75 _phindapplet_ { 76 <APPLET CODEBASE="_httpprefix_/src/phind/client" CODE="Phind.class" WIDTH=500 HEIGHT=400> 77 <PARAM NAME=library VALUE="_gwcgi_"> 78 <PARAM NAME=phindcgi VALUE="phindcgi"> 79 <PARAM NAME=backdrop VALUE="_httpimg_/phindbg1.jpg"> 80 <PARAM NAME=collection VALUE="_cgiargc_"> 81 <PARAM NAME=orientation VALUE="vertical"> 82 <PARAM NAME=depth VALUE="2"> 83 <PARAM NAME=fontsize VALUE="12"> 84 <PARAM NAME=blocksize VALUE="10"> 85 The Phind java applet. 86 </APPLET> 87 } 64 88 65 89 -
trunk/gsdl/src/recpt/documentaction.cpp
r1610 r1804 605 605 text_t classtop; 606 606 get_top (arg_cl, classtop); 607 metadata.insert ("childtype"); 608 607 609 if (get_info (classtop, collection, metadata, false, collectproto, response, logout)) { 608 610 … … 623 625 disp.setmacro ("pagetitle", "document", "_text" + title + "page_"); 624 626 disp.setmacro ("imagethispage", "document", "_icon" + title + "page_"); 627 } 628 629 // Add a macro to display the phind classifier (if appropriate) 630 text_t &childtype = response.docInfo[0].metadata["childtype"].values[0]; 631 if (childtype == "Phind") { 632 disp.setmacro ("phindclassifier", "document", "_phindapplet_"); 625 633 } 626 634 } -
trunk/gsdl/src/recpt/phindbrowserclass.cpp
r1643 r1804 41 41 } 42 42 43 // redirect to Phind web page 44 // I don't really understand what I'm doing here. Oh well. 43 // display a document 45 44 void phindbrowserclass::processOID (cgiargsclass &args, recptproto *collectproto, 46 45 ostream &logout) { … … 59 58 60 59 if (err != noError || response.docInfo[0].OID.empty()) return; 61 62 // redirect to html page63 args["a"] = "p";64 args["p"] = "phind";65 args["hp"] = response.docInfo[0].OID;66 60 }
Note:
See TracChangeset
for help on using the changeset viewer.