1 #include "../../../include/http/pages/homepage.h"
\r
2 #include "../../../include/stringfunctions.h"
\r
8 const std::string HomePage::GeneratePage(const std::string &method, const std::map<std::string,std::string> &queryvars)
\r
10 std::string content="<h2>Home</h2>";
\r
11 content+="<p class=\"paragraph\">";
\r
12 content+="Use these pages to administer your FMS installation.";
\r
14 return "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n"+StringFunctions::Replace(m_template,"[CONTENT]",content);
\r
17 const bool HomePage::WillHandleURI(const std::string &uri)
\r