Commit e2e6a18e661bc53ef4113d58cf772f3b064253ce
1 parent
10b7022c
Exists in
master
and in
1 other branch
Gerente "trunk" atualizado
- melhorias na internacionalização "admin" git-svn-id: http://svn.softwarepublico.gov.br/svn/cacic/cacic/trunk/gerente@352 fecfc0c7-e812-0410-ae72-849f08638ee7
Showing
1 changed file
with
19 additions
and
16 deletions
Show diff stats
admin/autorizacoes.php
... | ... | @@ -4,7 +4,7 @@ session_start(); |
4 | 4 | * verifica se houve login e também regras para outras verificações (ex: permissões do usuário)! |
5 | 5 | */ |
6 | 6 | if(!isset($_SESSION['id_usuario'])) |
7 | - die('Acesso negado!'); | |
7 | + die('Acesso negado (Access denied)!'); | |
8 | 8 | else { // Inserir regras para outras verificações (ex: permissões do usuário)! |
9 | 9 | } |
10 | 10 | |
... | ... | @@ -15,7 +15,9 @@ require_once('../include/library.php'); |
15 | 15 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
16 | 16 | <html> |
17 | 17 | <head> |
18 | -<title>Relatório de Softwares Inventariados por Máquinas</title> | |
18 | +<title> | |
19 | +<?=$oTranslator->_('Relatorio de Autorizacoes Cadastradas');?> | |
20 | +</title> | |
19 | 21 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
20 | 22 | <script language="JavaScript" type="text/JavaScript"> |
21 | 23 | <!-- |
... | ... | @@ -34,15 +36,15 @@ function MM_openBrWindow(theURL,winName,features) { //v2.0 |
34 | 36 | <td bgcolor="#FFFFFF"> </td> |
35 | 37 | </tr> |
36 | 38 | <tr bgcolor="#E1E1E1"> |
37 | - <td nowrap bgcolor="#FFFFFF"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"><strong>CACIC | |
38 | - - Relatório de Autorizações Cadastradas</strong></font></td> | |
39 | + <td nowrap bgcolor="#FFFFFF"><font color="#333333" size="4" face="Verdana, Arial, Helvetica, sans-serif"> | |
40 | + <strong>CACIC - <?=$oTranslator->_('Relatorio de Autorizacoes Cadastradas');?></strong></font></td> | |
39 | 41 | </tr> |
40 | 42 | <tr> |
41 | 43 | <td height="1" bgcolor="#333333"></td> |
42 | 44 | </tr> |
43 | 45 | <tr> |
44 | - <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Gerado | |
45 | - em <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | |
46 | + <td><p align="left"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
47 | + <?=$oTranslator->_('Gerado em');?> <? echo date("d/m/Y à\s H:i"); ?></font></p></td> | |
46 | 48 | </tr> |
47 | 49 | </table> |
48 | 50 | <br> |
... | ... | @@ -61,7 +63,7 @@ $linha = '<tr bgcolor="#e7e7e7"> |
61 | 63 | FROM softwares_estacao |
62 | 64 | WHERE (dt_desinstalacao IS NULL) |
63 | 65 | ORDER BY nr_patrimonio"; |
64 | - $result = mysql_query($query) or die('Ocorreu um erro no acesso à tabela softwares_estacao ou sua sessão expirou!'); | |
66 | + $result = mysql_query($query) or die($oTranslator->_('Ocorreu um erro no acesso a tabela %1 ou sua sessao expirou',array('softwares_estacao')).'!'); | |
65 | 67 | ?> |
66 | 68 | <table border="0" align="center" cellpadding="0" cellspacing="1"> |
67 | 69 | <tr> |
... | ... | @@ -76,11 +78,11 @@ $linha = '<tr bgcolor="#e7e7e7"> |
76 | 78 | <td align="center" nowrap> </td> |
77 | 79 | <td align="center" nowrap><div align="left"><strong></strong></div></td> |
78 | 80 | <td align="center" nowrap> </td> |
79 | - <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Patrimônio</font></strong></div></td> | |
81 | + <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Patrimonio');?></font></strong></div></td> | |
80 | 82 | <td nowrap > </td> |
81 | - <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Nome Rede</font></strong></div></td> | |
83 | + <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Nome da rede');?></font></strong></div></td> | |
82 | 84 | <td nowrap > </td> |
83 | - <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif">Observação</font></strong></div></td> | |
85 | + <td align="center" nowrap bgcolor="#E1E1E1"><div align="center"><strong><font color="#333333" size="2" face="Verdana, Arial, Helvetica, sans-serif"><?=$oTranslator->_('Observacao');?></font></strong></div></td> | |
84 | 86 | <td nowrap > </td> |
85 | 87 | </tr> |
86 | 88 | <? |
... | ... | @@ -114,11 +116,12 @@ $linha = '<tr bgcolor="#e7e7e7"> |
114 | 116 | <td height="10"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> </font></td> |
115 | 117 | </tr> |
116 | 118 | </table> |
117 | -<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Relatório | |
118 | - gerado pelo <strong>CACIC</strong> - Configurador Automático e Coletor | |
119 | - de Informações Computacionais</font><br> | |
120 | - <font size="1" face="Verdana, Arial, Helvetica, sans-serif">Software desenvolvido | |
121 | - pela Dataprev - Escritório do Espírito Santo</font></p> | |
122 | - | |
119 | +<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
120 | +<?=$oTranslator->_('Relatorio gerado pelo');?> | |
121 | +<strong>CACIC</strong> - Configurador Automático e Coletor de Informações Computacionais | |
122 | +</font><br> | |
123 | + <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> | |
124 | + Software desenvolvido pela Dataprev - Escritório do Espírito Santo | |
125 | + </font></p> | |
123 | 126 | </body> |
124 | 127 | </html> | ... | ... |