X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fpeertrustpage.h;h=cce9ae60493b0da64060a7582344e324ffc411db;hb=76805933f794915a72b7f0a21b12af6654759f4f;hp=eb780e0e720013ec0fff735308872c39146d63d3;hpb=37a8d59548287dcad78ef00e7b18058721eb9935;p=fms.git diff --git a/include/http/pages/peertrustpage.h b/include/http/pages/peertrustpage.h index eb780e0..cce9ae6 100644 --- a/include/http/pages/peertrustpage.h +++ b/include/http/pages/peertrustpage.h @@ -9,11 +9,16 @@ class PeerTrustPage:public IPageHandler,public IDatabase public: PeerTrustPage(const std::string &templatestr):IPageHandler(templatestr) {} + 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); };