version 0.1.2
[fms.git] / admin / identitytrust.php
index 8e5aa1e..6c4663b 100644 (file)
@@ -25,10 +25,11 @@ function content()
                }\r
        }\r
        \r
-       $st=$db->prepare("SELECT IdentityID,Name,LocalMessageTrust,PeerMessageTrust,LocalTrustListTrust,PeerTrustListTrust FROM tblIdentity ORDER BY Name;");\r
+       $st=$db->prepare("SELECT IdentityID,Name,LocalMessageTrust,PeerMessageTrust,LocalTrustListTrust,PeerTrustListTrust,PublicKey FROM tblIdentity ORDER BY Name;");\r
        $st->execute();\r
        ?>\r
        <h2>Identity Trust</h2>\r
+       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
        <form name="frmtrust" method="post">\r
        <input type="hidden" name="formaction" value="updatetrust">\r
        <table>\r
@@ -44,18 +45,18 @@ function content()
                {\r
                ?>\r
                <tr>\r
-                       <td>\r
-                               <?php print($record[1]) ?>\r
-                               <input type="hidden" name="identityid[]" value="<?php print($record[0]) ?>">\r
+                       <td title="<?php print($record[6]); ?>">\r
+                               <?php print($record[1]); ?>\r
+                               <input type="hidden" name="identityid[]" value="<?php print($record[0]); ?>">\r
                        </td>\r
                        <td>\r
-                               <input type="hidden" name="oldlocalmessagetrust[]" value="<?php print($record[2]) ?>">\r
-                               <input type="text" name="newlocalmessagetrust[]" size="2" maxlength="3" value="<?php print($record[2]) ?>">\r
+                               <input type="hidden" name="oldlocalmessagetrust[]" value="<?php print($record[2]); ?>">\r
+                               <input type="text" name="newlocalmessagetrust[]" size="2" maxlength="3" value="<?php print($record[2]); ?>">\r
                        </td>\r
-                       <td><?php print($record[3]) ?></td>\r
+                       <td><?php print($record[3]); ?></td>\r
                        <td>\r
-                               <input type="hidden" name="oldlocaltrustlisttrust[]" value="<?php print($record[4]) ?>">\r
-                               <input type="text" name="newlocaltrustlisttrust[]" size="2" maxlength="3" value="<?php print($record[4]) ?>">\r
+                               <input type="hidden" name="oldlocaltrustlisttrust[]" value="<?php print($record[4]); ?>">\r
+                               <input type="text" name="newlocaltrustlisttrust[]" size="2" maxlength="3" value="<?php print($record[4]); ?>">\r
                        </td>\r
                        <td><?php print($record[5]) ?></td>\r
                </tr>\r