+++ /dev/null
-<?php \r
-/*\r
- * OpenCaps\r
- * http://opencaps.atrc.utoronto.ca\r
- * \r
- * Copyright 2009 Heidi Hazelton\r
- * Adaptive Technology Resource Centre, University of Toronto\r
- * \r
- * Licensed under the Educational Community License (ECL), Version 2.0. \r
- * You may not use this file except in compliance with this License.\r
- * http://www.opensource.org/licenses/ecl2.php\r
- * \r
- */\r
-\r
-require('include/vitals.inc.php');\r
-\r
-if (isset($_POST['submit'])) {\r
- \r
- $this_user->login($_POST['login'], $_POST['password']);\r
-\r
-}\r
-\r
-include('include/basic_header.inc.php');\r
-?>\r
-<style>\r
- body { background-color:white; }\r
-</style>\r
- <script language="JavaScript" src="../jscripts/sha-1factory.js" type="text/javascript"></script>\r
-\r
- <script language="JavaScript" type="text/javascript">\r
- //<!--\r
- function crypt_sha1() {\r
- document.form.password_hidden.value = hex_sha1(document.form.password.value + "<?php echo $_SESSION['token']; ?>");\r
- document.form.password.value = "";\r
- return true;\r
- }\r
- //-->\r
- </script> \r
- <h2>Login</h2>\r
-\r
- <p>To start a new captioning project or to return to an ongoing project, please login below. If you are new here, quickly <a href="register.php">register</a> with us!</p>\r
- \r
- \r
- <form action="login.php" method="post" id="form">\r
- \r
- <h1 style="float:left; margin-left:10px;"><img src="images/logo_sm.png" alt="Capscribe logo" /></h1>\r
- \r
- <dl class="col-list" style="width:33%; margin-left:auto; margin-right:auto;">\r
- <dt><label for="login">Login:</label></dt> \r
- <dd><input name="login" type="text" id="login" value="" /></dd>\r
- <dt><label for="pswd">Password:</label></dt> \r
- <dd><input name="password" type="password" id="pswd" value="" /></dd>\r
- </dl>\r
- <div style="text-align:right">\r
- <input type="submit" name="submit" value="Submit" class="button" style="width:5em; margin-right:10px;" />\r
- </div>\r
- </form>\r
-\r
-</body>\r
-</html>
\ No newline at end of file