Changeset 3731 for branches/2.2/mobile/templates/default/login.tpl
- Timestamp:
- 02/03/11 17:13:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/templates/default/login.tpl
r3714 r3731 7 7 <meta content="text/html;width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0; charset=utf-8;" http-equiv="Content-Type" name="viewport" /> 8 8 <meta name="format-detection" content="telephone=no" /> 9 {css} 9 <link href="templates/css/mobile.css" type="text/css" rel="StyleSheet" /> 10 11 <script type="text/javascript"> 12 13 function validate_login() { 14 document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height); 15 16 return true; 17 } 18 19 </script> 10 20 </head> 11 21 … … 15 25 </div> 16 26 17 {message_box} 27 {message_box} 18 28 19 20 <form name="form_login" method="post" action="./login.php">29 <form name="form_login" method="post" action="./login.php" id="login_form" onSubmit="return validate_login()"> 30 <input type="hidden" name="max_resolution" id="max_resolution" value=""> 21 31 <input type="hidden" name="passwd_type" value="text"> 22 32 <input type="hidden" name="account type" value="u"> … … 24 34 <div class="login"> 25 35 <strong>{lang_username}:</strong><br/> 26 <input name="login"/><br/> 27 <script>document.form_login.login.focus();</script> 36 <input name="login" id="login"/><br/> 28 37 <strong>{lang_password}:</strong><br/> 29 38 <input name="passwd" type="password" autocomplete=off/><br/> 30 <button name="submitit" class="btn-contexto" style="margin-top:5px" >{lang_login}</button>31 </div> 39 <button name="submitit" class="btn-contexto" style="margin-top:5px" type="submit">{lang_login}</button> 40 </div> 32 41 </dt> 33 42 </form> 34 43 35 44 <div class="rodape">Projeto ExpressoLivre 2004 - 2010 :: Licença de Software</div> 36 45 </body> 37 46 </html> 47 48 <script type="text/javascript"> 49 document.getElementById('login').focus(); 50 </script> 51 38 52 <!-- END page --> 39 53 <!-- BEGIN success_message -->
Note: See TracChangeset
for help on using the changeset viewer.