From 6a2763c64e0fa170f87a44ae1d20790d526be7ff Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Fri, 13 Oct 2017 17:48:39 -0300 Subject: [PATCH] Inclusão de utf8_encode na função que obtém os valores dos plugins i3Geo --- ferramentas/parametrossql/exec.php | 2 +- interface/openlayersdebug.htm | 2 +- temas/_llocaliphp.map | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ferramentas/parametrossql/exec.php b/ferramentas/parametrossql/exec.php index e4e6840..761eb57 100755 --- a/ferramentas/parametrossql/exec.php +++ b/ferramentas/parametrossql/exec.php @@ -70,7 +70,7 @@ switch (strtoupper($funcao)) $retorno = "erro"; } if($c != ""){ - $cs = json_decode($c,true); + $cs = json_decode(utf8_encode($c),true); $cs = $cs["parametros"]; $chaves = array(); foreach($cs as $c){ diff --git a/interface/openlayersdebug.htm b/interface/openlayersdebug.htm index 07c6981..d69cebb 100755 --- a/interface/openlayersdebug.htm +++ b/interface/openlayersdebug.htm @@ -612,7 +612,7 @@ //Cada layer corresponde ao nome do mapfile existente na pasta i3geo/temas sem a extensao '.map' layers : { //array com a lista dos layers que serao adicionados e ligados (visiveis) - add : [], + add : ["_llocaliphp"], //array com a lista dos layers que serao adicionados mas nao ligados on : [], //array com os layers desligados diff --git a/temas/_llocaliphp.map b/temas/_llocaliphp.map index 042ca56..bb5367e 100755 --- a/temas/_llocaliphp.map +++ b/temas/_llocaliphp.map @@ -7,7 +7,7 @@ MAP FILTER (([ANOCRIA] = subsano)) METADATA "METAESTAT_ID_MEDIDA_VARIAVEL" "" - "cache" "SIM" + "cache" "NAO" "LTEMPOITEMIMAGEM" "" "TIP" "TIPO,NOMELOC,ANOCRIA" "olopacity" "" -- libgit2 0.21.2