Commit 103b4faa503f5ac46bea9ae18decb9558adabd36
1 parent
9c477e12
Exists in
master
and in
7 other branches
--no commit message
Showing
4 changed files
with
12 additions
and
9 deletions
Show diff stats
classesphp/funcoes_gerais.php
@@ -685,6 +685,7 @@ Retorno: | @@ -685,6 +685,7 @@ Retorno: | ||
685 | */ | 685 | */ |
686 | function substituiCon($map_file,$postgis_mapa) | 686 | function substituiCon($map_file,$postgis_mapa) |
687 | { | 687 | { |
688 | + error_reporting(0); | ||
688 | if ((isset($postgis_mapa)) && (file_exists($map_file))) | 689 | if ((isset($postgis_mapa)) && (file_exists($map_file))) |
689 | { | 690 | { |
690 | if (($postgis_mapa != "") || ($postgis_mapa != " ")) | 691 | if (($postgis_mapa != "") || ($postgis_mapa != " ")) |
ferramentas/cortina/index.js.php
@@ -19,7 +19,7 @@ Licenca: | @@ -19,7 +19,7 @@ Licenca: | ||
19 | 19 | ||
20 | GPL2 | 20 | GPL2 |
21 | 21 | ||
22 | -I3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | 22 | +i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet |
23 | 23 | ||
24 | Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | 24 | Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil |
25 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br | 25 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br |
ferramentas/graficointerativo/index.js.php
@@ -21,7 +21,7 @@ Licenca: | @@ -21,7 +21,7 @@ Licenca: | ||
21 | 21 | ||
22 | GPL2 | 22 | GPL2 |
23 | 23 | ||
24 | -I3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | 24 | +i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet |
25 | 25 | ||
26 | Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | 26 | Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil |
27 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br | 27 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br |
ferramentas/legenda/index.js.php
@@ -470,18 +470,20 @@ i3GEOF.legenda = { | @@ -470,18 +470,20 @@ i3GEOF.legenda = { | ||
470 | Modifica a cor de uma classe | 470 | Modifica a cor de uma classe |
471 | */ | 471 | */ |
472 | modificaCor: function(id){ | 472 | modificaCor: function(id){ |
473 | - if(!$i("tempCor")){ | 473 | + var obj = $i("tempCorLegenda"); |
474 | + if(!obj){ | ||
474 | var obj = document.createElement("input"); | 475 | var obj = document.createElement("input"); |
475 | - obj.id = "tempCor"; | 476 | + obj.id = "tempCorLegenda"; |
476 | obj.style.display = "none"; | 477 | obj.style.display = "none"; |
477 | obj.type = "text"; | 478 | obj.type = "text"; |
478 | obj.value = ""; | 479 | obj.value = ""; |
479 | document.body.appendChild(obj); | 480 | document.body.appendChild(obj); |
481 | + obj.onchange = function(){ | ||
482 | + i3GEOF.legenda.aplicaNovaCor($i("tempCorLegenda").name); | ||
483 | + }; | ||
480 | } | 484 | } |
481 | - $i("tempCor").onChange = function(){ | ||
482 | - eval('i3GEOF.legenda.aplicaNovaCor("'+id+'");'); | ||
483 | - } | ||
484 | - i3GEO.util.abreCor("","tempCor"); | 485 | + obj.name = id; |
486 | + i3GEO.util.abreCor("","tempCorLegenda"); | ||
485 | }, | 487 | }, |
486 | aplicaNovaCor: function(id){ | 488 | aplicaNovaCor: function(id){ |
487 | if(i3GEOF.legenda.aguarde.visibility === "visible") | 489 | if(i3GEOF.legenda.aguarde.visibility === "visible") |
@@ -494,7 +496,7 @@ i3GEOF.legenda = { | @@ -494,7 +496,7 @@ i3GEOF.legenda = { | ||
494 | i3GEOF.legenda.aguarde.visibility = "hidden"; | 496 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
495 | i3GEOF.legenda.mostralegenda(); | 497 | i3GEOF.legenda.mostralegenda(); |
496 | }; | 498 | }; |
497 | - i3GEO.php.aplicaCorClasseTema(retorna,i3GEOF.legenda.tema,id,$i("tempCor").value); | 499 | + i3GEO.php.aplicaCorClasseTema(retorna,i3GEOF.legenda.tema,id,$i("tempCorLegenda").value); |
498 | }, | 500 | }, |
499 | /* | 501 | /* |
500 | Function: mudaLegenda | 502 | Function: mudaLegenda |