X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fhttp%2Fpages%2Fpeertrustpage.h;h=cce9ae60493b0da64060a7582344e324ffc411db;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hp=b9a5f4ebafe289b3556921a65b772e596c62d912;hpb=f208e33c29132aacaec448e74341edea1b925a2a;p=fms.git diff --git a/include/http/pages/peertrustpage.h b/include/http/pages/peertrustpage.h index b9a5f4e..cce9ae6 100644 --- a/include/http/pages/peertrustpage.h +++ b/include/http/pages/peertrustpage.h @@ -9,10 +9,17 @@ 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); + }; #endif // _peertrustpage_