Commit 5d10d31bc1e2a690e11ee94803d3a13bfce7d04a
Exists in
master
and in
3 other branches
Merge branch 'Correcao_Versao_302' into 'master'
Correcao versao 302 Correções de indicação errada de Classes e no Gerar PDF. Ainda é necessário dar uma limpeza nos códigos. See merge request !7
Showing
4 changed files
with
11 additions
and
9 deletions
Show diff stats
sei/web/modulos/pesquisa/PesquisaIntegracao.php
@@ -79,7 +79,7 @@ | @@ -79,7 +79,7 @@ | ||
79 | if(is_array($arrModulos) && array_key_exists('PesquisaIntegracao', $arrModulos)){ | 79 | if(is_array($arrModulos) && array_key_exists('PesquisaIntegracao', $arrModulos)){ |
80 | $caminho = $arrModulos['PesquisaIntegracao']; | 80 | $caminho = $arrModulos['PesquisaIntegracao']; |
81 | $arrMenu = array(); | 81 | $arrMenu = array(); |
82 | - $arrMenu[] = '-^'.ConfiguracaoSEI::getInstance()->getValor('SEI','URL').'/modulos/'.$caminho.'/md_pesq_processo_pesquisar.php?acao_externa=protocolo_pesquisar&acao_origem_externa=protocolo_pesquisar&id_orgao_acesso_externo=0^^Pesquisa Processual^_blank^'; | 82 | + $arrMenu[] = '-^'.ConfiguracaoSEI::getInstance()->getValor('SEI','URL').'/modulos/'.$caminho.'/md_pesq_processo_pesquisar.php?acao_externa=protocolo_pesquisar&acao_origem_externa=protocolo_pesquisar&id_orgao_acesso_externo=0^^Pesquisa Pública^_blank^'; |
83 | 83 | ||
84 | return $arrMenu; | 84 | return $arrMenu; |
85 | 85 |
sei/web/modulos/pesquisa/md_pesq_documento_consulta_externa.php
@@ -265,7 +265,7 @@ try { | @@ -265,7 +265,7 @@ try { | ||
265 | echo '</head>'; | 265 | echo '</head>'; |
266 | echo '<body>'; | 266 | echo '<body>'; |
267 | //echo DocumentoINT::formatarExibicaoConteudo(DocumentoINT::$TV_HTML, $objDocumentoDTO->getStrConteudo(), PaginaSEIExterna::getInstance(), SessaoSEIExterna::getInstance(), 'documento_consulta_externa.php?id_acesso_externo='.$_GET['id_acesso_externo'].'&id_documento='.$_GET['id_documento']); | 267 | //echo DocumentoINT::formatarExibicaoConteudo(DocumentoINT::$TV_HTML, $objDocumentoDTO->getStrConteudo(), PaginaSEIExterna::getInstance(), SessaoSEIExterna::getInstance(), 'documento_consulta_externa.php?id_acesso_externo='.$_GET['id_acesso_externo'].'&id_documento='.$_GET['id_documento']); |
268 | - echo DocumentoExternoINT::formatarExibicaoConteudo(DocumentoINT::$TV_HTML, $objDocumentoDTO->getStrConteudo(), PaginaSEIExterna::getInstance(), SessaoSEIExterna::getInstance(), ''); | 268 | + echo MdPesqDocumentoExternoINT::formatarExibicaoConteudo(DocumentoINT::$TV_HTML, $objDocumentoDTO->getStrConteudo(), PaginaSEIExterna::getInstance(), SessaoSEIExterna::getInstance(), ''); |
269 | echo '</body>'; | 269 | echo '</body>'; |
270 | echo '</html>'; | 270 | echo '</html>'; |
271 | } | 271 | } |
sei/web/modulos/pesquisa/md_pesq_processo_exibe_arquivo.php
@@ -10,6 +10,8 @@ | @@ -10,6 +10,8 @@ | ||
10 | */ | 10 | */ |
11 | try { | 11 | try { |
12 | require_once dirname(__FILE__).'/../../SEI.php'; | 12 | require_once dirname(__FILE__).'/../../SEI.php'; |
13 | + | ||
14 | + SessaoSEIExterna::getInstance()->validarSessao(); | ||
13 | 15 | ||
14 | //session_start(); | 16 | //session_start(); |
15 | 17 | ||
@@ -19,11 +21,11 @@ try { | @@ -19,11 +21,11 @@ try { | ||
19 | InfraDebug::getInstance()->limpar(); | 21 | InfraDebug::getInstance()->limpar(); |
20 | ////////////////////////////////////////////////////////////////////////////// | 22 | ////////////////////////////////////////////////////////////////////////////// |
21 | 23 | ||
22 | - if (isset($_GET['id_acesso_externo'])){ | ||
23 | - SessaoSEIExterna::getInstance($_GET['id_acesso_externo'])->validarLink(); | ||
24 | - }else{ | ||
25 | - SessaoSEIExterna::getInstance()->validarLink(); | ||
26 | - } | 24 | + // if (isset($_GET['id_acesso_externo'])){ |
25 | + // SessaoSEIExterna::getInstance($_GET['id_acesso_externo'])->validarLink(); | ||
26 | + // }else{ | ||
27 | + // SessaoSEIExterna::getInstance()->validarLink(); | ||
28 | + // } | ||
27 | 29 | ||
28 | switch($_GET['acao_externa']){ | 30 | switch($_GET['acao_externa']){ |
29 | 31 |
sei/web/modulos/pesquisa/md_pesq_processo_exibir.php
@@ -702,7 +702,7 @@ function inicializar(){ | @@ -702,7 +702,7 @@ function inicializar(){ | ||
702 | //window.open('<?=SessaoSEIExterna::getInstance()->assinarLink('processo_exibe_arquivo.php?id_acesso_externo='.$_GET['id_acesso_externo'].'&acao_externa=usuario_externo_exibir_arquivo&nome_arquivo='.$objAnexoDTO->getStrNome().'&nome_download=SEI-'.$objProcedimentoDTO->getStrProtocoloProcedimentoFormatado().'.pdf');?>'); | 702 | //window.open('<?=SessaoSEIExterna::getInstance()->assinarLink('processo_exibe_arquivo.php?id_acesso_externo='.$_GET['id_acesso_externo'].'&acao_externa=usuario_externo_exibir_arquivo&nome_arquivo='.$objAnexoDTO->getStrNome().'&nome_download=SEI-'.$objProcedimentoDTO->getStrProtocoloProcedimentoFormatado().'.pdf');?>'); |
703 | --> | 703 | --> |
704 | 704 | ||
705 | - window.open('<?=SessaoSEIExterna::getInstance()->assinarLink('processo_exibe_arquivo.php?acao_externa=usuario_externo_exibir_arquivo&acao_origem_externa=protocolo_pesquisar&id_orgao_acesso_externo=0&nome_arquivo='.$objAnexoDTO->getStrNome().'&nome_download=SEI-'.$objProcedimentoDTO->getStrProtocoloProcedimentoFormatado().'.pdf');?>'); | 705 | + window.open('<?=SessaoSEIExterna::getInstance()->assinarLink('md_pesq_processo_exibe_arquivo.php?acao_externa=usuario_externo_exibir_arquivo&acao_origem_externa=protocolo_pesquisar&id_orgao_acesso_externo=0&nome_arquivo='.$objAnexoDTO->getStrNome().'&nome_download=SEI-'.$objProcedimentoDTO->getStrProtocoloProcedimentoFormatado().'.pdf');?>'); |
706 | 706 | ||
707 | 707 | ||
708 | <?}?> | 708 | <?}?> |
@@ -826,7 +826,7 @@ if($bolGeracaoOK){ | @@ -826,7 +826,7 @@ if($bolGeracaoOK){ | ||
826 | <script> | 826 | <script> |
827 | if (navigator.userAgent.match(/msie/i) || navigator.userAgent.match(/trident/i) ){ | 827 | if (navigator.userAgent.match(/msie/i) || navigator.userAgent.match(/trident/i) ){ |
828 | 828 | ||
829 | - window.open('<?=SessaoSEIExterna::getInstance()->assinarLink('processo_exibe_arquivo.php?acao_externa=usuario_externo_exibir_arquivo&acao_origem_externa=protocolo_pesquisar&id_orgao_acesso_externo=0&nome_arquivo='.$objAnexoDTO->getStrNome().'&nome_download=SEI-'.$objProcedimentoDTO->getStrProtocoloProcedimentoFormatado().'.pdf');?>'); | 829 | + window.open('<?=SessaoSEIExterna::getInstance()->assinarLink('md_pesq_processo_exibe_arquivo.php?acao_externa=usuario_externo_exibir_arquivo&acao_origem_externa=protocolo_pesquisar&id_orgao_acesso_externo=0&nome_arquivo='.$objAnexoDTO->getStrNome().'&nome_download=SEI-'.$objProcedimentoDTO->getStrProtocoloProcedimentoFormatado().'.pdf');?>'); |
830 | <? | 830 | <? |
831 | if($bolCaptchaGerarPdf){ | 831 | if($bolCaptchaGerarPdf){ |
832 | ?> | 832 | ?> |