login: store user data in /profile directory
[minimedit.git] / login / form.inc.php
diff --git a/login/form.inc.php b/login/form.inc.php
new file mode 100644 (file)
index 0000000..9c2a604
--- /dev/null
@@ -0,0 +1,9 @@
+<h2>Inloggen</h2>
+
+<form action="" method="post">
+       <input id="login" name="login" placeholder="Gebruikersnaam" value="<?php
+               if (isset($_POST['login'])) print htmlspecialchars($_REQUEST['login']);
+       ?>" />
+       <input id="pass" name="pass" type="password" value="" placeholder="Wachtwoord" />
+       <input type="submit" value="Log in" />
+</form>