1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <HTML> |
---|
3 | <!-- BEGIN login_form --> |
---|
4 | <HEAD> |
---|
5 | <META http-equiv="Content-Type" content="text/html; charset={charset}"> |
---|
6 | <META name="AUTHOR" content="dGroupWare http://www.eGroupWare.org"> |
---|
7 | <META NAME="description" CONTENT="{website_title} login screen, working environment powered by eGroupWare"> |
---|
8 | <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> |
---|
9 | <META NAME="keywords" CONTENT="{website_title} login screen, eGroupWare, groupware, groupware suite"> |
---|
10 | <link href="../phpgwapi/templates/default/login.css" rel="stylesheet" type="text/css"> |
---|
11 | <TITLE>{website_title} - {lang_login}</TITLE> |
---|
12 | <script src="js/local_messages.js?1.222" type='text/javascript'></script> |
---|
13 | <script src="js/offline_access.js?1.222" type='text/javascript'></script> |
---|
14 | <script src="js/gears_init.js?1.222" type='text/javascript'></script> |
---|
15 | <script src="js/md5.js?1.222" type='text/javascript'></script> |
---|
16 | <script language="Javascript"> |
---|
17 | <!-- |
---|
18 | |
---|
19 | function setLogin(){ |
---|
20 | if( document.flogin.organization != null) |
---|
21 | document.flogin.login.value = document.flogin.organization.value+'-'+document.flogin.user.value; |
---|
22 | else |
---|
23 | document.flogin.login.value = document.flogin.user.value; |
---|
24 | } |
---|
25 | |
---|
26 | function getLogin(){ |
---|
27 | var cookie = '{cookie}'; |
---|
28 | if( document.flogin.organization != null) |
---|
29 | document.flogin.user.value= cookie.substring(cookie.indexOf('-')+1,cookie.length); |
---|
30 | else |
---|
31 | document.flogin.user.value= cookie; |
---|
32 | |
---|
33 | if(document.flogin.user.value == '') { |
---|
34 | if(document.flogin.organization != null) |
---|
35 | document.flogin.organization.focus(); |
---|
36 | else |
---|
37 | document.flogin.user.focus(); |
---|
38 | } |
---|
39 | else |
---|
40 | document.flogin.passwd.focus(); |
---|
41 | } |
---|
42 | |
---|
43 | function openWindow(newWidth,newHeight,link) { |
---|
44 | newScreenX = screen.width - newWidth; |
---|
45 | newScreenY = 0; |
---|
46 | Window1=window.open(link,'',"width="+newWidth+",height="+newHeight+",screenX="+newScreenX+",left="+newScreenX+",screenY="+newScreenY+",top="+newScreenY+",toolbar=no,scrollbars=yes,resizable=no"); |
---|
47 | } |
---|
48 | --> |
---|
49 | </script> |
---|
50 | </HEAD> |
---|
51 | <body scroll="no" style="overflow:hidden" onload="expresso_offline_access.fill_combo_of_users(document.getElementById('users_combo'))" bgcolor="#ffffff"> |
---|
52 | <FORM name="login" method="post" action="{login_url}" {autocomplete} onsubmit="expresso_offline_access.do_login(document.getElementById('users_combo').value,MD5(document.getElementById('passwd').value));return false;"> |
---|
53 | <!--form name="flogin" method="post" action="{login_url}" {autocomplete}--> |
---|
54 | <div id="conteudo"> |
---|
55 | <div style="position: absolute; top:0px; right: 10px;"><span class="login_label">{lang_language} </span>{select_language}</div> |
---|
56 | <div align="center"> |
---|
57 | <div id="conteudo_corpo"> |
---|
58 | <div id="superior"> |
---|
59 | <div id="login"> |
---|
60 | <div align="center"> |
---|
61 | |
---|
62 | <input type="hidden" name="passwd_type" value="text"> |
---|
63 | <input type="hidden" name="account type" value="u"> |
---|
64 | <input type="hidden" name="login"> |
---|
65 | <div id="caixa_login"> |
---|
66 | <div id="reflexo"> |
---|
67 | <div class="titulo_login">Expresso.Ba</div> |
---|
68 | <div id="div_error" class="msgInicial" >{cd}<br>{lang_message}</div> |
---|
69 | {action} |
---|
70 | <div id="conteudo_login" style="display:{show};">{select_organization} |
---|
71 | <div class="login_label"> |
---|
72 | <label for="usuario">{lang_username}</label> |
---|
73 | <br /> |
---|
74 | <select name="user" id='users_combo'></select><!--input class="input" type="text" maxlength="50" size="20" name="user" id="user" value=""--> |
---|
75 | </div> |
---|
76 | |
---|
77 | <div class="login_label"> |
---|
78 | <label for="senha">{lang_password}</label> |
---|
79 | <br /> |
---|
80 | <input class="input" type="password" maxlength="50" size="20" name="passwd" id="passwd" value=""> |
---|
81 | </div> |
---|
82 | <input type="button" value="{lang_login}" name="submitit" class=button onclick="expresso_offline_access.do_login(document.getElementById('users_combo').value,MD5(document.getElementById('passwd').value))"> |
---|
83 | <!--input value="{lang_login}" name="submitit" class="button" onclick="javascript:setLogin()" type="submit" style="margin-top:10px"/--> |
---|
84 | </div> |
---|
85 | <div style="margin-top:5px"> |
---|
86 | {link_alterna_login} |
---|
87 | </div> |
---|
88 | </div> |
---|
89 | <div id="rodape_login"> |
---|
90 | |
---|
91 | </div> |
---|
92 | </div> |
---|
93 | </form> |
---|
94 | </div> |
---|
95 | </div> |
---|
96 | </div> |
---|
97 | <div id="inferior"><br /><br /><br /> |
---|
98 | <div id="rodape"> |
---|
99 | <table align="center" cellspacing="0" cellpadding="0" border="0"> |
---|
100 | <tr> |
---|
101 | <td> |
---|
102 | <table border="0" cellpadding="0" cellspacing="0" width="300px"> |
---|
103 | <tbody> |
---|
104 | <tr> |
---|
105 | <td>{logo_config} |
---|
106 | <br><a title="Projeto Expresso Livre" target="_blank" href="http://www.expressolivre.org/">Expresso Livre</a> {version} |
---|
107 | <br><a title="eGroupWare" target="_blank" href="http://www.egroupware.org/"> Powered by eGroupWare </a></div></td> |
---|
108 | </tr> |
---|
109 | </tbody> |
---|
110 | </table> |
---|
111 | </td> |
---|
112 | </tr> |
---|
113 | </table> |
---|
114 | </div> |
---|
115 | </div> |
---|
116 | </div> |
---|
117 | </div> |
---|
118 | </div> |
---|
119 | <div>{applet}</div> |
---|
120 | </body></html> |
---|