Changeset 430 for trunk/gsdl/src/recpt/pageaction.cpp
- Timestamp:
- 1999-08-03T15:29:47+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pageaction.cpp
r421 r430 12 12 /* 13 13 $Log$ 14 Revision 1.9 1999/08/03 03:29:47 sjboddie 15 added ability to set receptionist from collect.cfg 16 14 17 Revision 1.8 1999/07/30 02:24:44 sjboddie 15 18 added collectinfo argument to some functions … … 136 139 137 140 while (collist_here != collist_end) { 138 ColInfoResponse_t c ollectinfo;139 (*rprotolist_here).p->get_collectinfo (*collist_here, c ollectinfo, err, logout);141 ColInfoResponse_t cinfo; 142 (*rprotolist_here).p->get_collectinfo (*collist_here, cinfo, err, logout); 140 143 if (err == noError) { 141 142 homeextra += "<dt><a href=\"_httpquery_&c=" + *collist_here + "\">" 143 + *collist_here + "</a></dt>\n"; 144 text_t link = "<a href=\"_gwcgi_?a=q&c=" + *collist_here + "\">"; 145 if (!cinfo.receptionist.empty()) 146 link = "<a href=\"" + cinfo.receptionist + "?a=q&c=" + *collist_here + "\">"; 147 148 homeextra += "<dt>" + link + *collist_here + "</a></dt>\n"; 144 149 homeextra += "<dd>"; 145 if (c ollectinfo.numDocs != 0) homeextra += text_t(collectinfo.numDocs) + "_documents_";146 if (c ollectinfo.numWords != 0) homeextra += text_t(collectinfo.numWords) + "_words_";147 unsigned long last_update = (current_time - c ollectinfo.buildDate) / 86400;150 if (cinfo.numDocs != 0) homeextra += text_t(cinfo.numDocs) + "_documents_"; 151 if (cinfo.numWords != 0) homeextra += text_t(cinfo.numWords) + "_words_"; 152 unsigned long last_update = (current_time - cinfo.buildDate) / 86400; 148 153 homeextra += "_lastupdate_ " + text_t(last_update) + " _ago_</dd>\n"; 149 154 }
Note:
See TracChangeset
for help on using the changeset viewer.