f52ff3317108bce2c83cd6f0807c4f71f2d87999
[squasher.git] / templates / login.tpl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5 <link rel=stylesheet href="css/squasher.css">
6 <title>Squasher</title>
7 <script type="text/javascript" src="js/md5.js"></script>
8 <script language="javascript">
9 function hasher(){ldelim}
10         var salt = '{$salt|escape:'quotes'}';
11         document.loginform.pass.value=hex_md5(hex_md5(document.loginform.pass.value)+salt);
12 {rdelim}
13 </script>
14 <body class=loginbody>
15 <div class="wrappercontainer">
16
17         <div class="loginheader">&nbsp;</div>
18
19         <div class="login">
20         <form name="loginform" onSubmit="hasher();" method="post">
21                 <div class="username">--username--<br/><input name="user" type=text value=""/></div>
22                 <div class="password">--password--<br/><input name="pass" type=password value=""/></div>
23                 <div class="fsubmit"><button class="submit" type=submit>login</button></a></div>
24         </form>
25         </div>
26
27         <div class="loginfooter">&nbsp;</div>
28
29 </div>
30 {if $debug}{debug}{/if}
31 </body>
32 </html>