| 860 | } |
| 861 | |
| 862 | void WebStats::doFlagReport(std::string& page, int flagID) { |
| 863 | flagReportID = flagID; |
| 864 | if (flagReportID < 0 || flagReportID > (int)bz_getNumFlags()) { |
| 865 | page += "Invalid Flag"; |
| 866 | } |
| 867 | else { |
| 868 | if (!templateSystem.processTemplateFile(page, "flag.tmpl")) { |
| 869 | templateSystem.processTemplate(page, defaultFlagTemplate); |
| 870 | } |
| 871 | } |
| 872 | flagReportID = -1; |
| 873 | } |
| 874 | |
| 875 | //void WebStats::getURLData(const char* url, int requestID, const URLParams ¶maters, bool get) |
| 876 | bool WebStats::handleRequest(const HTTPRequest& request, HTTPReply& reply) { |
nothing calls this directly
no test coverage detected