Changeset 962
- Timestamp:
- 2000-02-22T10:57:50+13:00 (24 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/action.cpp
r754 r962 28 28 /* 29 29 $Log$ 30 Revision 1.19 2000/02/21 21:57:49 sjboddie 31 actions are now configured with gsdlhome 32 30 33 Revision 1.18 1999/11/01 21:10:57 sjboddie 31 34 chnaged arguments passed to many functions … … 123 126 124 127 // configure should be called once for each configuration line 125 // the default version does nothing 126 void action::configure (const text_t &/*key*/, const text_tarray &/*cfgline*/) { 128 void action::configure (const text_t &key, const text_tarray &cfgline) { 129 if (key == "gsdlhome") {gsdlhome = cfgline[0];} 127 130 } 128 131 -
trunk/gsdl/src/recpt/action.h
r754 r962 49 49 protected: 50 50 cgiargsinfoclass argsinfo; 51 51 text_t gsdlhome; 52 52 53 53 public: -
trunk/gsdl/src/recpt/delhistoryaction.cpp
r940 r962 147 147 historylist += "<tr><th width=60>_textselect_</th><th width=40>#</th>\n<th width=340>_query:textquery_</th>\n"; 148 148 historylist += "<th width=60>_query:textresults_</th></tr>\n"; 149 if (get_history_info (userid, entries, logout)) {149 if (get_history_info (userid, entries, gsdlhome, logout)) { 150 150 int count = 1; 151 151 text_tarray::iterator here = entries.begin(); … … 207 207 text_t type = args["hdh"]; 208 208 if (type == "1") { 209 result = delete_all_history_info (userid );209 result = delete_all_history_info (userid, gsdlhome); 210 210 } else { 211 211 text_t records = args["hsr"]; 212 212 text_t deletemode = args["hmode"]; 213 result = delete_history_info (userid, deletemode, records );213 result = delete_history_info (userid, deletemode, records, gsdlhome); 214 214 } 215 215 -
trunk/gsdl/src/recpt/queryaction.cpp
r936 r962 28 28 /* 29 29 $Log$ 30 Revision 1.36 2000/02/21 21:57:48 sjboddie 31 actions are now configured with gsdlhome 32 30 33 Revision 1.35 2000/02/17 02:35:04 sjboddie 31 34 tidied up search history stuff a bit - replaced strings with macros … … 630 633 text_t userid = args["z"]; 631 634 text_tarray entries; 632 if (get_history_info (userid, entries, logout)) {635 if (get_history_info (userid, entries, gsdlhome, logout)) { 633 636 int count = 1; 634 637 text_tarray::iterator here = entries.begin(); … … 1089 1092 request.filterResultOptions = FROID | FRmetadata | FRtermFreq; 1090 1093 text_t formattedstring = args["q"]; 1091 if (!combine_query (args["z"], formattedstring)) {1094 if (!combine_query (args["z"], formattedstring, gsdlhome)) { 1092 1095 args["q"]=formattedstring; 1093 1096 } … … 1225 1228 query += "&q="+formattedquery; 1226 1229 1227 if (set_history_info(userid, query )) return true;1230 if (set_history_info(userid, query, gsdlhome)) return true; 1228 1231 else return false; 1229 1232
Note:
See TracChangeset
for help on using the changeset viewer.