X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fpeertrustpage.h;h=a62ad680aa42f9fb370a38df6b58a6679fb4b2fd;hb=221236a4d3aac4144529d418ce368db5c98facb0;hp=eb780e0e720013ec0fff735308872c39146d63d3;hpb=37a8d59548287dcad78ef00e7b18058721eb9935;p=fms.git diff --git a/include/http/pages/peertrustpage.h b/include/http/pages/peertrustpage.h index eb780e0..a62ad68 100644 --- a/include/http/pages/peertrustpage.h +++ b/include/http/pages/peertrustpage.h @@ -7,13 +7,17 @@ class PeerTrustPage:public IPageHandler,public IDatabase { public: - PeerTrustPage(const std::string &templatestr):IPageHandler(templatestr) {} + PeerTrustPage(const std::string &templatestr):IPageHandler(templatestr,"peertrust.htm") {} + + IPageHandler *New() { return new PeerTrustPage(m_template); } private: - const bool WillHandleURI(const std::string &uri); const std::string GeneratePage(const std::string &method, const std::map &queryvars); const std::string GetClassString(const std::string &trustlevel); + const std::string BuildQueryString(const long startrow, const std::string &namesearch, const std::string &sortby, const std::string &sortorder, const int localidentityid); + const std::string ReverseSort(const std::string &sortname, const std::string ¤tsortby, const std::string ¤tsortorder); + const std::string CreateLocalIdentityDropDown(const std::string &name, const int selectedlocalidentityid); };