source: trunk/phpgwapi/templates/default/login.tpl @ 1628

Revision 1628, 4.1 KB checked in by rafaelraymundo, 14 years ago (diff)

Ticket #746 - Reposiciona a tag <form> no login.tpl para poder passar via post a seleçao da linguagem.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
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 language="Javascript">
13<!--
14
15        function setLogin(){
16                if( document.flogin.organization != null)
17                        document.flogin.login.value = document.flogin.organization.value+'-'+document.flogin.user.value;
18                else
19                        document.flogin.login.value = document.flogin.user.value;                       
20        }
21       
22        function getLogin(){
23                var cookie = '{cookie}';
24                if( document.flogin.organization != null)
25                        document.flogin.user.value= cookie.substring(cookie.indexOf('-')+1,cookie.length);
26                else   
27                        document.flogin.user.value= cookie;
28
29                if(document.flogin.user.value == '') {
30                        if(document.flogin.organization != null)
31                                document.flogin.organization.focus();
32                        else
33                                document.flogin.user.focus();
34                }
35                else
36                        document.flogin.passwd.focus();
37        }
38       
39        function openWindow(newWidth,newHeight,link) {                                 
40                newScreenX  = screen.width - newWidth; 
41                newScreenY  = 0;               
42                Window1=window.open(link,'',"width="+newWidth+",height="+newHeight+",screenX="+newScreenX+",left="+newScreenX+",screenY="+newScreenY+",top="+newScreenY+",toolbar=no,scrollbars=yes,resizable=no");                             
43        }       
44        -->
45</script>
46</HEAD>
47<body scroll="no"  style="overflow:hidden" onLoad="javascript:getLogin()" bgcolor="#ffffff">
48<form name="flogin" method="post" action="{login_url}" {autocomplete}>
49<div id="conteudo">
50<div style="position: absolute; top:0px; right: 10px;"><span class="login_label">{lang_language}&nbsp;&nbsp;</span>{select_language}</div>
51<div align="center">
52        <div id="conteudo_corpo">
53                <div id="superior">
54                <div id="login">
55      <div align="center">
56
57<input type="hidden" name="passwd_type" value="text">
58<input type="hidden" name="account type" value="u">
59<input type="hidden" name="login">
60<div id="caixa_login">
61          <div id="reflexo">
62           <div class="titulo_login">Expresso Livre</div>
63           <div id="mensagem" class="msgInicial" >{cd}<br>{lang_message}</div>
64           {action}
65            <div id="conteudo_login" style="display:{show};">
66              <div class="login_label">
67                <label for="usuario">{lang_username}</label>
68                <br />
69                <input class="input" type="text" maxlength="50" size="20" name="user" id="user" value="">
70              </div>
71
72              <div class="login_label">
73                <label for="senha">{lang_password}</label>
74                <br />
75                <input class="input" type="password" maxlength="50" size="20" name="passwd" id="passwd" value="">
76              </div>
77                {captcha}
78     
79              <input value="{lang_login}" name="submitit" class="button" onclick="javascript:setLogin()" type="submit" style="margin-top:10px"/>
80            </div>
81<div style="margin-top:5px">
82 {link_alterna_login}
83</div>
84          </div>
85          <div id="rodape_login">
86            <div class="ajuda"><a target="help" href="./phpgwapi/templates/{template}/help.php?lang={lang}">Ajuda</a></div>
87          </div>
88        </div>
89</form>
90</div>
91</div>
92</div>
93<div id="inferior"><br />
94<div id="rodape">
95<table align="center" cellspacing="0" cellpadding="0" border="0">
96        <tr>
97                <td>
98                        <table border="0" cellpadding="0" cellspacing="0" width="300px">
99                        <tbody>
100                                <tr>
101                                <td>{logo_config}
102                                <br><a title="Projeto Expresso Livre" target="_blank" href="http://www.expressolivre.org/">Expresso Livre</a> {version}
103                                <br><a title="eGroupWare" target="_blank" href="http://www.egroupware.org/"> Powered by eGroupWare </a></div></td>
104                                </tr>
105                        </tbody>
106                </table>
107        </td>
108        </tr>
109</table>
110</div>
111</div>
112</div>
113</div>
114</div>
115<div>{applet}</div>
116</body></html>
Note: See TracBrowser for help on using the repository browser.