bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/trunk
|
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
1 |
<!DOCTYPE html>
|
2 |
<html> |
|
3 |
<head> |
|
4 |
<meta charset="utf-8" /> |
|
5 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
|
9.5.1
by galaxyAbstractor
Moved shared js, css and php, updated all paths in DuggaSys. |
6 |
<link href="../../../../css/base.css" rel="stylesheet" type="text/css" /> |
7 |
<link href="../../../../css/login.css" rel="stylesheet" type="text/css" /> |
|
8 |
<script type="text/javascript" src="../../../../js/md5.js"></script> |
|
|
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
9 |
<script lang="Javascript"> |
10 |
function hashPassword(){ |
|
11 |
//alert("pre " + document.forms["loginForm"]["passwordInput"].value + "!"); |
|
12 |
document.forms["loginForm"]["passwordInput"].value=hex_md5(document.forms["loginForm"]["passwordInput"].value); |
|
13 |
//alert("post " + document.forms["loginForm"]["passwordInput"].value + "!"); |
|
14 |
} |
|
15 |
</script> |
|
16 |
<title><?php $pagetitle ?></title> |
|
17 |
</head> |
|
18 |
<body> |
|
19 |
<form name="loginForm" action="." method="post" onsubmit="hashPassword();"> |
|
20 |
<h3>User credentials</h3> |
|
21 |
<label for="userNameInput" >Username:</label> |
|
22 |
<input type="text" name="userNameInput" placeholder="Your username" /><br /> |
|
23 |
<label for="passwordInput">Password:</label> |
|
24 |
<input type="password" name="passwordInput" placeholder="Your password"/> |
|
25 |
<input type="submit" name="loginSubmit" value="Logga in" /> |
|
26 |
</form> |
|
27 |
<?php
|
|
28 |
/*if (isset($errorMsg) && $errorMsg!="") {
|
|
29 |
echo "<h3>" . $errorMsg . "</h3>";
|
|
30 |
}*/
|
|
31 |
?>
|
|
32 |
</body> |
|
33 |
</html> |