X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fannounceidentitypage.cpp;h=212ae876e95018a77f3430cbd0a6b390ac1d8592;hb=9ae3b1434e51788e6feb72e1415ec800d05c535a;hp=e8f7fd417a10ca6223e15a1edff0a9f1cbe300a3;hpb=221236a4d3aac4144529d418ce368db5c98facb0;p=fms.git diff --git a/src/http/pages/announceidentitypage.cpp b/src/http/pages/announceidentitypage.cpp index e8f7fd4..212ae87 100644 --- a/src/http/pages/announceidentitypage.cpp +++ b/src/http/pages/announceidentitypage.cpp @@ -26,7 +26,7 @@ const std::string AnnounceIdentityPage::CreateLocalIdentityDropDown(const std::s st.ResultText(1,name); st.ResultText(2,pubkey); - rval+=""; + rval+=""; st.Step(); } rval+=""; @@ -47,11 +47,11 @@ const std::string AnnounceIdentityPage::GeneratePage(const std::string &method, std::string pubkey=""; int requestindex=0; bool willshow=false; + std::string localidentityidstr=""; if(queryvars.find("formaction")!=queryvars.end() && (*queryvars.find("formaction")).second=="announce" && ValidateFormPassword(queryvars)) { SQLite3DB::Statement insert=m_db->Prepare("INSERT INTO tblIdentityIntroductionInserts(LocalIdentityID,Day,UUID,Solution) VALUES(?,?,?,?);"); - std::string localidentityidstr=""; int localidentityid=0; std::vector uuids; std::vector days; @@ -87,7 +87,7 @@ const std::string AnnounceIdentityPage::GeneratePage(const std::string &method, content+=""; content+=""; content+=""; content+=""; content+=""; @@ -135,7 +135,7 @@ const std::string AnnounceIdentityPage::GeneratePage(const std::string &method, } content+="\r\n";
Select Identity : "; - content+=CreateLocalIdentityDropDown("localidentityid",""); + content+=CreateLocalIdentityDropDown("localidentityid",localidentityidstr); content+="
Type the answers of a few of the following puzzles. You don't need to get them all correct, but remember that they are case sensitive. Getting announced will take some time and you must assign trust to other identities to see yourself announced. 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+="
"; - content+=""; + content+=""; content+=""; content+=""; content+="