Commit 103b4faa503f5ac46bea9ae18decb9558adabd36

Authored by Edmar Moretti
1 parent 9c477e12

--no commit message

classesphp/funcoes_gerais.php
... ... @@ -685,6 +685,7 @@ Retorno:
685 685 */
686 686 function substituiCon($map_file,$postgis_mapa)
687 687 {
  688 + error_reporting(0);
688 689 if ((isset($postgis_mapa)) && (file_exists($map_file)))
689 690 {
690 691 if (($postgis_mapa != "") || ($postgis_mapa != " "))
... ...
ferramentas/cortina/index.js.php
... ... @@ -19,7 +19,7 @@ Licenca:
19 19  
20 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 24 Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil
25 25 Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br
... ...
ferramentas/graficointerativo/index.js.php
... ... @@ -21,7 +21,7 @@ Licenca:
21 21  
22 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 26 Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil
27 27 Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br
... ...
ferramentas/legenda/index.js.php
... ... @@ -470,18 +470,20 @@ i3GEOF.legenda = {
470 470 Modifica a cor de uma classe
471 471 */
472 472 modificaCor: function(id){
473   - if(!$i("tempCor")){
  473 + var obj = $i("tempCorLegenda");
  474 + if(!obj){
474 475 var obj = document.createElement("input");
475   - obj.id = "tempCor";
  476 + obj.id = "tempCorLegenda";
476 477 obj.style.display = "none";
477 478 obj.type = "text";
478 479 obj.value = "";
479 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 488 aplicaNovaCor: function(id){
487 489 if(i3GEOF.legenda.aguarde.visibility === "visible")
... ... @@ -494,7 +496,7 @@ i3GEOF.legenda = {
494 496 i3GEOF.legenda.aguarde.visibility = "hidden";
495 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 502 Function: mudaLegenda
... ...