1 | <!-- BEGIN page --> |
---|
2 | <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> |
---|
3 | |
---|
4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
5 | <head> |
---|
6 | <title>{website_title} - {lang_login}</title> |
---|
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 | <meta name="format-detection" content="telephone=no" /> |
---|
9 | <link href="templates/css/mobile.css" type="text/css" rel="StyleSheet" /> |
---|
10 | <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> |
---|
11 | <link rel="apple-touch-icon" href="./templates/default/images/favicon.png" /> |
---|
12 | <link rel="apple-touch-icon-precomposed" href="./templates/default/images/favicon.png"/> |
---|
13 | <meta name="apple-mobile-web-app-status-bar-style" content="black" /> |
---|
14 | <link rel="icon" href="./templates/default/images/favicon.png" type="image/x-ico" /> |
---|
15 | <meta name="apple-touch-fullscreen" content="YES" /> |
---|
16 | |
---|
17 | <script type="text/javascript"> |
---|
18 | |
---|
19 | function validate_login(form) |
---|
20 | { |
---|
21 | document.getElementById("max_resolution").value = ((screen.width >= screen.height) ? screen.width : screen.height); |
---|
22 | |
---|
23 | verifyBrowser( form ); |
---|
24 | |
---|
25 | return true; |
---|
26 | } |
---|
27 | |
---|
28 | function verifyBrowser(form) |
---|
29 | { |
---|
30 | if('{os_browser}' != false){ |
---|
31 | if(window.confirm("Você está acessando de um {os_browser}. Deseja salvar usuário e senha neste dispositivo?")) { |
---|
32 | form.save_login.value = 'yes'; |
---|
33 | } |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | </script> |
---|
38 | </head> |
---|
39 | |
---|
40 | <body> |
---|
41 | <div class="topo"> |
---|
42 | <h1>{website_title} - {lang_login}</h1> |
---|
43 | </div> |
---|
44 | |
---|
45 | {message_box} |
---|
46 | |
---|
47 | <form name="form_login" method="post" action="./login.php" id="login_form" autocomplete=off onSubmit="return validate_login(this);"> |
---|
48 | <input type="hidden" name="max_resolution" id="max_resolution" value=""> |
---|
49 | <input type="hidden" name="passwd_type" value="text"> |
---|
50 | <input type="hidden" name="account type" value="u"> |
---|
51 | <input type="hidden" name="save_login" value="no"> |
---|
52 | <dt id="lista_miolo"> |
---|
53 | <div class="login"> |
---|
54 | <strong>{lang_username}:</strong><br/> |
---|
55 | <input name="login" id="login"/><br/> |
---|
56 | <strong>{lang_password}:</strong><br/> |
---|
57 | <input name="passwd" type="password" autocomplete=off/><br/> |
---|
58 | <button name="submitit" class="btn-contexto" style="margin-top:5px" type="submit">{lang_login}</button> |
---|
59 | </div> |
---|
60 | </dt> |
---|
61 | |
---|
62 | </form> |
---|
63 | |
---|
64 | <div class="rodape">Projeto ExpressoLivre 2004 - 2010 :: Licença de Software</div> |
---|
65 | <div class="rodape center"><a href="/login.php?dont_redirect_if_moble=1">Versão Clássica</a></div> |
---|
66 | </body> |
---|
67 | </html> |
---|
68 | |
---|
69 | <script type="text/javascript"> |
---|
70 | document.getElementById('login').focus(); |
---|
71 | </script> |
---|
72 | |
---|
73 | <!-- END page --> |
---|
74 | <!-- BEGIN success_message --> |
---|
75 | <div class="bg-neutro"> |
---|
76 | <div class="aviso-positivo"> |
---|
77 | <strong>{message}</strong> |
---|
78 | </div> |
---|
79 | </div> |
---|
80 | <!-- END success_message --> |
---|
81 | <!-- BEGIN error_message --> |
---|
82 | <div class="bg-neutro"> |
---|
83 | <div class="aviso-negativo"> |
---|
84 | <strong>{message}</strong> |
---|
85 | </div> |
---|
86 | </div> |
---|
87 | <!-- END error_message --> |
---|