X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=admin%2Flocalidentities.php;fp=admin%2Flocalidentities.php;h=b98f4207bc9824a4d5bd6c2dcbe83f13f2c91e65;hb=964f55fd550fc711c0320ce6a24ad713040695d0;hp=0000000000000000000000000000000000000000;hpb=868c533e84b3c81b6604b45b84efa32073aa20b4;p=fms.git diff --git a/admin/localidentities.php b/admin/localidentities.php new file mode 100644 index 0000000..b98f420 --- /dev/null +++ b/admin/localidentities.php @@ -0,0 +1,102 @@ + + + prepare("UPDATE tblLocalIdentity SET SingleUse=?, PublishTrustList=? WHERE LocalIdentityID=?;"); + for($i=0; $ibindParam(1,$_REQUEST['singleuse'][$_REQUEST['update'][$i]]); + $st->bindParam(2,$_REQUEST['publishtrustlist'][$_REQUEST['update'][$i]]); + $st->bindParam(3,$_REQUEST['localidentityid'][$_REQUEST['update'][$i]]); + $st->execute(); + } + } + } + if($_REQUEST['formaction']=='delete' && isset($_REQUEST['update'])) + { + $st=$db->prepare("DELETE FROM tblLocalIdentity WHERE LocalIdentityID=?;"); + + for($i=0; $ibindParam(1,$_REQUEST['localidentityid'][$_REQUEST['update'][$i]]); + $st->execute(); + } + } + } + } + + $st=$db->prepare("SELECT LocalIdentityID,Name,PublicKey,PublishTrustList,SingleUse,PublishBoardList FROM tblLocalIdentity ORDER BY Name;"); + $st->execute(); + ?> +

Local Identities

+
+ + + + + + + + + fetch()) + { + ?> + + + + + + + +
NameSingle UsePublish Trust List
+ + + + + + + + +
+ + +
+ \ No newline at end of file