@@ -144,18+168,24 @@ const std::string PeerTrustPage::GeneratePage(const std::string &method, const s
content+="Message Trust is how much you trust the identity to post good messages. Trust List Trust is how much weight you want the trust list of that identity to have when calculating the total. The local trust levels are set by you, and the peer trust levels are calculated by a weighted average using other identities' trust lists.";\r
content+="Message Trust is how much you trust the identity to post good messages. Trust List Trust is how much weight you want the trust list of that identity to have when calculating the total. The local trust levels are set by you, and the peer trust levels are calculated by a weighted average using other identities' trust lists.";\r
content+="<th><a href=\"peertrust.htm?"+BuildQueryString(startrow,namesearch,"LocalTrustListTrust",ReverseSort("LocalTrustListTrust",sortby,sortorder))+"\">Local Trust List Trust</a></th>";\r
content+="<th><a href=\"peertrust.htm?"+BuildQueryString(startrow,namesearch,"LocalTrustListTrust",ReverseSort("LocalTrustListTrust",sortby,sortorder))+"\">Local Trust List Trust</a></th>";\r
+ content+="<th>Trust Comment</th>";\r
content+="<th><a href=\"peertrust.htm?"+BuildQueryString(startrow,namesearch,"PeerTrustListTrust",ReverseSort("PeerTrustListTrust",sortby,sortorder))+"\">Peer Trust List Trust</a></th></tr>";\r
\r
// get count of identities we are showing\r
content+="<th><a href=\"peertrust.htm?"+BuildQueryString(startrow,namesearch,"PeerTrustListTrust",ReverseSort("PeerTrustListTrust",sortby,sortorder))+"\">Peer Trust List Trust</a></th></tr>";\r
\r
// get count of identities we are showing\r
@@ -174,7+204,7 @@ const std::string PeerTrustPage::GeneratePage(const std::string &method, const s
st.ResultInt(0,identitycount);\r
st.Finalize();\r
\r
st.ResultInt(0,identitycount);\r
st.Finalize();\r
\r
- sql="SELECT IdentityID,Name,LocalMessageTrust,PeerMessageTrust,LocalTrustListTrust,PeerTrustListTrust,PublicKey FROM tblIdentity";\r
+ sql="SELECT IdentityID,Name,LocalMessageTrust,PeerMessageTrust,LocalTrustListTrust,PeerTrustListTrust,PublicKey,MessageTrustComment,TrustListTrustComment FROM tblIdentity";\r
if(namesearch!="")\r
{\r
sql+=" WHERE Name LIKE '%' || ? || '%'";\r
if(namesearch!="")\r
{\r
sql+=" WHERE Name LIKE '%' || ? || '%'";\r
@@ -210,6+240,8 @@ const std::string PeerTrustPage::GeneratePage(const std::string &method, const s
std::string peertrustlisttrust;\r
std::string publickey;\r
std::string keypart="";\r
std::string peertrustlisttrust;\r
std::string publickey;\r
std::string keypart="";\r
+ std::string messagetrustcomment="";\r
+ std::string trustlisttrustcomment="";\r
\r
StringFunctions::Convert(count,countstr);\r
\r
\r
StringFunctions::Convert(count,countstr);\r
\r
@@ -220,6+252,8 @@ const std::string PeerTrustPage::GeneratePage(const std::string &method, const s
st.ResultText(4,localtrustlisttrust);\r
st.ResultText(5,peertrustlisttrust);\r
st.ResultText(6,publickey);\r
st.ResultText(4,localtrustlisttrust);\r
st.ResultText(5,peertrustlisttrust);\r
st.ResultText(6,publickey);\r
+ st.ResultText(7,messagetrustcomment);\r
+ st.ResultText(8,trustlisttrustcomment);\r
\r
if(publickey.size()>8)\r
{\r
\r
if(publickey.size()>8)\r
{\r
@@ -243,11+277,19 @@ const std::string PeerTrustPage::GeneratePage(const std::string &method, const s