X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Flocalidentitiespage.cpp;h=3fd3c48b8ba510a6c5ebb7be191f0287883bb27a;hb=14fff12d9df0ee30e2df4bf9d22c2e83065816df;hp=c0b6105a9fd10ce29d248a09998f9b68899c35a8;hpb=107bd97018964d48425306026d06afd038e84db0;p=fms.git diff --git a/src/http/pages/localidentitiespage.cpp b/src/http/pages/localidentitiespage.cpp index c0b6105..3fd3c48 100644 --- a/src/http/pages/localidentitiespage.cpp +++ b/src/http/pages/localidentitiespage.cpp @@ -1,33 +1,12 @@ #include "../../../include/http/pages/localidentitiespage.h" #include "../../../include/stringfunctions.h" #include "../../../include/http/identityexportxml.h" +#include "../../../include/global.h" #ifdef XMEM #include #endif -const std::string LocalIdentitiesPage::CreateTrueFalseDropDown(const std::string &name, const std::string &selected) -{ - std::string rval=""; - - rval+=""; - content+="
"+SanitizeOutput(name+keypart)+"..."; + content+=""+SanitizeOutput(CreateShortIdentityName(name,publickey))+""; content+=""+CreateTrueFalseDropDown("singleuse["+countstr+"]",singleuse)+""; content+=""+CreateTrueFalseDropDown("publishtrustlist["+countstr+"]",publishtrustlist)+""; content+=""+CreateTrueFalseDropDown("publishboardlist["+countstr+"]",publishboardlist)+"";