version 0.1.7
[fms.git] / admin / createidentity.php
diff --git a/admin/createidentity.php b/admin/createidentity.php
deleted file mode 100644 (file)
index 804b4cf..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php\r
-       \r
-       include_once('config.php');\r
-       include_once('linkbar.php');\r
-\r
-function content()\r
-{\r
-       \r
-       global $dblocation;\r
-       \r
-       if(isset($_REQUEST["formaction"]) && $_REQUEST["formaction"]=="create" && $_REQUEST["name"]!="")\r
-       {\r
-               $db=new PDO('sqlite:'.$dblocation);\r
-               $st=$db->prepare("INSERT INTO tblLocalIdentity(Name,PublishTrustList) VALUES(?,'true');");\r
-               $st->bindParam(1,$_REQUEST["name"]);\r
-               $st->execute();\r
-?>\r
-       <h2>Identity Created</h2>\r
-<?php\r
-       }\r
-       else\r
-       {\r
-?>\r
-       <h2>Create Identity</h2>\r
-       <form name="frmcreateidentity" method="POST">\r
-       <input type="hidden" name="formaction" value="create">\r
-       Name : <input type="text" name="name">\r
-       <input type="submit" value="Create">\r
-       </form>\r
-<?php\r
-       }\r
-}\r
-       \r
-       include_once('template.php');\r
-\r
-?>
\ No newline at end of file