Changeset 2404
- Timestamp:
- 2001-05-14T11:42:33+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browseaction.cpp
r2398 r2404 43 43 arg_ainfo.longname = "browse criterion 1"; 44 44 arg_ainfo.multiplechar = false; 45 arg_ainfo.defaultstatus = cgiarginfo:: good;45 arg_ainfo.defaultstatus = cgiarginfo::weak; 46 46 arg_ainfo.argdefault = "0"; 47 47 arg_ainfo.savedarginfo = cgiarginfo::must; … … 53 53 arg_ainfo.longname = "browse criterion 2"; 54 54 arg_ainfo.multiplechar = false; 55 arg_ainfo.defaultstatus = cgiarginfo:: good;55 arg_ainfo.defaultstatus = cgiarginfo::weak; 56 56 arg_ainfo.argdefault = "0"; 57 57 arg_ainfo.savedarginfo = cgiarginfo::must; … … 79 79 argsinfo.addarginfo (NULL, arg_ainfo); 80 80 81 82 //Whether all or just some of the words in the filter box have to be present 83 //0 - any 1- all 84 arg_ainfo.shortname = "bt"; 85 arg_ainfo.longname = "browse all or any"; 86 arg_ainfo.multiplechar = false; 87 arg_ainfo.defaultstatus = cgiarginfo::weak; 88 arg_ainfo.argdefault = "0"; 89 arg_ainfo.savedarginfo = cgiarginfo::must; 90 argsinfo.addarginfo (NULL, arg_ainfo); 81 91 82 92 cerr<<"constructor"<<endl; 83 93 } 84 94 … … 86 96 87 97 bool browseaction::init (ostream &logout){ 98 cerr<<"init"<<endl; 88 99 return true; 89 100 } … … 97 108 ostream &/*logout*/) { 98 109 // don't want to check anything yet. 110 //cerr<<"check_cgiargs"<<endl; 99 111 return true; 100 112 } … … 108 120 response = content; 109 121 response_data = "text/html"; 122 123 //cerr<<"get_cgihead_info"<<endl; 110 124 } 111 125 … … 114 128 recptprotolistclass *protos, 115 129 ostream &logout){ 130 //cerr<<"define_internal_macros"<<endl; 116 131 } 117 132 … … 120 135 recptprotolistclass *protos, 121 136 ostream &logout){ 137 //cerr<<"define_external_macros"<<endl; 122 138 } 123 139 … … 126 142 outconvertclass &outconvert, ostream &textout, 127 143 ostream &logout){ 144 145 146 textout << outconvert << disp << "_browse:header_\n" <<"_browse:content_" 147 << "_browse:footer_"; 148 128 149 return true; 129 150 }
Note:
See TracChangeset
for help on using the changeset viewer.