X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fannounceidentitypage.cpp;h=83ce674673d05b17c8fcf6f0c8d404f2bd0d43f0;hb=9a14c0d9f7f7c319e539583b93664953764e83b7;hp=81fad96e813252bcecbf358b5f493acfac7bc011;hpb=df316253862dc50e8e5a790d9634ef90be37badb;p=fms.git diff --git a/src/http/pages/announceidentitypage.cpp b/src/http/pages/announceidentitypage.cpp index 81fad96..83ce674 100644 --- a/src/http/pages/announceidentitypage.cpp +++ b/src/http/pages/announceidentitypage.cpp @@ -1,6 +1,7 @@ #include "../../../include/http/pages/announceidentitypage.h" #include "../../../include/stringfunctions.h" #include "../../../include/datetime.h" +#include "../../../include/global.h" #ifdef XMEM #include @@ -18,18 +19,12 @@ const std::string AnnounceIdentityPage::CreateLocalIdentityDropDown(const std::s std::string id; std::string name; std::string pubkey; - std::string keypart=""; st.ResultText(0,id); st.ResultText(1,name); st.ResultText(2,pubkey); - if(pubkey.size()>8) - { - keypart=pubkey.substr(3,5); - } - - rval+=""; + rval+=""; st.Step(); } rval+=""; @@ -89,7 +84,7 @@ const std::string AnnounceIdentityPage::GeneratePage(const std::string &method, content+="
Select Identity : "; content+=CreateLocalIdentityDropDown("localidentityid",""); content+=""; - content+="
Type the answers of a few puzzles. The puzzles are case sensitive."; + content+="
Type the answers of a few puzzles. The puzzles are case sensitive. Getting announced will take some time. DO NOT continuously solve captchas. Solve 30 at most, wait a day, and if your identity has not been announced, repeat until it is."; content+="";