Commit a3e64d05260aeff24232f0d71fe4cf859aa3c404
1 parent
54903afe
Exists in
master
and in
7 other branches
--no commit message
Showing
102 changed files
with
611 additions
and
694 deletions
Show diff stats
Too many changes.
To preserve performance only 100 of 102 files displayed.
ferramentas/agrupaelementos/index.js
| ... | ... | @@ -233,7 +233,6 @@ i3GEOF.agrupaElementos = { |
| 233 | 233 | "i3GEOagrupaelementosselItem", |
| 234 | 234 | tema, |
| 235 | 235 | function(retorno){ |
| 236 | - var combo = retorno.dados; | |
| 237 | 236 | if(retorno.tipo === "erro"){ |
| 238 | 237 | $i("i3GEOagrupaelementosSelItens").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; |
| 239 | 238 | } | ... | ... |
ferramentas/analisageometrias/index.js
| ... | ... | @@ -476,7 +476,7 @@ i3GEOF.analisaGeometrias = { |
| 476 | 476 | */ |
| 477 | 477 | pegaGeometriasMarcadas:function(){ |
| 478 | 478 | var inputs = $i("i3GEOanalisageometriaslistadegeometrias").getElementsByTagName("input"), |
| 479 | - listai = [], | |
| 479 | + listai = [],i, | |
| 480 | 480 | n = inputs.length; |
| 481 | 481 | for (i=0;i<n; i++){ |
| 482 | 482 | if (inputs[i].checked === true) |
| ... | ... | @@ -542,13 +542,13 @@ i3GEOF.analisaGeometrias = { |
| 542 | 542 | else |
| 543 | 543 | {i3GEOF.analisaGeometrias.aguarde.visibility = "visible";} |
| 544 | 544 | |
| 545 | - lista = i3GEOF.analisaGeometrias.pegaGeometriasMarcadas() | |
| 545 | + lista = i3GEOF.analisaGeometrias.pegaGeometriasMarcadas(); | |
| 546 | 546 | if(lista == ""){ |
| 547 | 547 | alert("Nenhuma geometria foi marcada"); |
| 548 | 548 | i3GEOF.analisaGeometrias.aguarde.visibility = "hidden"; |
| 549 | 549 | return; |
| 550 | 550 | } |
| 551 | - p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=funcoesGeometrias&operacao="+obj.value+"&lista="+lista+"&recalcareaper="+$i("i3geoanalisageometriassemprecalcula").checked | |
| 551 | + p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=funcoesGeometrias&operacao="+obj.value+"&lista="+lista+"&recalcareaper="+$i("i3geoanalisageometriassemprecalcula").checked; | |
| 552 | 552 | |
| 553 | 553 | temp = function(){ |
| 554 | 554 | i3GEOF.analisaGeometrias.aguarde.visibility = "hidden"; | ... | ... |
ferramentas/animacao/index.js
| ... | ... | @@ -77,7 +77,6 @@ i3GEOF.animacao = { |
| 77 | 77 | html:function(){ |
| 78 | 78 | var camadas = i3GEO.arvoreDeCamadas.CAMADAS, |
| 79 | 79 | n = camadas.length, |
| 80 | - temp, | |
| 81 | 80 | ins = ""; |
| 82 | 81 | |
| 83 | 82 | ins += "" + |
| ... | ... | @@ -145,11 +144,7 @@ i3GEOF.animacao = { |
| 145 | 144 | dispara: function(){ |
| 146 | 145 | if(i3GEOF.animacao.aguarde.visibility === "visible") |
| 147 | 146 | {return;} |
| 148 | - var codigos = i3GEOF.animacao.obtemTemasAnima(), | |
| 149 | - n = codigos.length, | |
| 150 | - i, | |
| 151 | - t, | |
| 152 | - layer; | |
| 147 | + var codigos = i3GEOF.animacao.obtemTemasAnima(); | |
| 153 | 148 | i3GEOF.animacao.codigos = codigos; |
| 154 | 149 | i3GEOF.animacao.contador = 0; |
| 155 | 150 | i3GEOF.animacao.aguarde.visibility = "visible"; |
| ... | ... | @@ -247,8 +242,7 @@ i3GEOF.animacao = { |
| 247 | 242 | } |
| 248 | 243 | }, |
| 249 | 244 | retornaCoresInicial: function(){ |
| 250 | - var temp = [], | |
| 251 | - cs = $i("i3GEOFanimacaoLista").getElementsByTagName("input"), | |
| 245 | + var cs = $i("i3GEOFanimacaoLista").getElementsByTagName("input"), | |
| 252 | 246 | n = cs.length; |
| 253 | 247 | while(n > 0){ |
| 254 | 248 | n -= 1; | ... | ... |
ferramentas/aplicarsld/index.js
| ... | ... | @@ -94,7 +94,7 @@ i3GEOF.aplicarsld = { |
| 94 | 94 | Cria a janela flutuante para controle da ferramenta. |
| 95 | 95 | */ |
| 96 | 96 | criaJanelaFlutuante: function(){ |
| 97 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 97 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 98 | 98 | cabecalho = function(){}; |
| 99 | 99 | minimiza = function(){ |
| 100 | 100 | i3GEO.janela.minimiza("i3GEOF.aplicarsld"); | ... | ... |
ferramentas/aplicarsld/upload.php
| ... | ... | @@ -16,7 +16,7 @@ $postgis_mapa = $_SESSION["postgis_mapa"]; |
| 16 | 16 | <link rel="stylesheet" type="text/css" href="../../css/geral.css" /> |
| 17 | 17 | <title></title> |
| 18 | 18 | </head> |
| 19 | -<body name="ancora" bgcolor="white" style="background-color:white;text-align:left;"> | |
| 19 | +<body bgcolor="white" style="background-color:white;text-align:left;"> | |
| 20 | 20 | <p> |
| 21 | 21 | <?php |
| 22 | 22 | if (isset($_FILES['i3GEOaplicarsld']['name'])) | ... | ... |
ferramentas/baseguias/index.htm
ferramentas/buffer/index.js
| ... | ... | @@ -90,13 +90,10 @@ i3GEOF.buffer = { |
| 90 | 90 | Cria a janela flutuante para controle da ferramenta. |
| 91 | 91 | */ |
| 92 | 92 | criaJanelaFlutuante: function(){ |
| 93 | - var minimiza,cabecalho,janela,divid,temp,titulo,cabecalho,minimiza; | |
| 93 | + var janela,divid,temp,titulo; | |
| 94 | 94 | //cria a janela flutuante |
| 95 | 95 | titulo = "Entorno <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=24' > </a>"; |
| 96 | 96 | cabecalho = function(){}; |
| 97 | - minimiza = function(){ | |
| 98 | - i3GEO.janela.minimiza("i3GEOF.buffer"); | |
| 99 | - }; | |
| 100 | 97 | janela = i3GEO.janela.cria( |
| 101 | 98 | "400px", |
| 102 | 99 | "200px", |
| ... | ... | @@ -107,8 +104,10 @@ i3GEOF.buffer = { |
| 107 | 104 | "i3GEOF.buffer", |
| 108 | 105 | false, |
| 109 | 106 | "hd", |
| 110 | - cabecalho, | |
| 111 | - minimiza | |
| 107 | + function(){}, | |
| 108 | + function(){ | |
| 109 | + i3GEO.janela.minimiza("i3GEOF.buffer"); | |
| 110 | + } | |
| 112 | 111 | ); |
| 113 | 112 | divid = janela[2].id; |
| 114 | 113 | i3GEOF.buffer.aguarde = $i("i3GEOF.buffer_imagemCabecalho").style; | ... | ... |
ferramentas/bufferpt/index.js
| ... | ... | @@ -67,7 +67,6 @@ i3GEOF.bufferpt = { |
| 67 | 67 | iddiv {String} - id do div que receberá o conteudo HTML da ferramenta |
| 68 | 68 | */ |
| 69 | 69 | inicia: function(iddiv){ |
| 70 | - var box; | |
| 71 | 70 | try{ |
| 72 | 71 | $i(iddiv).innerHTML += i3GEOF.bufferpt.html(); |
| 73 | 72 | new YAHOO.widget.Button( |
| ... | ... | @@ -112,7 +111,7 @@ i3GEOF.bufferpt = { |
| 112 | 111 | y {dd} - coordenada y (latitude) |
| 113 | 112 | */ |
| 114 | 113 | criaJanelaFlutuante: function(x,y){ |
| 115 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 114 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 116 | 115 | if(x) |
| 117 | 116 | {i3GEOF.bufferpt.x = x;} |
| 118 | 117 | if(y) | ... | ... |
ferramentas/busca/index.js
| ... | ... | @@ -270,7 +270,7 @@ i3GEOF.busca = { |
| 270 | 270 | i, |
| 271 | 271 | er, |
| 272 | 272 | tr, |
| 273 | - tema | |
| 273 | + tema, | |
| 274 | 274 | posicaoleft = parseInt($i("i3GEOF.busca_c").style.left,10)+(i3GEOF.busca.nbuscas*10), |
| 275 | 275 | posicaotop = parseInt($i("i3GEOF.busca_c").style.top,10)+(i3GEOF.busca.nbuscas*10); |
| 276 | 276 | ... | ... |
ferramentas/buscafotos/index.js
| ... | ... | @@ -300,7 +300,7 @@ i3GEOF.buscaFotos = { |
| 300 | 300 | if (retorno.data===undefined ) |
| 301 | 301 | {$i("i3GEObuscafotosresultadofotos").innerHTML = "Erro. A operação demorou muito.";return;} |
| 302 | 302 | eval("var data = "+retorno.data); |
| 303 | - var ins,res,i,t,p; | |
| 303 | + var ins = "",res,i,t,p; | |
| 304 | 304 | if(!retorno.data) |
| 305 | 305 | {ins += "<br><span style=color:red>Problemas no acesso aos dados!</span><br><br>";return;} |
| 306 | 306 | res = data.count; |
| ... | ... | @@ -378,7 +378,7 @@ i3GEOF.buscaFotos = { |
| 378 | 378 | */ |
| 379 | 379 | listafotoslocr: function(retorno){ |
| 380 | 380 | i3GEOF.buscaFotos.aguarde.visibility = "hidden"; |
| 381 | - var ins, | |
| 381 | + var ins = "", | |
| 382 | 382 | res, |
| 383 | 383 | i, |
| 384 | 384 | t, | ... | ... |
ferramentas/buscainde/index.js
| ... | ... | @@ -84,7 +84,7 @@ i3GEOF.buscainde = { |
| 84 | 84 | Cria a janela flutuante para controle da ferramenta. |
| 85 | 85 | */ |
| 86 | 86 | criaJanelaFlutuante: function(){ |
| 87 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 87 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 88 | 88 | cabecalho = function(){}; |
| 89 | 89 | minimiza = function(){ |
| 90 | 90 | i3GEO.janela.minimiza("i3GEOF.buscainde"); | ... | ... |
ferramentas/buscarapida/gadget.php
| ... | ... | @@ -7,14 +7,14 @@ if(!isset($locaplic)) |
| 7 | 7 | ?> |
| 8 | 8 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 9 | 9 | <head> |
| 10 | - <link rel="stylesheet" type="text/css" href="../../css/ferramentas.css"> | |
| 11 | - <link rel="stylesheet" type="text/css" href="../../css/botoes.css"> | |
| 10 | + <link rel="stylesheet" type="text/css" href="../../css/ferramentas.css"></link> | |
| 11 | + <link rel="stylesheet" type="text/css" href="../../css/botoes.css"></link> | |
| 12 | 12 | <title></title> |
| 13 | 13 | </head> |
| 14 | - <body name="ancora" class="yui-skin-sam;" style="overflow:auto;"> | |
| 14 | + <body class="yui-skin-sam;" style="overflow:auto;"> | |
| 15 | 15 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultado" >Aguarde...</div> |
| 16 | 16 | <script src="../../classesjs/i3geo.js" type="text/javascript"></script> |
| 17 | - <script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 17 | + <script type="text/javascript" src="index.js"></script> | |
| 18 | 18 | |
| 19 | 19 | <script type="text/javascript"> |
| 20 | 20 | i3GEObuscaRapida.idresultado | ... | ... |
ferramentas/buscarapida/index.htm
| 1 | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 | 2 | <head> |
| 3 | - <link rel="stylesheet" type="text/css" href="../../css/ferramentas.css"> | |
| 4 | - <link rel="stylesheet" type="text/css" href="../../css/botoes.css"> | |
| 3 | + <link rel="stylesheet" type="text/css" href="../../css/ferramentas.css"></link> | |
| 4 | + <link rel="stylesheet" type="text/css" href="../../css/botoes.css"></link> | |
| 5 | 5 | <title></title> |
| 6 | 6 | </head> |
| 7 | -<body name="ancora" class="yui-skin-sam;" style="overflow:auto;"> | |
| 7 | +<body class="yui-skin-sam;" style="overflow:auto;"> | |
| 8 | 8 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultadoTemas" >Buscando no mapa...</div> |
| 9 | 9 | <div style="top:5px;left:1px;display:block;width:90%;" id="resultado" >Buscando fora...</div> |
| 10 | 10 | |
| 11 | 11 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 12 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 12 | +<script type="text/javascript" src="index.js"></script> | |
| 13 | 13 | <script type="text/javascript"> |
| 14 | 14 | try{ |
| 15 | 15 | var id = window.parent.i3GEO.gadgets.mostraBuscaRapida.id; | ... | ... |
ferramentas/buscarapida/index.js
| ... | ... | @@ -148,7 +148,7 @@ i3GEObuscaRapida = { |
| 148 | 148 | inicia: function(palavra,locaplic,resultado,servicosexternos,temasmapa){ |
| 149 | 149 | if($i(i3GEObuscaRapida.idresultado)) |
| 150 | 150 | {$i(i3GEObuscaRapida.idresultado).style.display = "none";} |
| 151 | - var palavra = i3GEO.util.removeAcentos(palavra); | |
| 151 | + palavra = i3GEO.util.removeAcentos(palavra); | |
| 152 | 152 | i3GEObuscaRapida.palavra = palavra; |
| 153 | 153 | i3GEObuscaRapida.locaplic = locaplic; |
| 154 | 154 | if(servicosexternos === true){ |
| ... | ... | @@ -164,7 +164,7 @@ i3GEObuscaRapida = { |
| 164 | 164 | alert("Nenhum tema configurado para busca"); |
| 165 | 165 | return; |
| 166 | 166 | } |
| 167 | - aguarde("block") | |
| 167 | + aguarde("block"); | |
| 168 | 168 | i3GEO.php.buscaRapida(i3GEObuscaRapida.montaResultadoTemas,locaplic,"temas",palavra); |
| 169 | 169 | } |
| 170 | 170 | catch(e){} |
| ... | ... | @@ -184,20 +184,20 @@ i3GEObuscaRapida = { |
| 184 | 184 | retorno {JSON} - resultado da função i3GEO.php.buscaRapida |
| 185 | 185 | */ |
| 186 | 186 | montaResultadoTemas: function(retorno){ |
| 187 | - var ins = "Nada encontrado nos temas ou nenhum tema permite busca.<br>"; | |
| 187 | + var i,ins = "Nada encontrado nos temas ou nenhum tema permite busca.<br>"; | |
| 188 | 188 | try{ |
| 189 | 189 | if(retorno.data && retorno.data.length > 0){ |
| 190 | 190 | ins = "<table >"; |
| 191 | 191 | for (i=0;i<retorno.data.length; i++){ |
| 192 | - ins += "<tr><td style='text-align:left'>" | |
| 192 | + ins += "<tr><td style='text-align:left'>"; | |
| 193 | 193 | ins += retorno.data[i].valor; |
| 194 | 194 | var ext = retorno.data[i].box; |
| 195 | - ins += "</td><td onclick='i3GEObuscaRapida.zoomExt(\""+ext+"\")' onmouseover=\"i3GEObuscaRapida.mostraxy('"+ext+"','extent')\" onmouseout='i3GEObuscaRapida.escondexy()' style='color:blue;cursor:pointer'><img title='localizar' src='../../imagens/branco.gif' class='tic' /></td></tr>" | |
| 195 | + ins += "</td><td onclick='i3GEObuscaRapida.zoomExt(\""+ext+"\")' onmouseover=\"i3GEObuscaRapida.mostraxy('"+ext+"','extent')\" onmouseout='i3GEObuscaRapida.escondexy()' style='color:blue;cursor:pointer'><img title='localizar' src='../../imagens/branco.gif' class='tic' /></td></tr>"; | |
| 196 | 196 | } |
| 197 | - ins += "</table>" | |
| 197 | + ins += "</table>"; | |
| 198 | 198 | } |
| 199 | 199 | } |
| 200 | - catch(e){var ins = "Nada encontrado nos temas ou nenhum tema permite busca.<br>";} | |
| 200 | + catch(e){ins = "Nada encontrado nos temas ou nenhum tema permite busca.<br>";} | |
| 201 | 201 | $i("resultadoTemas").style.display = "block"; |
| 202 | 202 | $i("resultadoTemas").innerHTML = ins; |
| 203 | 203 | try{aguarde("none");}catch(e){} |
| ... | ... | @@ -214,32 +214,33 @@ i3GEObuscaRapida = { |
| 214 | 214 | retorno {JSON} - resultado da função i3GEO.php.buscaRapida |
| 215 | 215 | */ |
| 216 | 216 | montaResultado: function(retorno){ |
| 217 | - var ins = "Nada encontrado em "+i3GEObuscaRapida.servicowms+"<br>"; | |
| 217 | + var i,j,layer, | |
| 218 | + ins = "Nada encontrado em "+i3GEObuscaRapida.servicowms+"<br>"; | |
| 218 | 219 | try{ |
| 219 | 220 | if(retorno.data){ |
| 220 | 221 | if (retorno.data.geonames){ |
| 221 | 222 | ins = ""; |
| 222 | 223 | for (i=0;i<retorno.data.geonames.length; i++){ |
| 223 | - if (i == 0){var ins = "<table >";} | |
| 224 | + if (i == 0) | |
| 225 | + {ins = "<table >";} | |
| 224 | 226 | ins += "<tr><td style='width:30%;text-align:left;background-color:rgb(220,220,220)' colspan=2 ><b>"+retorno.data.geonames[i].tema+"</b></td></tr>"; |
| 225 | - var layer = retorno.data.geonames[i].layer | |
| 227 | + layer = retorno.data.geonames[i].layer; | |
| 226 | 228 | for (j=0;j<retorno.data.geonames[i].lugares.length; j++){ |
| 227 | - ins += "<tr><td style='text-align:left'>" | |
| 228 | - var nm = retorno.data.geonames[i].lugares[j].nome; | |
| 229 | - ins += nm; | |
| 230 | - var wkt = retorno.data.geonames[i].lugares[j].limite | |
| 229 | + ins += "<tr><td style='text-align:left'>"; | |
| 230 | + ins += retorno.data.geonames[i].lugares[j].nome; | |
| 231 | + var wkt = retorno.data.geonames[i].lugares[j].limite; | |
| 231 | 232 | ins += " "+retorno.data.geonames[i].lugares[j].centroide; |
| 232 | - var gid = retorno.data.geonames[i].lugares[j].gid | |
| 233 | - ins += "</td><td onclick=\""+i3GEObuscaRapida.funcaozoom+"('"+wkt+"','"+layer+"','"+gid+"','"+nm+"')\" onmouseover=\"i3GEObuscaRapida.mostraxy('"+wkt+"','wkt')\" onmouseout='i3GEObuscaRapida.escondexy()' style='color:blue;cursor:pointer'><img title='localizar' src='../../imagens/branco.gif' class='tic' /></td></tr>" | |
| 233 | + var gid = retorno.data.geonames[i].lugares[j].gid; | |
| 234 | + ins += "</td><td onclick=\""+i3GEObuscaRapida.funcaozoom+"('"+wkt+"','"+layer+"','"+gid+"','"+nm+"')\" onmouseover=\"i3GEObuscaRapida.mostraxy('"+wkt+"','wkt')\" onmouseout='i3GEObuscaRapida.escondexy()' style='color:blue;cursor:pointer'><img title='localizar' src='../../imagens/branco.gif' class='tic' /></td></tr>"; | |
| 234 | 235 | } |
| 235 | 236 | } |
| 236 | 237 | } |
| 237 | - ins += "</table>" | |
| 238 | + ins += "</table>"; | |
| 238 | 239 | } |
| 239 | 240 | } |
| 240 | - catch(e){var ins = "Erro ao acessar o serviço "+i3GEObuscaRapida.servico+"<br>";} | |
| 241 | + catch(e){ins = "Erro ao acessar o serviço "+i3GEObuscaRapida.servico+"<br>";} | |
| 241 | 242 | $i(i3GEObuscaRapida.idresultado).style.display = "block"; |
| 242 | - $i(i3GEObuscaRapida.idresultado).innerHTML = ins | |
| 243 | + $i(i3GEObuscaRapida.idresultado).innerHTML = ins; | |
| 243 | 244 | try{aguarde("none");} |
| 244 | 245 | catch(e){} |
| 245 | 246 | if(i3GEObuscaRapida.buscaemtemas){ |
| ... | ... | @@ -260,8 +261,8 @@ i3GEObuscaRapida = { |
| 260 | 261 | retorno {Json} - resultado de |
| 261 | 262 | */ |
| 262 | 263 | resultadoTemas: function(retorno){ |
| 263 | - var retorno = retorno.data, | |
| 264 | - ins = ""; | |
| 264 | + var nomeTema,inp,tid,lk="",ig,sg,st,ins = ""; | |
| 265 | + retorno = retorno.data; | |
| 265 | 266 | if ((retorno != "erro") && (retorno != undefined) && retorno.length > 0){ |
| 266 | 267 | for (ig=0;ig<retorno.length;ig++){ |
| 267 | 268 | var ngSgrupo = retorno[ig].subgrupos; |
| ... | ... | @@ -269,17 +270,18 @@ i3GEObuscaRapida = { |
| 269 | 270 | var nomeSgrupo = ngSgrupo[sg].subgrupo; |
| 270 | 271 | var ngTema = ngSgrupo[sg].temas; |
| 271 | 272 | for (st=0;st<ngTema.length;st++){ |
| 273 | + lk = ""; | |
| 272 | 274 | if (ngTema[st].link != " ") |
| 273 | - {var lk = "<a href="+ngTema[st].link+" target=blank> fonte</a>";} | |
| 274 | - var tid = ngTema[st].tid; | |
| 275 | - var inp = "<input style='text-align:left;cursor:pointer;' onclick='i3GEObuscaRapida.adicionatema(this)' class=inputsb style='cursor:pointer' type=\"checkbox\" value='"+tid+"' /> ("+nomeSgrupo+")"; | |
| 276 | - var nomeTema = inp+(ngTema[st].nome)+lk+"<br>"; | |
| 275 | + {lk = "<a href="+ngTema[st].link+" target=blank> fonte</a>";} | |
| 276 | + tid = ngTema[st].tid; | |
| 277 | + inp = "<input style='text-align:left;cursor:pointer;' onclick='i3GEObuscaRapida.adicionatema(this)' class=inputsb style='cursor:pointer' type=\"checkbox\" value='"+tid+"' /> ("+nomeSgrupo+")"; | |
| 278 | + nomeTema = inp+(ngTema[st].nome)+lk+"<br>"; | |
| 277 | 279 | ins += nomeTema; |
| 278 | 280 | } |
| 279 | 281 | } |
| 280 | 282 | } |
| 281 | 283 | } |
| 282 | - if (ins != ""){ $i(i3GEObuscaRapida.idresultado).innerHTML += "<br><b>Temas:</b><br>"+ins} | |
| 284 | + if (ins != ""){ $i(i3GEObuscaRapida.idresultado).innerHTML += "<br><b>Temas:</b><br>"+ins;} | |
| 283 | 285 | }, |
| 284 | 286 | /* |
| 285 | 287 | Function: zoom |
| ... | ... | @@ -346,7 +348,7 @@ i3GEObuscaRapida = { |
| 346 | 348 | { |
| 347 | 349 | window.parent.i3GEO.janela.abreAguarde("i3GEO.atualiza","Aguarde..."); |
| 348 | 350 | var temp = function() |
| 349 | - {window.parent.i3GEO.atualiza("");} | |
| 351 | + {window.parent.i3GEO.atualiza("");}; | |
| 350 | 352 | i3GEO.php.adtema(temp,obj.value,i3GEObuscaRapida.locaplic,window.parent.i3GEO.configura.sid); |
| 351 | 353 | } |
| 352 | 354 | else |
| ... | ... | @@ -364,6 +366,7 @@ i3GEObuscaRapida = { |
| 364 | 366 | tipo {string} - wkt|extent |
| 365 | 367 | */ |
| 366 | 368 | mostraxy:function mostraxy(texto,tipo){ |
| 369 | + var ext; | |
| 367 | 370 | try{ |
| 368 | 371 | if(!window.parent){return;} |
| 369 | 372 | if(!window.parent.i3GEO){return;} |
| ... | ... | @@ -373,18 +376,18 @@ i3GEObuscaRapida = { |
| 373 | 376 | } |
| 374 | 377 | catch(e){if(typeof(console) !== 'undefined'){console.error(e);};return;} |
| 375 | 378 | if(tipo === "wkt") |
| 376 | - {var ext = i3GEO.util.wkt2ext(texto,"polygon");} | |
| 379 | + {ext = i3GEO.util.wkt2ext(texto,"polygon");} | |
| 377 | 380 | else |
| 378 | - {var ext = texto;} | |
| 381 | + {ext = texto;} | |
| 379 | 382 | if(ext == false){alert("texto invalido");return;} |
| 380 | - var ext = ext.split(" "); | |
| 383 | + ext = ext.split(" "); | |
| 381 | 384 | var xMin = ext[0]; |
| 382 | 385 | var xMax = ext[2]; |
| 383 | 386 | var yMin = ext[1]; |
| 384 | 387 | var yMax = ext[3]; |
| 385 | - var docmapa = window.parent.document.getElementById(window.parent.i3GEO.Interface.IDCORPO) | |
| 386 | - var xyMin = window.parent.i3GEO.calculo.dd2tela(xMin,yMin,docmapa,window.parent.i3GEO.parametros.mapexten,window.parent.i3GEO.parametros.pixelsize) | |
| 387 | - var xyMax = window.parent.i3GEO.calculo.dd2tela(xMax,yMax,docmapa,window.parent.i3GEO.parametros.mapexten,window.parent.i3GEO.parametros.pixelsize) | |
| 388 | + var docmapa = window.parent.document.getElementById(window.parent.i3GEO.Interface.IDCORPO); | |
| 389 | + var xyMin = window.parent.i3GEO.calculo.dd2tela(xMin,yMin,docmapa,window.parent.i3GEO.parametros.mapexten,window.parent.i3GEO.parametros.pixelsize); | |
| 390 | + var xyMax = window.parent.i3GEO.calculo.dd2tela(xMax,yMax,docmapa,window.parent.i3GEO.parametros.mapexten,window.parent.i3GEO.parametros.pixelsize); | |
| 388 | 391 | |
| 389 | 392 | window.parent.i3GEO.util.criaBox("boxg"); |
| 390 | 393 | var box = window.parent.$i("boxg"); |
| ... | ... | @@ -402,6 +405,6 @@ i3GEObuscaRapida = { |
| 402 | 405 | Esconde o box criado com mostraxy |
| 403 | 406 | */ |
| 404 | 407 | escondexy: function(){ |
| 405 | - window.parent.i3GEO.util.escondeBox() | |
| 408 | + window.parent.i3GEO.util.escondeBox(); | |
| 406 | 409 | } |
| 407 | -} | |
| 408 | 410 | \ No newline at end of file |
| 411 | +}; | |
| 409 | 412 | \ No newline at end of file | ... | ... |
ferramentas/carouseltemas/index.js
| ... | ... | @@ -148,7 +148,7 @@ i3GEOF.carouseltemas = { |
| 148 | 148 | Cria a janela flutuante para controle da ferramenta. |
| 149 | 149 | */ |
| 150 | 150 | criaJanelaFlutuante: function(){ |
| 151 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 151 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 152 | 152 | cabecalho = function(){}; |
| 153 | 153 | minimiza = function(){ |
| 154 | 154 | i3GEO.janela.minimiza("i3GEOF.carouseltemas"); | ... | ... |
ferramentas/carregakml/index.js
| ... | ... | @@ -106,7 +106,7 @@ i3GEOF.carregakml = { |
| 106 | 106 | Cria a janela flutuante para controle da ferramenta. |
| 107 | 107 | */ |
| 108 | 108 | criaJanelaFlutuante: function(){ |
| 109 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 109 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 110 | 110 | //cria a janela flutuante |
| 111 | 111 | cabecalho = function(){ |
| 112 | 112 | }; | ... | ... |
ferramentas/carregamapa/index.js
| ... | ... | @@ -96,7 +96,7 @@ i3GEOF.carregaMapa = { |
| 96 | 96 | Cria a janela flutuante para controle da ferramenta. |
| 97 | 97 | */ |
| 98 | 98 | criaJanelaFlutuante: function(){ |
| 99 | - var janela,divid,temp,titulo; | |
| 99 | + var janela,divid,titulo; | |
| 100 | 100 | titulo = "Carrega mapa <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=2&idajuda=11' > </a>"; |
| 101 | 101 | janela = i3GEO.janela.cria( |
| 102 | 102 | "340px", | ... | ... |
ferramentas/colorpicker/index.htm
| ... | ... | @@ -34,13 +34,13 @@ body { |
| 34 | 34 | <title></title> |
| 35 | 35 | </head> |
| 36 | 36 | |
| 37 | -<body name="ancora" class=" yui-skin-sam"> | |
| 37 | +<body class=" yui-skin-sam"> | |
| 38 | 38 | |
| 39 | 39 | <!--BEGIN SOURCE CODE FOR EXAMPLE =============================== --> |
| 40 | 40 | |
| 41 | 41 | <div id="container"> |
| 42 | 42 | </div> |
| 43 | -<button onclick="aplicarCor()" size="10" style="position:absolute;top:188px" >aplicar</button> | |
| 43 | +<button onclick="aplicarCor()" style="position:absolute;top:188px" >aplicar</button> | |
| 44 | 44 | <!--We'll use these to trigger interactions with the Color Picker |
| 45 | 45 | API --> |
| 46 | 46 | ... | ... |
ferramentas/conectargeojson/index.js
| ... | ... | @@ -108,7 +108,7 @@ i3GEOF.conectargeojson = { |
| 108 | 108 | Cria a janela flutuante para controle da ferramenta. |
| 109 | 109 | */ |
| 110 | 110 | criaJanelaFlutuante: function(){ |
| 111 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 111 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 112 | 112 | //cria a janela flutuante |
| 113 | 113 | cabecalho = function(){ |
| 114 | 114 | }; | ... | ... |
ferramentas/conectargeorss/index.js
| ... | ... | @@ -38,9 +38,9 @@ Free Software Foundation, Inc., no endereço |
| 38 | 38 | 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. |
| 39 | 39 | */ |
| 40 | 40 | |
| 41 | -parametrosURL() | |
| 42 | -ativaGuias("") | |
| 43 | -mostraGuia("guia1") | |
| 41 | +parametrosURL(); | |
| 42 | +ativaGuias(""); | |
| 43 | +mostraGuia("guia1"); | |
| 44 | 44 | //variaveis globais |
| 45 | 45 | g_tipo = ""; //tipo de tema |
| 46 | 46 | g_tema = ""; //tema selecionado do ws |
| ... | ... | @@ -49,10 +49,10 @@ g_nometema = ""; //nome do tema |
| 49 | 49 | |
| 50 | 50 | $i("guia1").onclick = function() |
| 51 | 51 | { |
| 52 | - mostraGuia("guia1") | |
| 52 | + mostraGuia("guia1"); | |
| 53 | 53 | $i("resultadoget").innerHTML = ""; |
| 54 | -} | |
| 55 | -$i("guia2").onclick = function(){clickGuia2();} | |
| 54 | +}; | |
| 55 | +$i("guia2").onclick = function(){clickGuia2();}; | |
| 56 | 56 | |
| 57 | 57 | /* |
| 58 | 58 | Function: clickGuia2 |
| ... | ... | @@ -65,14 +65,14 @@ Veja: |
| 65 | 65 | */ |
| 66 | 66 | function clickGuia2() |
| 67 | 67 | { |
| 68 | - mostraGuia("guia2") | |
| 68 | + mostraGuia("guia2"); | |
| 69 | 69 | $i("resultadoget").innerHTML = ""; |
| 70 | 70 | if ($i("servico").value == ""){alert("Serviço não definido");} |
| 71 | 71 | else |
| 72 | 72 | { |
| 73 | 73 | $i("guia2obj").style.display="block"; |
| 74 | - aguarde("block") | |
| 75 | - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=georssCanais&servico="+$i("servico").value | |
| 74 | + aguarde("block"); | |
| 75 | + var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=georssCanais&servico="+$i("servico").value; | |
| 76 | 76 | var cp = new cpaint(); |
| 77 | 77 | //cp.set_debug(2) |
| 78 | 78 | cp.set_response_type("JSON"); |
| ... | ... | @@ -83,10 +83,10 @@ function registraws(nome,id_ws) |
| 83 | 83 | { |
| 84 | 84 | $i("servico").value = nome; |
| 85 | 85 | if(arguments.length == 2) |
| 86 | - g_idws = id_ws | |
| 86 | + g_idws = id_ws; | |
| 87 | 87 | else |
| 88 | - g_idws = "" | |
| 89 | - clickGuia2() | |
| 88 | + g_idws = ""; | |
| 89 | + clickGuia2(); | |
| 90 | 90 | } |
| 91 | 91 | /* |
| 92 | 92 | Function: listaCanais |
| ... | ... | @@ -99,24 +99,24 @@ retorno {JSON} - retorno da função clickGuia2 |
| 99 | 99 | */ |
| 100 | 100 | function listaCanais(retorno) |
| 101 | 101 | { |
| 102 | - var ins = "Clique no botão 'mapa' para incluir os dados do canal desejado<br>" | |
| 102 | + var i,ins = "Clique no botão 'mapa' para incluir os dados do canal desejado<br>"; | |
| 103 | 103 | if (retorno.data != undefined) |
| 104 | 104 | { |
| 105 | - var retorno = retorno.data | |
| 105 | + retorno = retorno.data; | |
| 106 | 106 | for (i=0;i<retorno.length; i++) |
| 107 | 107 | { |
| 108 | - ins += "<p style=cursor:pointer onclick=adicionatema('"+i+"') ><input type=radio name=cn value=mapa > <b>"+retorno[i].title+ "</b></p>" | |
| 109 | - ins += "<br><a href="+retorno[i].link+" target=blank >"+retorno[i].link+"</a>" | |
| 110 | - ins += "<br><i>Descrição:</i> "+retorno[i].description | |
| 111 | - ins += "<br><i>Categoria: </i>"+retorno[i].category | |
| 108 | + ins += "<p style=cursor:pointer onclick=adicionatema('"+i+"') ><input type=radio name=cn value=mapa > <b>"+retorno[i].title+ "</b></p>"; | |
| 109 | + ins += "<br><a href="+retorno[i].link+" target=blank >"+retorno[i].link+"</a>"; | |
| 110 | + ins += "<br><i>Descrição:</i> "+retorno[i].description; | |
| 111 | + ins += "<br><i>Categoria: </i>"+retorno[i].category; | |
| 112 | 112 | } |
| 113 | - $i("resultadoget").innerHTML = ins | |
| 113 | + $i("resultadoget").innerHTML = ins; | |
| 114 | 114 | } |
| 115 | 115 | else |
| 116 | 116 | { |
| 117 | - $i("resultadoget").innerHTML = "<p style=color:red >Ocorreu um erro<br>" | |
| 117 | + $i("resultadoget").innerHTML = "<p style=color:red >Ocorreu um erro<br>"; | |
| 118 | 118 | } |
| 119 | - aguarde("none") | |
| 119 | + aguarde("none"); | |
| 120 | 120 | } |
| 121 | 121 | /* |
| 122 | 122 | Function: adicionatema |
| ... | ... | @@ -133,13 +133,13 @@ id {string} - id do canal (conforme a ordem que aparece no RSS |
| 133 | 133 | */ |
| 134 | 134 | function adicionatema(id) |
| 135 | 135 | { |
| 136 | - aguarde("block") | |
| 136 | + aguarde("block"); | |
| 137 | 137 | var redesenha = function() |
| 138 | 138 | { |
| 139 | - aguarde("none") | |
| 140 | - window.parent.i3GEO.atualiza() | |
| 141 | - } | |
| 142 | - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=adicionaTemaGeoRSS&canal="+id+"&servico="+$i("servico").value | |
| 139 | + aguarde("none"); | |
| 140 | + window.parent.i3GEO.atualiza(); | |
| 141 | + }; | |
| 142 | + var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=adicionaTemaGeoRSS&canal="+id+"&servico="+$i("servico").value; | |
| 143 | 143 | var cp = new cpaint(); |
| 144 | 144 | //cp.set_debug(2) |
| 145 | 145 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/conectarwms/index.js
| ... | ... | @@ -37,22 +37,22 @@ Free Software Foundation, Inc., no endereço |
| 37 | 37 | 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. |
| 38 | 38 | */ |
| 39 | 39 | |
| 40 | -parametrosURL() | |
| 40 | +parametrosURL(); | |
| 41 | 41 | //variaveis globais |
| 42 | 42 | g_tipo = ""; //tipo de tema |
| 43 | 43 | g_tema = ""; //tema selecionado do ws |
| 44 | 44 | g_legenda = ""; //legenda do tema |
| 45 | 45 | g_nometema = ""; //nome do tema |
| 46 | -g_idws = "" | |
| 47 | -ativaGuias("") | |
| 48 | -mostraGuia("guia1") | |
| 46 | +g_idws = ""; | |
| 47 | +ativaGuias(""); | |
| 48 | +mostraGuia("guia1"); | |
| 49 | 49 | $i("guia1").onclick = function() |
| 50 | 50 | { |
| 51 | - mostraGuia("guia1") | |
| 51 | + mostraGuia("guia1"); | |
| 52 | 52 | $i("resultadoget").innerHTML = ""; |
| 53 | -} | |
| 54 | -$i("guia2").onclick = function(){clickGuia2();} | |
| 55 | -$i("guia3").onclick = function(){clickGuia3();} | |
| 53 | +}; | |
| 54 | +$i("guia2").onclick = function(){clickGuia2();}; | |
| 55 | +$i("guia3").onclick = function(){clickGuia3();}; | |
| 56 | 56 | |
| 57 | 57 | /* |
| 58 | 58 | Function: listaRSS |
| ... | ... | @@ -73,28 +73,28 @@ onde {Stribg} - id do elemento HTML que receberá a lista de endereços formatada |
| 73 | 73 | function listaRSS(g_RSS,onde) |
| 74 | 74 | { |
| 75 | 75 | var mostraRetornoRSS = function(retorno){ |
| 76 | - aguarde("none") | |
| 76 | + aguarde("none"); | |
| 77 | 77 | var reg = /Erro/gi; |
| 78 | 78 | if (retorno.data.rss.search(reg) != -1) |
| 79 | 79 | { |
| 80 | 80 | alert("OOps! Ocorreu um erro\n"+retorno.data); |
| 81 | 81 | return; |
| 82 | 82 | } |
| 83 | - var canais = retorno.data.canais | |
| 84 | - var ncanais = canais.length | |
| 85 | - var ins = "<br>"+retorno.data.rss | |
| 86 | - for (i=0;i<ncanais; i++) | |
| 83 | + var canais = retorno.data.canais; | |
| 84 | + var ncanais = canais.length; | |
| 85 | + var ins = "<br>"+retorno.data.rss; | |
| 86 | + for (var i=0;i<ncanais; i++) | |
| 87 | 87 | { |
| 88 | - var caso = canais[i] | |
| 89 | - ins += "\<p class=clique onclick=\"registraws('"+caso.link+"','"+caso.id_ws+"')\" \>\<b\>"+caso.title+"\<\/b\> "+caso.description+" ("+caso.author+")" | |
| 88 | + var caso = canais[i]; | |
| 89 | + ins += "\<p class=clique onclick=\"registraws('"+caso.link+"','"+caso.id_ws+"')\" \>\<b\>"+caso.title+"\<\/b\> "+caso.description+" ("+caso.author+")"; | |
| 90 | 90 | if(caso.nacessos > 0) |
| 91 | 91 | { |
| 92 | - var pc = (parseInt(caso.nacessosok) * 100) / parseInt(caso.nacessos) | |
| 92 | + var pc = (parseInt(caso.nacessosok) * 100) / parseInt(caso.nacessos); | |
| 93 | 93 | ins += " \<span style=color:gray \>(disponibilidade: "+pc+"%, acessos considerados: "+caso.nacessos+")\<\/span>\<\/p\>"; |
| 94 | 94 | } |
| 95 | 95 | } |
| 96 | - document.getElementById(onde).innerHTML = ins+"<br><br>" | |
| 97 | - } | |
| 96 | + document.getElementById(onde).innerHTML = ins+"<br><br>"; | |
| 97 | + }; | |
| 98 | 98 | if (document.getElementById(onde)) |
| 99 | 99 | { |
| 100 | 100 | if (g_RSS.length > 0) |
| ... | ... | @@ -116,7 +116,7 @@ function getcapabilities() |
| 116 | 116 | { |
| 117 | 117 | if ($i("servico").value == ""){alert("Serviço não definido");} |
| 118 | 118 | else |
| 119 | - {window.open($i("servico").value+"&service=wms&request=getcapabilities&version=1.1.1")} | |
| 119 | + {window.open($i("servico").value+"&service=wms&request=getcapabilities&version=1.1.1");} | |
| 120 | 120 | } |
| 121 | 121 | /* |
| 122 | 122 | Function: clickGuia2 |
| ... | ... | @@ -129,7 +129,7 @@ Veja: |
| 129 | 129 | */ |
| 130 | 130 | function clickGuia2() |
| 131 | 131 | { |
| 132 | - mostraGuia("guia2") | |
| 132 | + mostraGuia("guia2"); | |
| 133 | 133 | if ($i("servico").value == ""){alert("Serviço não definido");} |
| 134 | 134 | else |
| 135 | 135 | { |
| ... | ... | @@ -141,13 +141,13 @@ function clickGuia2() |
| 141 | 141 | } |
| 142 | 142 | else |
| 143 | 143 | { |
| 144 | - aguarde("none") | |
| 145 | - $i("resultadoget").innerHTML = "<p style=color:red >Ocorreu um erro<br>" | |
| 144 | + aguarde("none"); | |
| 145 | + $i("resultadoget").innerHTML = "<p style=color:red >Ocorreu um erro<br>"; | |
| 146 | 146 | } |
| 147 | 147 | }; |
| 148 | 148 | $i("guia2obj").style.display="block"; |
| 149 | - aguarde("block") | |
| 150 | - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=getcapabilities2&servico="+$i("servico").value | |
| 149 | + aguarde("block"); | |
| 150 | + var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=getcapabilities2&servico="+$i("servico").value; | |
| 151 | 151 | var cp = new cpaint(); |
| 152 | 152 | //cp.set_debug(2) |
| 153 | 153 | cp.set_response_type("JSON"); |
| ... | ... | @@ -190,14 +190,14 @@ function clickGuia3() |
| 190 | 190 | } |
| 191 | 191 | else |
| 192 | 192 | {$i("listatemas").innerHTML = "erro";} |
| 193 | - } | |
| 194 | - mostraGuia("guia3") | |
| 193 | + }; | |
| 194 | + mostraGuia("guia3"); | |
| 195 | 195 | if ($i("servico").value == ""){alert("Serviço não definido");} |
| 196 | 196 | else |
| 197 | 197 | { |
| 198 | 198 | $i("listatemas").innerHTML = ""; |
| 199 | - aguarde("block") | |
| 200 | - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=temaswms&id_ws="+g_idws+"&servico="+$i("servico").value | |
| 199 | + aguarde("block"); | |
| 200 | + var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=temaswms&id_ws="+g_idws+"&servico="+$i("servico").value; | |
| 201 | 201 | var cp = new cpaint(); |
| 202 | 202 | //cp.set_debug(2) |
| 203 | 203 | cp.set_response_type("JSON"); |
| ... | ... | @@ -223,10 +223,10 @@ function registraws(nome,id_ws) |
| 223 | 223 | g_legenda = ""; //legenda do tema |
| 224 | 224 | g_nometema = ""; //nome do tema |
| 225 | 225 | if(arguments.length == 2) |
| 226 | - g_idws = id_ws | |
| 226 | + g_idws = id_ws; | |
| 227 | 227 | else |
| 228 | - g_idws = "" | |
| 229 | - clickGuia3() | |
| 228 | + g_idws = ""; | |
| 229 | + clickGuia3(); | |
| 230 | 230 | } |
| 231 | 231 | /* |
| 232 | 232 | Function: seltema |
| ... | ... | @@ -254,11 +254,11 @@ function seltema(tipo,tema,legenda,nometema,nomecamada,sldflag) |
| 254 | 254 | if(retorno.data != "ok") |
| 255 | 255 | {alert("Ooops! Problemas ao acessar o serviço.");aguarde("none");} |
| 256 | 256 | else |
| 257 | - {window.parent.i3GEO.atualiza()} | |
| 258 | - } | |
| 257 | + {window.parent.i3GEO.atualiza();} | |
| 258 | + }; | |
| 259 | 259 | aguarde("block"); |
| 260 | - var tiporep = $i("tiporep").value | |
| 261 | - var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=adicionatemawms&servico="+$i("servico").value+"&tema="+g_tema+"&nome="+g_nometema+"&proj="+$i("proj").value+"&formato="+$i("formatos").value+"&tipo="+g_tipo+"&versao="+$i("versao").value+"&nomecamada="+g_nomecamada+"&tiporep="+tiporep+"&suportasld="+g_sld+"&formatosinfo="+$i("formatosinfo").value | |
| 260 | + var tiporep = $i("tiporep").value; | |
| 261 | + var p = g_locaplic+"/classesphp/mapa_controle.php?g_sid="+g_sid+"&funcao=adicionatemawms&servico="+$i("servico").value+"&tema="+g_tema+"&nome="+g_nometema+"&proj="+$i("proj").value+"&formato="+$i("formatos").value+"&tipo="+g_tipo+"&versao="+$i("versao").value+"&nomecamada="+g_nomecamada+"&tiporep="+tiporep+"&suportasld="+g_sld+"&formatosinfo="+$i("formatosinfo").value; | |
| 262 | 262 | var cp = new cpaint(); |
| 263 | 263 | //cp.set_debug(2) |
| 264 | 264 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/confluence/index.js
| ... | ... | @@ -187,7 +187,7 @@ i3GEOF.confluence = { |
| 187 | 187 | if(i3GEOF.confluence.aguarde.visibility === "visible") |
| 188 | 188 | {return;} |
| 189 | 189 | i3GEOF.confluence.aguarde.visibility = "visible"; |
| 190 | - var ins,res,i,j,t,p,ext,xini,yini,xfim,yfim,xs,dx,ys; | |
| 190 | + var ins = "",i,j,ext,xini,yini,xfim,yfim,xs,dx,ys = []; | |
| 191 | 191 | if(i3GEO.parametros.mapexten) |
| 192 | 192 | {ext = i3GEO.parametros.mapexten;} |
| 193 | 193 | else |
| ... | ... | @@ -201,9 +201,9 @@ i3GEOF.confluence = { |
| 201 | 201 | dx = xfim - xini; |
| 202 | 202 | if ((dx > 1) || (dx < -1)){ |
| 203 | 203 | for (i=xini;i<xfim;i++){ |
| 204 | - xs.push(i) | |
| 204 | + xs.push(i); | |
| 205 | 205 | } |
| 206 | - var ys = []; | |
| 206 | + ys = []; | |
| 207 | 207 | for (i=yini;i<yfim;i++){ |
| 208 | 208 | ys.push(i); |
| 209 | 209 | } | ... | ... |
ferramentas/convertekml/index.js
| ... | ... | @@ -83,7 +83,7 @@ i3GEOF.converteKml = { |
| 83 | 83 | tipo {String} - kml|kmz "kml" gera um link para acesso a um WMS e "kmz" gera um link que permite o acesso a um WMS e ao arquivo kmz vetorial |
| 84 | 84 | */ |
| 85 | 85 | criaJanelaFlutuante: function(tema,tipo){ |
| 86 | - var janela,divid,temp,titulo; | |
| 86 | + var janela,divid,titulo; | |
| 87 | 87 | cabecalho = function(){}; |
| 88 | 88 | minimiza = function(){ |
| 89 | 89 | i3GEO.janela.minimiza("i3GEOF.converteKml"); | ... | ... |
ferramentas/convertemapakml/index.js
| ... | ... | @@ -54,10 +54,10 @@ i3GEOF.converteMapaKml = { |
| 54 | 54 | |
| 55 | 55 | */ |
| 56 | 56 | html:function(divid){ |
| 57 | - var ins,lista,tema; | |
| 57 | + var ins = "",lista,tema; | |
| 58 | 58 | lista = i3GEO.arvoreDeCamadas.CAMADAS; |
| 59 | 59 | tema = lista[0].name; |
| 60 | - var ins = '<p class="paragrafo" >Você pode utilizar os endereços para visualizar o mapa atual em softwares que aceitam o formato kml,' + | |
| 60 | + ins = '<p class="paragrafo" >Você pode utilizar os endereços para visualizar o mapa atual em softwares que aceitam o formato kml,' + | |
| 61 | 61 | 'como o <a href="http://earth.google.com/intl/pt/" target="_blank" > Google Earth</a>. O endereço de acesso é temporário, ficando disponível por determinado período de tempo conforme definido pelo administrador do i3Geo.' + |
| 62 | 62 | '<p class="paragrafo" >Clique <a href="'+i3GEO.configura.locaplic+'/documentacao/ajuda/googleearth.htm" target="blank" >aqui</a> para mais detalhes sobre como usar o link kml no Google Earth.' + |
| 63 | 63 | '<p class="paragrafo" ><b>Kml baseado em um servico WMS: </b></p>' + |
| ... | ... | @@ -73,7 +73,7 @@ i3GEOF.converteMapaKml = { |
| 73 | 73 | Cria a janela flutuante para controle da ferramenta. |
| 74 | 74 | */ |
| 75 | 75 | criaJanelaFlutuante: function(){ |
| 76 | - var janela,divid,temp,titulo; | |
| 76 | + var janela,divid,titulo; | |
| 77 | 77 | cabecalho = function(){}; |
| 78 | 78 | minimiza = function(){ |
| 79 | 79 | i3GEO.janela.minimiza("i3GEOF.converteMapaKml"); | ... | ... |
ferramentas/cores.htm
ferramentas/cortina/index.js
| ... | ... | @@ -155,7 +155,7 @@ i3GEOF.cortina = { |
| 155 | 155 | $i("i3GEOF.cortina_corpo").style.textAlign = "left"; |
| 156 | 156 | i3GEOF.cortina.aguarde = $i("i3GEOF.cortina_imagemCabecalho").style; |
| 157 | 157 | temp = function(){ |
| 158 | - var layer,estilo; | |
| 158 | + var layer = null,estilo; | |
| 159 | 159 | if(i3GEO.Interface.ATUAL === "openlayers"){ |
| 160 | 160 | layer = i3geoOL.getLayersByName(i3GEO.temaAtivo)[0]; |
| 161 | 161 | if(layer) |
| ... | ... | @@ -217,7 +217,7 @@ i3GEOF.cortina = { |
| 217 | 217 | Zera a barra do slide |
| 218 | 218 | */ |
| 219 | 219 | reiniciaSlide: function(){ |
| 220 | - var divlayer,layer; | |
| 220 | + var layer; | |
| 221 | 221 | i3GEOF.cortina.slider.setValue(0,false); |
| 222 | 222 | if(i3GEO.Interface.ATUAL === "openlayers"){ |
| 223 | 223 | layer = i3geoOL.getLayersByName(i3GEOF.cortina.tema)[0]; | ... | ... |
ferramentas/download/index.js
| ... | ... | @@ -64,7 +64,7 @@ i3GEOF.download = { |
| 64 | 64 | $i(divid).innerHTML += ins; |
| 65 | 65 | mostraDownload = function(retorno){ |
| 66 | 66 | var ins = "", |
| 67 | - retorno,arqs,n,arq; | |
| 67 | + arqs,n,arq; | |
| 68 | 68 | if (retorno.data != undefined){ |
| 69 | 69 | retorno = retorno.data; |
| 70 | 70 | arqs = retorno.arquivos.split(","); |
| ... | ... | @@ -83,7 +83,7 @@ i3GEOF.download = { |
| 83 | 83 | {ins = "<p style=color:red >Ocorreu um erro<br>";} |
| 84 | 84 | $i("i3GEOdownloadResultado").innerHTML = ins; |
| 85 | 85 | i3GEOF.download.aguarde.visibility = "hidden"; |
| 86 | - } | |
| 86 | + }; | |
| 87 | 87 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=download2&tema="+tema; |
| 88 | 88 | cp = new cpaint(); |
| 89 | 89 | cp.set_response_type("JSON"); |
| ... | ... | @@ -99,7 +99,7 @@ i3GEOF.download = { |
| 99 | 99 | tema {String} - código do tema |
| 100 | 100 | */ |
| 101 | 101 | criaJanelaFlutuante: function(tema){ |
| 102 | - var janela,divid,temp,titulo; | |
| 102 | + var janela,divid,titulo; | |
| 103 | 103 | if(arguments.length == 0) |
| 104 | 104 | {tema = i3GEO.temaAtivo;} |
| 105 | 105 | cabecalho = function(){}; | ... | ... |
ferramentas/editorsql/index.js
| ... | ... | @@ -117,7 +117,7 @@ i3GEOF.editorsql = { |
| 117 | 117 | Cria a janela flutuante para controle da ferramenta. |
| 118 | 118 | */ |
| 119 | 119 | criaJanelaFlutuante: function(){ |
| 120 | - var janela,divid,temp,titulo; | |
| 120 | + var janela,divid,titulo; | |
| 121 | 121 | //cria a janela flutuante |
| 122 | 122 | titulo = "Altera SQL <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=5&idajuda=86' > </a>"; |
| 123 | 123 | janela = i3GEO.janela.cria( | ... | ... |
ferramentas/especies/pesquisa.htm
| ... | ... | @@ -84,8 +84,8 @@ height: 35px; |
| 84 | 84 | </style> |
| 85 | 85 | <title></title> |
| 86 | 86 | </head> |
| 87 | -<body name="ancora" class="yui-skin-sam"> | |
| 88 | -<FONT face=Arial color=#808000 size=4>Busca espécies - NatureServer</FONT><br> | |
| 87 | +<body class="yui-skin-sam"> | |
| 88 | +<FONT face=Arial color=#808000 size=4>Busca esp�cies - NatureServer</FONT><br> | |
| 89 | 89 | <FONT face=Arial color=#808000 size=2> |
| 90 | 90 | Banco de dados NatureServer . <a href="http://www.natureserve.org/infonatura/" target=blank >Mais info...</a> |
| 91 | 91 | </FONT> |
| ... | ... | @@ -97,12 +97,12 @@ Banco de dados NatureServer . <a href="http://www.natureserve.org/infonatura/" t |
| 97 | 97 | </div> |
| 98 | 98 | </DIV> |
| 99 | 99 | <DIV id=valores > |
| 100 | - <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Escolha a família:</FONT> | |
| 100 | + <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Escolha a fam�lia:</FONT> | |
| 101 | 101 | <div id=valoresFiltro > |
| 102 | 102 | </div> |
| 103 | 103 | </DIV> |
| 104 | 104 | <DIV id=especies > |
| 105 | - <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Escolha a espécie:</FONT> | |
| 105 | + <FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Escolha a esp�cie:</FONT> | |
| 106 | 106 | <div id=valoresEspecie > |
| 107 | 107 | </div> |
| 108 | 108 | </DIV> |
| ... | ... | @@ -119,12 +119,12 @@ Banco de dados NatureServer . <a href="http://www.natureserve.org/infonatura/" t |
| 119 | 119 | </form> |
| 120 | 120 | <DIV id=ResultadoPesquisa ></DIV> |
| 121 | 121 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 122 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 122 | +<script type="text/javascript" src="index.js"></script> | |
| 123 | 123 | <script type="text/javascript" > |
| 124 | 124 | /* |
| 125 | -Title: Espécies (JavaScript) | |
| 125 | +Title: Esp�cies (JavaScript) | |
| 126 | 126 | |
| 127 | -Monta a janela de consulta aos dados de espécies permitindo localizar as áreas de ocorrência | |
| 127 | +Monta a janela de consulta aos dados de esp�cies permitindo localizar as �reas de ocorr�ncia | |
| 128 | 128 | |
| 129 | 129 | |
| 130 | 130 | Arquivos: |
| ... | ... | @@ -138,20 +138,20 @@ GPL2 |
| 138 | 138 | |
| 139 | 139 | I3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet |
| 140 | 140 | |
| 141 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | |
| 141 | +Direitos Autorais Reservados (c) 2006 Minist�rio do Meio Ambiente Brasil | |
| 142 | 142 | Desenvolvedor: Edmar Moretti edmar.moretti@mma.gov.br |
| 143 | 143 | |
| 144 | -Este programa é software livre; você pode redistribuí-lo | |
| 145 | -e/ou modificá-lo sob os termos da Licença Pública Geral | |
| 144 | +Este programa � software livre; voc� pode redistribu�-lo | |
| 145 | +e/ou modific�-lo sob os termos da Licen�a P�blica Geral | |
| 146 | 146 | GNU conforme publicada pela Free Software Foundation; |
| 147 | 147 | |
| 148 | -Este programa é distribuído na expectativa de que seja útil, | |
| 149 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | |
| 150 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | |
| 151 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | |
| 152 | -Você deve ter recebido uma cópia da Licença Pública Geral do | |
| 153 | -GNU junto com este programa; se não, escreva para a | |
| 154 | -Free Software Foundation, Inc., no endereço | |
| 148 | +Este programa � distribu�do na expectativa de que seja �til, | |
| 149 | +por�m, SEM NENHUMA GARANTIA; nem mesmo a garantia impl�cita | |
| 150 | +de COMERCIABILIDADE OU ADEQUA��O A UMA FINALIDADE ESPEC�FICA. | |
| 151 | +Consulte a Licen�a P�blica Geral do GNU para mais detalhes. | |
| 152 | +Voc� deve ter recebido uma c�pia da Licen�a P�blica Geral do | |
| 153 | +GNU junto com este programa; se n�o, escreva para a | |
| 154 | +Free Software Foundation, Inc., no endere�o | |
| 155 | 155 | 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. |
| 156 | 156 | |
| 157 | 157 | */ |
| ... | ... | @@ -248,7 +248,7 @@ function comboListaEspecies(familia) |
| 248 | 248 | /* |
| 249 | 249 | Function: executa |
| 250 | 250 | |
| 251 | -Chama a função Ajax para realizar a consulta e adicionar a nova camada ao mapa atual. | |
| 251 | +Chama a fun��o Ajax para realizar a consulta e adicionar a nova camada ao mapa atual. | |
| 252 | 252 | */ |
| 253 | 253 | function executa() |
| 254 | 254 | { |
| ... | ... | @@ -280,7 +280,7 @@ function executa() |
| 280 | 280 | /* |
| 281 | 281 | Function: listaretornof |
| 282 | 282 | |
| 283 | -Recebe os dados da função "executa" e redesenha o mapa atual. | |
| 283 | +Recebe os dados da fun��o "executa" e redesenha o mapa atual. | |
| 284 | 284 | */ |
| 285 | 285 | function listaretornof(retorno) |
| 286 | 286 | { | ... | ... |
ferramentas/etiqueta/index.js
| ... | ... | @@ -102,7 +102,7 @@ i3GEOF.etiqueta = { |
| 102 | 102 | Cria a janela flutuante para controle da ferramenta. |
| 103 | 103 | */ |
| 104 | 104 | criaJanelaFlutuante: function(){ |
| 105 | - var minimiza,cabecalho,janela,divid,temp,titulo,cabecalho,minimiza; | |
| 105 | + var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 106 | 106 | if($i("i3GEOF.etiqueta")){ |
| 107 | 107 | i3GEOF.etiqueta.inicia("i3GEOF.etiqueta_corpo"); |
| 108 | 108 | return; |
| ... | ... | @@ -155,9 +155,11 @@ i3GEOF.etiqueta = { |
| 155 | 155 | Monta a lista de itens que poderão ser escolhidos para compor o mapa. |
| 156 | 156 | |
| 157 | 157 | A lista é inserida no elemento html com id "i3GEOetiquetalistai" |
| 158 | + | |
| 159 | + @TODO verificar quando um item ja esta na lista e marca-lo no checkbox | |
| 158 | 160 | */ |
| 159 | 161 | montaListaItens: function(retorno){ |
| 160 | - var ins,i,n,itensatuais,item,checado; | |
| 162 | + var ins,i,n,itensatuais,item; | |
| 161 | 163 | try{ |
| 162 | 164 | itensatuais = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo); |
| 163 | 165 | itensatuais = itensatuais.etiquetas.split(","); |
| ... | ... | @@ -166,7 +168,7 @@ i3GEOF.etiqueta = { |
| 166 | 168 | n = retorno.data.valores.length; |
| 167 | 169 | for (i=0;i<n; i++){ |
| 168 | 170 | item = retorno.data.valores[i].item; |
| 169 | - ins.push("<tr><td><input size=2 style='cursor:pointer' "+checado+" type=checkbox id=i3GEOetiqueta"+item+" /></td>"); | |
| 171 | + ins.push("<tr><td><input size=2 style='cursor:pointer' type=checkbox id=i3GEOetiqueta"+item+" /></td>"); | |
| 170 | 172 | ins.push("<td> "+item+"</td>"); |
| 171 | 173 | } |
| 172 | 174 | $i("i3GEOetiquetalistai").innerHTML = ins.join(""); |
| ... | ... | @@ -191,9 +193,7 @@ i3GEOF.etiqueta = { |
| 191 | 193 | inputs = $i("i3GEOetiquetalistai").getElementsByTagName("input"), |
| 192 | 194 | i, |
| 193 | 195 | it, |
| 194 | - c, | |
| 195 | - n; | |
| 196 | - n = inputs.length; | |
| 196 | + n = inputs.length; | |
| 197 | 197 | for (i=0;i<n; i++){ |
| 198 | 198 | if (inputs[i].checked === true){ |
| 199 | 199 | it = inputs[i].id; | ... | ... |
ferramentas/excluirarvore/index.js
| ... | ... | @@ -96,7 +96,6 @@ i3GEOF.excluirarvore = { |
| 96 | 96 | html:function(){ |
| 97 | 97 | var camadas = i3GEO.arvoreDeCamadas.CAMADAS, |
| 98 | 98 | n = camadas.length, |
| 99 | - temp, | |
| 100 | 99 | ins = ""; |
| 101 | 100 | |
| 102 | 101 | ins = "<p class=paragrafo ><input id=i3GEOexcluirbotao1 type='buttom' value='Remover do mapa os marcados' /></p>" + | ... | ... |
ferramentas/filtro/index.js
| ... | ... | @@ -379,7 +379,7 @@ i3GEOF.filtro = { |
| 379 | 379 | operador = s[0].value; |
| 380 | 380 | s = nos[4].getElementsByTagName("input"); |
| 381 | 381 | valor = s[0].value; |
| 382 | - s = nos[5].getElementsByTagName("select") | |
| 382 | + s = nos[5].getElementsByTagName("select"); | |
| 383 | 383 | conector = s[0].value; |
| 384 | 384 | if (valor*1) |
| 385 | 385 | {filtro = filtro + "(["+itemsel+"] "+operador+" "+valor+")";} | ... | ... |
ferramentas/filtroarvore/index.js
| ... | ... | @@ -57,7 +57,6 @@ i3GEOF.filtroarvore = { |
| 57 | 57 | iddiv {String} - id do div que receberá o conteudo HTML da ferramenta |
| 58 | 58 | */ |
| 59 | 59 | inicia: function(iddiv){ |
| 60 | - var box; | |
| 61 | 60 | try{ |
| 62 | 61 | $i(iddiv).innerHTML += i3GEOF.filtroarvore.html(); |
| 63 | 62 | } |
| ... | ... | @@ -98,7 +97,7 @@ i3GEOF.filtroarvore = { |
| 98 | 97 | Cria a janela flutuante para controle da ferramenta. |
| 99 | 98 | */ |
| 100 | 99 | criaJanelaFlutuante: function(){ |
| 101 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 100 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 102 | 101 | cabecalho = function(){}; |
| 103 | 102 | minimiza = function(){ |
| 104 | 103 | i3GEO.janela.minimiza("i3GEOF.filtroarvore"); |
| ... | ... | @@ -132,8 +131,7 @@ i3GEOF.filtroarvore = { |
| 132 | 131 | */ |
| 133 | 132 | lote: function(objeto){ |
| 134 | 133 | var operacao = objeto.value, |
| 135 | - lista = i3GEO.arvoreDeCamadas.listaLigadosDesligados(), | |
| 136 | - temp; | |
| 134 | + lista = i3GEO.arvoreDeCamadas.listaLigadosDesligados(); | |
| 137 | 135 | if(operacao === "excluir"){ |
| 138 | 136 | if(window.confirm("Remove todos do mapa?")){ |
| 139 | 137 | i3GEO.php.excluitema(i3GEO.atualiza,lista[2]); | ... | ... |
ferramentas/googlemaps/endereco.php
ferramentas/googlemaps/index.htm
| 1 | 1 | <html> |
| 2 | 2 | <head> |
| 3 | 3 | <script src="../../pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript"></script> |
| 4 | -<script language="JavaScript" type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAg9kA9xQlYqK9iBDKaeTpgxSieGwtcPDeiUtRiq7Xa63cyLppcxTVYXnVlPwveOe-sXuXfpBeNpL6pA"> | |
| 4 | +<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAg9kA9xQlYqK9iBDKaeTpgxSieGwtcPDeiUtRiq7Xa63cyLppcxTVYXnVlPwveOe-sXuXfpBeNpL6pA"> | |
| 5 | 5 | </script> |
| 6 | 6 | <title></title> |
| 7 | 7 | </head> |
| 8 | - <body name="ancora" onunload="GUnload()"> | |
| 8 | + <body onunload="GUnload()"> | |
| 9 | 9 | <div id="mapa" style="width: 340px; height: 340px"></div> |
| 10 | 10 | |
| 11 | 11 | <script type="text/javascript" > | ... | ... |
ferramentas/googlemaps/index.php
| ... | ... | @@ -466,7 +466,7 @@ function cursor(c){ |
| 466 | 466 | } |
| 467 | 467 | </script> |
| 468 | 468 | </head> |
| 469 | - <body name="ancora" onload="inicializa()"> | |
| 469 | + <body onload="inicializa()"> | |
| 470 | 470 | <div id="mapa" style="width: 440px; height: 340px"></div> |
| 471 | 471 | </body> |
| 472 | 472 | </html> |
| 473 | 473 | \ No newline at end of file | ... | ... |
ferramentas/gradecoord/index.js
| ... | ... | @@ -146,7 +146,7 @@ i3GEOF.gradeCoord = { |
| 146 | 146 | Cria a janela flutuante para controle da ferramenta. |
| 147 | 147 | */ |
| 148 | 148 | criaJanelaFlutuante: function(){ |
| 149 | - var janela,divid,temp,titulo; | |
| 149 | + var janela,divid,titulo; | |
| 150 | 150 | //cria a janela flutuante |
| 151 | 151 | titulo = "Grade de coordenadas <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=1&idajuda=7' > </a>"; |
| 152 | 152 | janela = i3GEO.janela.cria( |
| ... | ... | @@ -183,14 +183,14 @@ i3GEOF.gradeCoord = { |
| 183 | 183 | */ |
| 184 | 184 | executa: function(){ |
| 185 | 185 | if (($i("i3GEOgradeCoordintervalo").value == 0) || ($i("i3GEOgradeCoordintervalo").value == "")) |
| 186 | - {alert("Entre com a distância entre as linhas")} | |
| 186 | + {alert("Entre com a distância entre as linhas");} | |
| 187 | 187 | else |
| 188 | 188 | { |
| 189 | 189 | if(i3GEOF.gradeCoord.aguarde.visibility === "visible") |
| 190 | 190 | {return;} |
| 191 | 191 | i3GEOF.gradeCoord.aguarde.visibility = "visible"; |
| 192 | 192 | var temp = function(){ |
| 193 | - i3GEO.atualiza() | |
| 193 | + i3GEO.atualiza(); | |
| 194 | 194 | i3GEOF.gradeCoord.aguarde.visibility = "hidden"; |
| 195 | 195 | }, |
| 196 | 196 | p, | ... | ... |
ferramentas/gradehex/index.js
| ... | ... | @@ -91,7 +91,7 @@ i3GEOF.gradeDeHex = { |
| 91 | 91 | Cria a janela flutuante para controle da ferramenta. |
| 92 | 92 | */ |
| 93 | 93 | criaJanelaFlutuante: function(){ |
| 94 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 94 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 95 | 95 | //cria a janela flutuante |
| 96 | 96 | titulo = "Grade de hexágonos <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=16' > </a>"; |
| 97 | 97 | cabecalho = function(){ |
| ... | ... | @@ -207,7 +207,7 @@ i3GEOF.gradeDeHex = { |
| 207 | 207 | {$i("i3GEOgradedehexfim").innerHTML = "<p class='paragrafo'>Erro. A operação demorou muito(?).";} |
| 208 | 208 | else |
| 209 | 209 | {i3GEO.atualiza();} |
| 210 | - } | |
| 210 | + }; | |
| 211 | 211 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=gradedehex&xdd="+dx+"&ydd="+dy+"&px="+ix+"&py="+iy+"&nptx="+nptx+"&npty="+npty; |
| 212 | 212 | cp = new cpaint(); |
| 213 | 213 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/gradepol/index.js
| ... | ... | @@ -91,7 +91,7 @@ i3GEOF.gradeDePoligonos = { |
| 91 | 91 | Cria a janela flutuante para controle da ferramenta. |
| 92 | 92 | */ |
| 93 | 93 | criaJanelaFlutuante: function(){ |
| 94 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 94 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 95 | 95 | //cria a janela flutuante |
| 96 | 96 | titulo = "Grade de polígonos <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=14' > </a>"; |
| 97 | 97 | cabecalho = function(){ |
| ... | ... | @@ -208,7 +208,7 @@ i3GEOF.gradeDePoligonos = { |
| 208 | 208 | {$i("i3GEOgradedepoligonosfim").innerHTML = "<p class='paragrafo'>Erro. A operação demorou muito(?).";} |
| 209 | 209 | else |
| 210 | 210 | {i3GEO.atualiza("");} |
| 211 | - } | |
| 211 | + }; | |
| 212 | 212 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=gradedepol&xdd="+dx+"&ydd="+dy+"&px="+ix+"&py="+iy+"&nptx="+nptx+"&npty="+npty; |
| 213 | 213 | cp = new cpaint(); |
| 214 | 214 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/gradepontos/index.js
| ... | ... | @@ -91,7 +91,7 @@ i3GEOF.gradeDePontos = { |
| 91 | 91 | Cria a janela flutuante para controle da ferramenta. |
| 92 | 92 | */ |
| 93 | 93 | criaJanelaFlutuante: function(){ |
| 94 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 94 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 95 | 95 | //cria a janela flutuante |
| 96 | 96 | titulo = "Grade de pontos <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=15' > </a>"; |
| 97 | 97 | cabecalho = function(){ |
| ... | ... | @@ -207,7 +207,7 @@ i3GEOF.gradeDePontos = { |
| 207 | 207 | {$i("i3GEOgradedepontosfim").innerHTML = "<p class='paragrafo'>Erro. A operação demorou muito(?).";} |
| 208 | 208 | else |
| 209 | 209 | {i3GEO.atualiza("");} |
| 210 | - } | |
| 210 | + }; | |
| 211 | 211 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=gradedepontos&xdd="+dx+"&ydd="+dy+"&px="+ix+"&py="+iy+"&nptx="+nptx+"&npty="+npty; |
| 212 | 212 | cp = new cpaint(); |
| 213 | 213 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/graficointerativo/index.js
| ... | ... | @@ -391,8 +391,6 @@ i3GEOF.graficointerativo = { |
| 391 | 391 | */ |
| 392 | 392 | configuraDados: function(){ |
| 393 | 393 | var radios = $i("i3GEOgraficointerativoguia1obj").getElementsByTagName("input"), |
| 394 | - nradios = radios.length, | |
| 395 | - i, | |
| 396 | 394 | ativa = function(comboxlinha,comboylinha,ajudapizza){ |
| 397 | 395 | try{ |
| 398 | 396 | $i("i3GEOgraficointerativoComboXlinha").style.display = comboxlinha; |
| ... | ... | @@ -424,7 +422,6 @@ i3GEOF.graficointerativo = { |
| 424 | 422 | "i3GEOgraficointerativoComboXid", |
| 425 | 423 | tema, |
| 426 | 424 | function(retorno){ |
| 427 | - var combo = retorno.dados; | |
| 428 | 425 | if(retorno.tipo === "erro"){ |
| 429 | 426 | $i("i3GEOgraficointerativoComboX").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; |
| 430 | 427 | $i("i3GEOgraficointerativoComboY").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; |
| ... | ... | @@ -551,7 +548,7 @@ i3GEOF.graficointerativo = { |
| 551 | 548 | ninputs = inputs.length, |
| 552 | 549 | n, |
| 553 | 550 | i, |
| 554 | - parametros, | |
| 551 | + parametros = [], | |
| 555 | 552 | valores = [], |
| 556 | 553 | valoresS = [], |
| 557 | 554 | acumulado = [], |
| ... | ... | @@ -584,7 +581,7 @@ i3GEOF.graficointerativo = { |
| 584 | 581 | fill = "#C4B86A", |
| 585 | 582 | pointSize = 4; |
| 586 | 583 | if(i3GEOF.graficointerativo.titulo != "") |
| 587 | - {titulo = i3GEOF.graficointerativo.titulo} | |
| 584 | + {titulo = i3GEOF.graficointerativo.titulo;} | |
| 588 | 585 | if($i("i3GEOgraficointerativoComboXid")) |
| 589 | 586 | {legendaX = $i("i3GEOgraficointerativoComboXid").value;} |
| 590 | 587 | if($i("i3GEOgraficointerativoComboYid")) |
| ... | ... | @@ -827,7 +824,6 @@ i3GEOF.graficointerativo = { |
| 827 | 824 | var tabela = $i("i3GEOgraficointerativoDados").getElementsByTagName("table")[0], |
| 828 | 825 | trs = tabela.getElementsByTagName("tr"), |
| 829 | 826 | ntrs = trs.length, |
| 830 | - cabecalhotr = trs[0], | |
| 831 | 827 | psort = [], |
| 832 | 828 | t, |
| 833 | 829 | psortfim, |
| ... | ... | @@ -838,6 +834,7 @@ i3GEOF.graficointerativo = { |
| 838 | 834 | temp, |
| 839 | 835 | chaves = [], |
| 840 | 836 | numero = false; |
| 837 | + | |
| 841 | 838 | function sortNumber(a,b) |
| 842 | 839 | {return a - b;} |
| 843 | 840 | for (t=1;t<ntrs;t++) | ... | ... |
ferramentas/graficotema/index.js
| ... | ... | @@ -152,7 +152,7 @@ i3GEOF.graficoTema = { |
| 152 | 152 | Cria a janela flutuante para controle da ferramenta. |
| 153 | 153 | */ |
| 154 | 154 | criaJanelaFlutuante: function(){ |
| 155 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 155 | + var janela,divid,temp,titulo; | |
| 156 | 156 | if($i("i3GEOF.graficoTema")){ |
| 157 | 157 | i3GEOF.graficoTema.inicia("i3GEOF.graficoTema_corpo"); |
| 158 | 158 | return; | ... | ... |
ferramentas/identifica/index.js
| ... | ... | @@ -126,7 +126,6 @@ i3GEOF.identifica = { |
| 126 | 126 | */ |
| 127 | 127 | inicia: function(tema,x,y,iddiv,mostraLinkGeohack,mostraSistemasAdicionais){ |
| 128 | 128 | try{ |
| 129 | - var g_locidentifica, temp; | |
| 130 | 129 | $i(iddiv).innerHTML += i3GEOF.identifica.html(); |
| 131 | 130 | i3GEOF.identifica.tema = tema; |
| 132 | 131 | i3GEOF.identifica.x = x; |
| ... | ... | @@ -171,7 +170,6 @@ i3GEOF.identifica = { |
| 171 | 170 | } |
| 172 | 171 | } |
| 173 | 172 | }); |
| 174 | - var ins = "",retorna; | |
| 175 | 173 | i3GEO.coordenadas.formato = "lista"; |
| 176 | 174 | i3GEO.coordenadas.mostraCoordenadas(false,"i3GEOidentificacoordtexto",i3GEOF.identifica.x,i3GEOF.identifica.y); |
| 177 | 175 | $i("i3GEOidentificacoordtexto").innerHTML = i3GEO.coordenadas.MODOTEXTO+"</span>"; |
| ... | ... | @@ -183,7 +181,7 @@ i3GEOF.identifica = { |
| 183 | 181 | i3GEOF.identifica.atualizaSistemas(); |
| 184 | 182 | if(i3GEO.temaAtivo !== ""){ |
| 185 | 183 | //verifica se o tema ativo pode ser identificado |
| 186 | - temp = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo); | |
| 184 | + var temp = i3GEO.arvoreDeCamadas.pegaTema(i3GEO.temaAtivo); | |
| 187 | 185 | if(temp.identifica.toLowerCase() !== "nao") |
| 188 | 186 | {i3GEOF.identifica.buscaDadosTema(i3GEO.temaAtivo);} |
| 189 | 187 | } |
| ... | ... | @@ -191,7 +189,6 @@ i3GEOF.identifica = { |
| 191 | 189 | catch(erro){alert(erro);} |
| 192 | 190 | |
| 193 | 191 | var Dom = YAHOO.util.Dom, |
| 194 | - Event = YAHOO.util.Event, | |
| 195 | 192 | col1 = null, |
| 196 | 193 | col2 = null; |
| 197 | 194 | |
| ... | ... | @@ -202,7 +199,6 @@ i3GEOF.identifica = { |
| 202 | 199 | maxWidth: 180 |
| 203 | 200 | }); |
| 204 | 201 | resize.on('resize', function(ev) { |
| 205 | - var w = ev.width; | |
| 206 | 202 | Dom.setStyle(col1, 'height', ''); |
| 207 | 203 | //150 é o tamanho inicial da parte esquerda, corresponde a 40% |
| 208 | 204 | var w1 = parseInt(col1.style.width); |
| ... | ... | @@ -457,7 +453,7 @@ i3GEOF.identifica = { |
| 457 | 453 | |
| 458 | 454 | */ |
| 459 | 455 | montaListaSistemas: function(retorno){ |
| 460 | - var divins,sisig,sistema,pub,exec,temp,t,linhas,ltema; | |
| 456 | + var l,divins,ig,sistema,pub,exec,temp,t,linhas,ltema; | |
| 461 | 457 | if (retorno !== undefined) |
| 462 | 458 | { |
| 463 | 459 | divins = $i("i3GEOidentificalistaSistemas"); |
| ... | ... | @@ -539,10 +535,10 @@ i3GEOF.identifica = { |
| 539 | 535 | {i3GEOF.identifica.mostraDadosTema(i3GEOF.identifica.dadosIdentifica);} |
| 540 | 536 | else |
| 541 | 537 | {i3GEOF.identifica.mostraDadosTema(undefined);} |
| 542 | - } | |
| 538 | + }; | |
| 543 | 539 | i3GEO.php.identifica2(temp,i3GEOF.identifica.x,i3GEOF.identifica.y,resolucao,opcao,i3GEO.configura.locaplic,i3GEO.configura.sid,tema,i3GEO.parametros.mapexten,listaDeTemas); |
| 544 | 540 | } |
| 545 | - catch(e){i3GEOF.identifica.criaJanelaFlutuante()} | |
| 541 | + catch(e){i3GEOF.identifica.criaJanelaFlutuante();} | |
| 546 | 542 | }, |
| 547 | 543 | /* |
| 548 | 544 | Function: mostraDadosSistema |
| ... | ... | @@ -599,20 +595,19 @@ i3GEOF.identifica = { |
| 599 | 595 | retorno {JSON} - objeto JSON com os dados <i3GEO.php.identifica2> |
| 600 | 596 | */ |
| 601 | 597 | mostraDadosTema: function(retorno){ |
| 602 | - var res="",div0,ntemas,i,resultados,nres,cor,j,itens,nitens,k,atualN = "todas",inicio=0,numResultados,tip,link; | |
| 598 | + var i,res="",ntemas,resultados,nres,cor,j,nitens,k,atualN = "todas",inicio=0,numResultados = 0,tip,link; | |
| 603 | 599 | |
| 604 | 600 | if($i("i3GEOFidentificaNocorrencias")) |
| 605 | 601 | {atualN = $i("i3GEOFidentificaNocorrencias").value;} |
| 606 | 602 | $i("i3GEOF.identifica_corpo").scrollTop = 0; |
| 607 | 603 | if(retorno == undefined || retorno == "") |
| 608 | 604 | {$i("i3GEOidentificaocorrencia").innerHTML="Nada encontrado";return;} |
| 609 | - var i = $i("i3GEOmarcaIdentifica"); | |
| 605 | + i = $i("i3GEOmarcaIdentifica"); | |
| 610 | 606 | if(i) |
| 611 | 607 | {i.style.display = "block";} |
| 612 | 608 | if (retorno !== undefined) |
| 613 | 609 | { |
| 614 | - divO = $i("i3GEOidentificaocorrencia"); | |
| 615 | - divO.innerHTML=""; | |
| 610 | + $i("i3GEOidentificaocorrencia").innerHTML=""; | |
| 616 | 611 | ntemas = retorno.length; |
| 617 | 612 | for(i=0;i<ntemas;i++) |
| 618 | 613 | { | ... | ... |
ferramentas/importarwmc/index.js
| ... | ... | @@ -95,7 +95,7 @@ i3GEOF.importarwmc = { |
| 95 | 95 | Cria a janela flutuante para controle da ferramenta. |
| 96 | 96 | */ |
| 97 | 97 | criaJanelaFlutuante: function(){ |
| 98 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 98 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 99 | 99 | cabecalho = function(){}; |
| 100 | 100 | minimiza = function(){ |
| 101 | 101 | i3GEO.janela.minimiza("i3GEOF.importarwmc"); | ... | ... |
ferramentas/importarwmc/upload.php
| ... | ... | @@ -13,7 +13,7 @@ $map_file = $_SESSION["map_file"]; |
| 13 | 13 | <link rel="stylesheet" type="text/css" href="../../css/geral.css" /> |
| 14 | 14 | <title></title> |
| 15 | 15 | </head> |
| 16 | -<body name="ancora" bgcolor="white" style="background-color:white;text-align:left;"> | |
| 16 | +<body bgcolor="white" style="background-color:white;text-align:left;"> | |
| 17 | 17 | <p> |
| 18 | 18 | <?php |
| 19 | 19 | error_reporting(E_ALL); | ... | ... |
ferramentas/imprimir/a4l.htm
| ... | ... | @@ -3,11 +3,11 @@ |
| 3 | 3 | <link rel="stylesheet" type="text/css" href="../../css/geral.css"> |
| 4 | 4 | <link rel="stylesheet" type="text/css" href="../../css/botoes.css"> |
| 5 | 5 | </head> |
| 6 | -<body name="ancora" id=corpo style="background-color:white" onmouseover="javascript:this.onmousemove=processevent1"> | |
| 6 | +<body id=corpo style="background-color:white" onmouseover="javascript:this.onmousemove=processevent1"> | |
| 7 | 7 | <div id=mapa style="z-index:10;position:absolute;top:20px;left:150px"></div> |
| 8 | 8 | <div id=legenda style="z-index:0;border:0 solid black;font-size:14px;position:absolute;top:20px;left:0px;height:100%"></div> |
| 9 | 9 | <div id=escalanumerica style="z-index:15;border:0 solid black;font-size:14px;position:absolute;top:40px;left:150px"></div> |
| 10 | 10 | <div id=titulo style="border:0 solid black;font-size:14px;position:absolute;top:0px;text-align:center" ></div> |
| 11 | 11 | </body> |
| 12 | -<script language="JavaScript" type="text/javascript" src="janelas.js"></script> | |
| 12 | +<script type="text/javascript" src="janelas.js"></script> | |
| 13 | 13 | </html> |
| 14 | 14 | \ No newline at end of file | ... | ... |
ferramentas/imprimir/a4lpaisagempdf.htm
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | <meta name="keywords" content="mapserver,i3geo,geoprocessamento,mapa,gis,sig,geografia, cartografia"> |
| 6 | 6 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| 7 | 7 | </head> |
| 8 | -<body name="ancora" class="yui-skin-sam"> | |
| 8 | +<body class="yui-skin-sam"> | |
| 9 | 9 | </body> |
| 10 | 10 | <script type="text/javascript" > |
| 11 | 11 | var titulo=window.prompt("Digite o título do mapa:") | ... | ... |
ferramentas/imprimir/a4p.htm
| ... | ... | @@ -3,11 +3,11 @@ |
| 3 | 3 | <link rel="stylesheet" type="text/css" href="../../css/geral.css"> |
| 4 | 4 | <link rel="stylesheet" type="text/css" href="../../css/botoes.css"> |
| 5 | 5 | </head> |
| 6 | -<body name="ancora" id=corpo style="background-color:white" onmouseover="javascript:this.onmousemove=processevent1"> | |
| 6 | +<body id=corpo style="background-color:white" onmouseover="javascript:this.onmousemove=processevent1"> | |
| 7 | 7 | <div id=mapa style="z-index:10;position:absolute;top:20px;left:150px"></div> |
| 8 | 8 | <div id=legenda style="z-index:0;border:0 solid black;font-size:14px;position:absolute;top:20px;left:0px;height:100%"></div> |
| 9 | 9 | <div id=escalanumerica style="z-index:15;border:0 solid black;font-size:14px;position:absolute;top:40px;left:150px"></div> |
| 10 | 10 | <div id=titulo style="border:0 solid black;font-size:14px;position:absolute;top:0px;text-align:center" ></div> |
| 11 | 11 | </body> |
| 12 | -<script language="JavaScript" type="text/javascript" src="janelas.js"></script> | |
| 12 | +<script type="text/javascript" src="janelas.js"></script> | |
| 13 | 13 | </html> |
| 14 | 14 | \ No newline at end of file | ... | ... |
ferramentas/imprimir/index.js
| ... | ... | @@ -52,9 +52,9 @@ i3GEOF.imprimir = { |
| 52 | 52 | try{ |
| 53 | 53 | $i(iddiv).innerHTML += i3GEOF.imprimir.html(); |
| 54 | 54 | var temp = function(retorno){ |
| 55 | - g_legendaHTML = retorno.data.legenda | |
| 56 | - } | |
| 57 | - i3GEO.php.criaLegendaHTML(temp,"","legendaseminput.htm") | |
| 55 | + g_legendaHTML = retorno.data.legenda; | |
| 56 | + }; | |
| 57 | + i3GEO.php.criaLegendaHTML(temp,"","legendaseminput.htm"); | |
| 58 | 58 | } |
| 59 | 59 | catch(erro){alert(erro);} |
| 60 | 60 | |
| ... | ... | @@ -106,7 +106,7 @@ i3GEOF.imprimir = { |
| 106 | 106 | Cria a janela flutuante para controle da ferramenta. |
| 107 | 107 | */ |
| 108 | 108 | criaJanelaFlutuante: function(){ |
| 109 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 109 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 110 | 110 | cabecalho = function(){}; |
| 111 | 111 | minimiza = function(){ |
| 112 | 112 | i3GEO.janela.minimiza("i3GEOF.imprimir"); | ... | ... |
ferramentas/imprimir/janelas.js
| ... | ... | @@ -2,19 +2,19 @@ g_movedoca = 0; |
| 2 | 2 | wd = 0; |
| 3 | 3 | var novoel = document.createElement("div"); |
| 4 | 4 | novoel.id = "wdoca"; |
| 5 | -novoel.style.zIndex = "5000" | |
| 5 | +novoel.style.zIndex = "5000"; | |
| 6 | 6 | novoel.style.left="0px"; |
| 7 | 7 | novoel.innerHTML = '<table><tr><td width=100% title="click para mover" class="tdclara" style="background-color:gray;cursor:move;" onmouseup="javascript:g_movedoca=0" onmousedown="javascript:if (g_movedoca==1){g_movedoca=0} else{wd = x;g_movedoca=1};movewdocaf()"><span style="background-color:gray" ></span><span style="color:white" id=textowdoca ></span></tr><tr><td valign="top" ><iframe name=wdocai id=wdocai valign="top" ></iframe></td></tr></table><div id=wdocadiv ></div>'; |
| 8 | 8 | document.body.appendChild(novoel); |
| 9 | 9 | |
| 10 | -var g_sid=window.opener.parent.g_sid | |
| 11 | -var corpo = window.opener.parent.document.getElementById("img").src | |
| 12 | -var legenda = window.opener.g_legendaHTML | |
| 13 | -var escalanumerica = window.opener.parent.i3GEO.parametros.mapscale | |
| 10 | +var g_sid=window.opener.parent.g_sid; | |
| 11 | +var corpo = window.opener.parent.document.getElementById("img").src; | |
| 12 | +var legenda = window.opener.g_legendaHTML; | |
| 13 | +var escalanumerica = window.opener.parent.i3GEO.parametros.mapscale; | |
| 14 | 14 | |
| 15 | -document.getElementById("mapa").innerHTML = "<img src="+corpo+" />" | |
| 16 | -document.getElementById("legenda").innerHTML = legenda | |
| 17 | -document.getElementById("escalanumerica").innerHTML = "1: "+escalanumerica | |
| 15 | +document.getElementById("mapa").innerHTML = "<img src="+corpo+" />"; | |
| 16 | +document.getElementById("legenda").innerHTML = legenda; | |
| 17 | +document.getElementById("escalanumerica").innerHTML = "1: "+escalanumerica; | |
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | function processevent1(exy1) |
| ... | ... | @@ -74,4 +74,4 @@ function wdocaf(wlargura,waltura,wsrc,nx,ny,texto) |
| 74 | 74 | if (texto != "") |
| 75 | 75 | {document.getElementById("textowdoca").innerHTML = ' '+texto;} |
| 76 | 76 | } |
| 77 | -wdocaf("400px","350px","propriedades.htm","",""," ") | |
| 78 | 77 | \ No newline at end of file |
| 78 | +wdocaf("400px","350px","propriedades.htm","",""," "); | |
| 79 | 79 | \ No newline at end of file | ... | ... |
ferramentas/imprimir/propriedades.htm
| ... | ... | @@ -13,7 +13,7 @@ body { |
| 13 | 13 | </style> |
| 14 | 14 | |
| 15 | 15 | </head> |
| 16 | -<body name="ancora" class="yui-skin-sam"> | |
| 16 | +<body class="yui-skin-sam"> | |
| 17 | 17 | <div id=guiasYUI class="yui-navset" style="top:0px;cursor:pointer;left:0px;"> |
| 18 | 18 | <ul class="yui-nav" style="border-width:0pt 0pt 0px;border-color:rgb(240,240,240);border-bottom-color:white;"> |
| 19 | 19 | <li><a href="#ancora"><em><div id="guia1" style="text-align:center;font-size:10px;left:0px;" >Título</div></em></a></li> | ... | ... |
ferramentas/imprimir/propriedades.js
| 1 | 1 | //eventos das guias |
| 2 | 2 | document.getElementById("guia1").onclick = function() |
| 3 | -{escondeGuias();document.getElementById("guia1obj").style.display="block";} | |
| 3 | +{escondeGuias();document.getElementById("guia1obj").style.display="block";}; | |
| 4 | 4 | document.getElementById("guia2").onclick = function() |
| 5 | -{escondeGuias();document.getElementById("guia2obj").style.display="block";} | |
| 5 | +{escondeGuias();document.getElementById("guia2obj").style.display="block";}; | |
| 6 | 6 | document.getElementById("guia3").onclick = function() |
| 7 | -{escondeGuias();document.getElementById("guia3obj").style.display="block";} | |
| 7 | +{escondeGuias();document.getElementById("guia3obj").style.display="block";}; | |
| 8 | 8 | document.getElementById("guia5").onclick = function() |
| 9 | -{escondeGuias();document.getElementById("guia5obj").style.display="block";} | |
| 9 | +{escondeGuias();document.getElementById("guia5obj").style.display="block";}; | |
| 10 | 10 | document.getElementById("guia6").onclick = function() |
| 11 | 11 | { |
| 12 | 12 | window.parent.document.getElementById("wdoca").style.display="none"; |
| 13 | 13 | //window.parent.print(); |
| 14 | -} | |
| 14 | +}; | |
| 15 | 15 | function escondeGuias() |
| 16 | 16 | { |
| 17 | 17 | document.getElementById("guia1obj").style.display="none"; |
| ... | ... | @@ -20,119 +20,119 @@ function escondeGuias() |
| 20 | 20 | document.getElementById("guia5obj").style.display="none"; |
| 21 | 21 | document.getElementById("guia6obj").style.display="none"; |
| 22 | 22 | } |
| 23 | -objtitulo = new prop() | |
| 24 | -objtitulo.id = "titulo" | |
| 25 | -objtitulo.idtopo = "tituloTopo" | |
| 26 | -objtitulo.idesquerda = "tituloEsquerda" | |
| 27 | -objtitulo.idtamanho = "tituloTamanho" | |
| 28 | -objtitulo.idlargura = "tituloLargura" | |
| 29 | -objtitulo.idcor = "tituloCor" | |
| 30 | -objtitulo.idfundo = "tituloFundo" | |
| 31 | -objtitulo.idborda = "tituloBorda" | |
| 32 | -objtitulo.idbordacor = "tituloBordacor" | |
| 33 | -objtitulo.idbordaestilo = "tituloBordaestilo" | |
| 34 | -objtitulo.idpadding = "tituloPadding" | |
| 35 | -objtitulo.idordem = "tituloOrdem" | |
| 23 | +objtitulo = new prop(); | |
| 24 | +objtitulo.id = "titulo"; | |
| 25 | +objtitulo.idtopo = "tituloTopo"; | |
| 26 | +objtitulo.idesquerda = "tituloEsquerda"; | |
| 27 | +objtitulo.idtamanho = "tituloTamanho"; | |
| 28 | +objtitulo.idlargura = "tituloLargura"; | |
| 29 | +objtitulo.idcor = "tituloCor"; | |
| 30 | +objtitulo.idfundo = "tituloFundo"; | |
| 31 | +objtitulo.idborda = "tituloBorda"; | |
| 32 | +objtitulo.idbordacor = "tituloBordacor"; | |
| 33 | +objtitulo.idbordaestilo = "tituloBordaestilo"; | |
| 34 | +objtitulo.idpadding = "tituloPadding"; | |
| 35 | +objtitulo.idordem = "tituloOrdem"; | |
| 36 | 36 | |
| 37 | -objlegenda = new prop() | |
| 38 | -objlegenda.id = "legenda" | |
| 39 | -objlegenda.idtopo = "legendaTopo" | |
| 40 | -objlegenda.idesquerda = "legendaEsquerda" | |
| 41 | -objlegenda.idtamanho = "legendaTamanho" | |
| 42 | -objlegenda.idlargura = "legendaLargura" | |
| 43 | -objlegenda.idcor = "legendaCor" | |
| 44 | -objlegenda.idfundo = "legendaFundo" | |
| 45 | -objlegenda.idborda = "legendaBorda" | |
| 46 | -objlegenda.idbordacor = "legendaBordacor" | |
| 47 | -objlegenda.idbordaestilo = "legendaBordaestilo" | |
| 48 | -objlegenda.idpadding = "legendaPadding" | |
| 49 | -objlegenda.idordem = "legendaOrdem" | |
| 37 | +objlegenda = new prop(); | |
| 38 | +objlegenda.id = "legenda"; | |
| 39 | +objlegenda.idtopo = "legendaTopo"; | |
| 40 | +objlegenda.idesquerda = "legendaEsquerda"; | |
| 41 | +objlegenda.idtamanho = "legendaTamanho"; | |
| 42 | +objlegenda.idlargura = "legendaLargura"; | |
| 43 | +objlegenda.idcor = "legendaCor"; | |
| 44 | +objlegenda.idfundo = "legendaFundo"; | |
| 45 | +objlegenda.idborda = "legendaBorda"; | |
| 46 | +objlegenda.idbordacor = "legendaBordacor"; | |
| 47 | +objlegenda.idbordaestilo = "legendaBordaestilo"; | |
| 48 | +objlegenda.idpadding = "legendaPadding"; | |
| 49 | +objlegenda.idordem = "legendaOrdem"; | |
| 50 | 50 | |
| 51 | -objescalanumerica = new prop() | |
| 52 | -objescalanumerica.id = "escalanumerica" | |
| 53 | -objescalanumerica.idtopo = "escalanumericaTopo" | |
| 54 | -objescalanumerica.idesquerda = "escalanumericaEsquerda" | |
| 55 | -objescalanumerica.idtamanho = "escalanumericaTamanho" | |
| 56 | -objescalanumerica.idlargura = "escalanumericaLargura" | |
| 57 | -objescalanumerica.idcor = "escalanumericaCor" | |
| 58 | -objescalanumerica.idfundo = "escalanumericaFundo" | |
| 59 | -objescalanumerica.idborda = "escalanumericaBorda" | |
| 60 | -objescalanumerica.idbordacor = "escalanumericaBordacor" | |
| 61 | -objescalanumerica.idbordaestilo = "escalanumericaBordaestilo" | |
| 62 | -objescalanumerica.idpadding = "escalanumericaPadding" | |
| 63 | -objescalanumerica.idordem = "escalanumericaOrdem" | |
| 51 | +objescalanumerica = new prop(); | |
| 52 | +objescalanumerica.id = "escalanumerica"; | |
| 53 | +objescalanumerica.idtopo = "escalanumericaTopo"; | |
| 54 | +objescalanumerica.idesquerda = "escalanumericaEsquerda"; | |
| 55 | +objescalanumerica.idtamanho = "escalanumericaTamanho"; | |
| 56 | +objescalanumerica.idlargura = "escalanumericaLargura"; | |
| 57 | +objescalanumerica.idcor = "escalanumericaCor"; | |
| 58 | +objescalanumerica.idfundo = "escalanumericaFundo"; | |
| 59 | +objescalanumerica.idborda = "escalanumericaBorda"; | |
| 60 | +objescalanumerica.idbordacor = "escalanumericaBordacor"; | |
| 61 | +objescalanumerica.idbordaestilo = "escalanumericaBordaestilo"; | |
| 62 | +objescalanumerica.idpadding = "escalanumericaPadding"; | |
| 63 | +objescalanumerica.idordem = "escalanumericaOrdem"; | |
| 64 | 64 | |
| 65 | -objmapa = new prop() | |
| 66 | -objmapa.id = "mapa" | |
| 67 | -objmapa.idtopo = "mapaTopo" | |
| 68 | -objmapa.idesquerda = "mapaEsquerda" | |
| 69 | -objmapa.idtamanho = "mapaTamanho" | |
| 70 | -objmapa.idlargura = "mapaLargura" | |
| 71 | -objmapa.idcor = "mapaCor" | |
| 72 | -objmapa.idfundo = "mapaFundo" | |
| 73 | -objmapa.idborda = "mapaBorda" | |
| 74 | -objmapa.idbordacor = "mapaBordacor" | |
| 75 | -objmapa.idbordaestilo = "mapaBordaestilo" | |
| 76 | -objmapa.idpadding = "mapaPadding" | |
| 77 | -objmapa.idordem = "mapaOrdem" | |
| 65 | +objmapa = new prop(); | |
| 66 | +objmapa.id = "mapa"; | |
| 67 | +objmapa.idtopo = "mapaTopo"; | |
| 68 | +objmapa.idesquerda = "mapaEsquerda"; | |
| 69 | +objmapa.idtamanho = "mapaTamanho"; | |
| 70 | +objmapa.idlargura = "mapaLargura"; | |
| 71 | +objmapa.idcor = "mapaCor"; | |
| 72 | +objmapa.idfundo = "mapaFundo"; | |
| 73 | +objmapa.idborda = "mapaBorda"; | |
| 74 | +objmapa.idbordacor = "mapaBordacor"; | |
| 75 | +objmapa.idbordaestilo = "mapaBordaestilo"; | |
| 76 | +objmapa.idpadding = "mapaPadding"; | |
| 77 | +objmapa.idordem = "mapaOrdem"; | |
| 78 | 78 | |
| 79 | 79 | function prop() |
| 80 | 80 | { |
| 81 | 81 | this.texto = function() |
| 82 | - {window.parent.document.getElementById(this.id).innerHTML = document.getElementById(this.id).value;} | |
| 82 | + {window.parent.document.getElementById(this.id).innerHTML = document.getElementById(this.id).value;}; | |
| 83 | 83 | this.ordem = function() |
| 84 | 84 | { |
| 85 | 85 | var valor = document.getElementById(this.idordem).value; |
| 86 | 86 | window.parent.document.getElementById(this.id).style.zIndex = valor; |
| 87 | - } | |
| 87 | + }; | |
| 88 | 88 | this.topo = function() |
| 89 | 89 | { |
| 90 | 90 | var valor = document.getElementById(this.idtopo).value; |
| 91 | 91 | window.parent.document.getElementById(this.id).style.top = valor + "px"; |
| 92 | - } | |
| 92 | + }; | |
| 93 | 93 | this.esquerda = function() |
| 94 | 94 | { |
| 95 | 95 | var valor = document.getElementById(this.idesquerda).value; |
| 96 | 96 | window.parent.document.getElementById(this.id).style.left = valor + "px"; |
| 97 | - } | |
| 97 | + }; | |
| 98 | 98 | this.tamanho = function() |
| 99 | 99 | { |
| 100 | 100 | var valor = document.getElementById(this.idtamanho).value; |
| 101 | 101 | window.parent.document.getElementById(this.id).style.fontSize = valor; |
| 102 | - } | |
| 102 | + }; | |
| 103 | 103 | this.largura = function() |
| 104 | 104 | { |
| 105 | 105 | var valor = document.getElementById(this.idlargura).value; |
| 106 | 106 | window.parent.document.getElementById(this.id).style.width = valor + "px"; |
| 107 | - } | |
| 107 | + }; | |
| 108 | 108 | this.cor = function() |
| 109 | 109 | { |
| 110 | 110 | var valor = document.getElementById(this.idcor).value; |
| 111 | 111 | window.parent.document.getElementById(this.id).style.color = "RGB("+valor+")"; |
| 112 | - } | |
| 112 | + }; | |
| 113 | 113 | this.fundo = function() |
| 114 | 114 | { |
| 115 | 115 | var valor = document.getElementById(this.idfundo).value; |
| 116 | 116 | window.parent.document.getElementById(this.id).style.backgroundColor = "RGB("+valor+")"; |
| 117 | - } | |
| 117 | + }; | |
| 118 | 118 | this.borda = function() |
| 119 | 119 | { |
| 120 | 120 | var valor = document.getElementById(this.idborda).value; |
| 121 | 121 | window.parent.document.getElementById(this.id).style.borderWidth = valor; |
| 122 | - } | |
| 122 | + }; | |
| 123 | 123 | this.bordacor = function() |
| 124 | 124 | { |
| 125 | 125 | var valor = document.getElementById(this.idbordacor).value; |
| 126 | 126 | window.parent.document.getElementById(this.id).style.borderColor = "RGB("+valor+")"; |
| 127 | - } | |
| 127 | + }; | |
| 128 | 128 | this.bordaestilo = function() |
| 129 | 129 | { |
| 130 | 130 | var valor = document.getElementById(this.idbordaestilo).value; |
| 131 | 131 | window.parent.document.getElementById(this.id).style.borderStyle = valor; |
| 132 | - } | |
| 132 | + }; | |
| 133 | 133 | this.padding = function() |
| 134 | 134 | { |
| 135 | 135 | var valor = document.getElementById(this.idpadding).value; |
| 136 | 136 | window.parent.document.getElementById(this.id).style.padding = valor; |
| 137 | - } | |
| 137 | + }; | |
| 138 | 138 | } |
| 139 | 139 | \ No newline at end of file | ... | ... |
ferramentas/inseretxt/index.js
ferramentas/inserexy2/index.js
| ... | ... | @@ -129,11 +129,11 @@ i3GEOF.inserexy = { |
| 129 | 129 | i3GEOF.inserexy.montaComboLocal(); |
| 130 | 130 | i3GEO.util.radioEpsg( |
| 131 | 131 | function(retorno){ |
| 132 | - $i("i3GEOinserexylistaepsg").innerHTML = retorno.dados | |
| 132 | + $i("i3GEOinserexylistaepsg").innerHTML = retorno.dados; | |
| 133 | 133 | }, |
| 134 | 134 | "i3GEOinserexylistaepsg", |
| 135 | 135 | "i3GEOinserexy" |
| 136 | - ) | |
| 136 | + ); | |
| 137 | 137 | } |
| 138 | 138 | catch(erro){alert(erro);} |
| 139 | 139 | }, |
| ... | ... | @@ -397,11 +397,11 @@ i3GEOF.inserexy = { |
| 397 | 397 | if (retorno.data != undefined){ |
| 398 | 398 | var ins = [],i; |
| 399 | 399 | for (i=0;i<retorno.data.length; i++) |
| 400 | - {ins.push("<div style='font-size:12px'>"+retorno.data[i].x+" "+retorno.data[i].y+"</div><br>")} | |
| 400 | + {ins.push("<div style='font-size:12px'>"+retorno.data[i].x+" "+retorno.data[i].y+"</div><br>");} | |
| 401 | 401 | $i("i3GEOinserexyguia6obj").innerHTML = ins.join(""); |
| 402 | 402 | } |
| 403 | 403 | else |
| 404 | - {$i("i3GEOinserexyguia6obj").innerHTML = "<p style=color:red >Ocorreu um erro<br>"} | |
| 404 | + {$i("i3GEOinserexyguia6obj").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | |
| 405 | 405 | }; |
| 406 | 406 | cp = new cpaint(); |
| 407 | 407 | cp.set_response_type("JSON"); |
| ... | ... | @@ -445,8 +445,7 @@ i3GEOF.inserexy = { |
| 445 | 445 | */ |
| 446 | 446 | inserirdd: function(){ |
| 447 | 447 | try{ |
| 448 | - var reg,regv,xgv,xmv,xsv,direcao,divs,x,y,xy,p,cp; | |
| 449 | - reg = new RegExp("w|W|l|L|o|O|'|G|r", "g"); | |
| 448 | + var regv,xgv,xmv,xsv,direcao,divs,x,y,xy; | |
| 450 | 449 | regv = new RegExp(",", "g"); |
| 451 | 450 | xgv = $i("i3GEOinserexyxgdd").value; |
| 452 | 451 | xmv = $i("i3GEOinserexyxmdd").value; |
| ... | ... | @@ -472,7 +471,7 @@ i3GEOF.inserexy = { |
| 472 | 471 | try{ |
| 473 | 472 | var reg = new RegExp("w|W|l|L|o|O|'|G|r", "g"), |
| 474 | 473 | regv = new RegExp(",", "g"), |
| 475 | - v,xgv,xmv,xsv,vv,ygv,ymv,ysv,x,y; | |
| 474 | + v,xgv = 0,xmv = 0,xsv = 0,vv,ygv = 0,ymv = 0,ysv = 0,x,y; | |
| 476 | 475 | if($i("i3GEOinserexytipodigcampo").checked){ |
| 477 | 476 | if (!$i("i3GEOinserexylongitude").value == ""){ |
| 478 | 477 | v = $i("i3GEOinserexylongitude").value + " 0" + " 0"; |
| ... | ... | @@ -544,9 +543,9 @@ i3GEOF.inserexy = { |
| 544 | 543 | projecao = ""; |
| 545 | 544 | for (i=0;i<inputs.length; i++){ |
| 546 | 545 | if (inputs[i].checked == true) |
| 547 | - {projecao = inputs[i].value} | |
| 546 | + {projecao = inputs[i].value;} | |
| 548 | 547 | } |
| 549 | - return(projecao) | |
| 548 | + return(projecao); | |
| 550 | 549 | }, |
| 551 | 550 | /* |
| 552 | 551 | Function: adiciona |
| ... | ... | @@ -568,14 +567,12 @@ i3GEOF.inserexy = { |
| 568 | 567 | {return;} |
| 569 | 568 | if(g_tipoacao === "inserexy"){ |
| 570 | 569 | i3GEOF.inserexy.aguarde.visibility = "visible"; |
| 571 | - var doc, | |
| 572 | - tema = $i("i3GEOinserexytemasLocais").value, | |
| 570 | + var tema = $i("i3GEOinserexytemasLocais").value, | |
| 573 | 571 | item = "", |
| 574 | 572 | valoritem = "", |
| 575 | 573 | temp, |
| 576 | 574 | n, |
| 577 | 575 | i, |
| 578 | - temparray, | |
| 579 | 576 | xyn, |
| 580 | 577 | projecao = i3GEOF.inserexy.pegaProjecao(); |
| 581 | 578 | |
| ... | ... | @@ -597,7 +594,7 @@ i3GEOF.inserexy = { |
| 597 | 594 | if(i3GEO.Interface.ATUAL === "padrao") |
| 598 | 595 | {i3GEO.atualiza();} |
| 599 | 596 | i3GEO.Interface.atualizaTema(retorno,tema); |
| 600 | - i3GEOF.inserexy.aguarde.visibility = "hidden" | |
| 597 | + i3GEOF.inserexy.aguarde.visibility = "hidden"; | |
| 601 | 598 | }; |
| 602 | 599 | if(fonte !== undefined){ |
| 603 | 600 | projecao = ""; |
| ... | ... | @@ -678,11 +675,11 @@ i3GEOF.inserexy = { |
| 678 | 675 | $i("i3GEOinserexywktres").innerHTML = "<p class=paragrafo >"+ins+"</p>"; |
| 679 | 676 | } |
| 680 | 677 | else |
| 681 | - {$i("i3GEOinserexywktres").innerHTML = "<p style=color:red >Ocorreu um erro<br>"} | |
| 678 | + {$i("i3GEOinserexywktres").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | |
| 682 | 679 | }; |
| 683 | 680 | for (i=0;i<n;i++) |
| 684 | 681 | {xy.push(divs[i].innerHTML);} |
| 685 | - xy = xy.join(" ") | |
| 682 | + xy = xy.join(" "); | |
| 686 | 683 | cp.set_response_type("JSON"); |
| 687 | 684 | cp.call(i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=mostrawkt&xy="+xy,"xy2wkt",mostra); |
| 688 | 685 | } | ... | ... |
ferramentas/legenda/index.js
| ... | ... | @@ -415,7 +415,7 @@ i3GEOF.legenda = { |
| 415 | 415 | Cria a janela flutuante para controle da ferramenta. |
| 416 | 416 | */ |
| 417 | 417 | criaJanelaFlutuante: function(){ |
| 418 | - var minimiza,cabecalho,janela,divid,temp,titulo,cabecalho,minimiza; | |
| 418 | + var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 419 | 419 | if($i("i3GEOF.legenda")){ |
| 420 | 420 | i3GEOF.legenda.tema = i3GEO.temaAtivo; |
| 421 | 421 | i3GEOF.legenda.inicia("i3GEOF.legenda_corpo"); |
| ... | ... | @@ -684,7 +684,7 @@ i3GEOF.legenda = { |
| 684 | 684 | nn = trs[t].childNodes; |
| 685 | 685 | for (n=0;n<nn.length;n++){ |
| 686 | 686 | if(nn[n].childNodes){ |
| 687 | - var isn = nn[n].getElementsByTagName("input") | |
| 687 | + var isn = nn[n].getElementsByTagName("input"); | |
| 688 | 688 | if (isn[0] != undefined){ |
| 689 | 689 | if(isn[0].name == "nome"){ |
| 690 | 690 | nomes.push(isn[0].value); |
| ... | ... | @@ -940,7 +940,8 @@ i3GEOF.legenda = { |
| 940 | 940 | try{ |
| 941 | 941 | $i("i3GEOlegendaguia1obj").style.display="none"; |
| 942 | 942 | $i("i3GEOlegendaguia3obj").style.display="block"; |
| 943 | - var id = id.split("-"),estilo,p,cp; | |
| 943 | + id = id.split("-"); | |
| 944 | + var p,cp; | |
| 944 | 945 | i3GEOF.legenda.classe = id[1]; |
| 945 | 946 | i3GEOF.legenda.estilo = 0; |
| 946 | 947 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&opcao=pegaparametros&tema="+i3GEOF.legenda.tema+"&classe="+id[1]; |
| ... | ... | @@ -1054,7 +1055,6 @@ i3GEOF.legenda = { |
| 1054 | 1055 | if(i3GEOF.legenda.aguarde.visibility === "visible") |
| 1055 | 1056 | {return;} |
| 1056 | 1057 | var item = $i("i3GEOlegendaSelItem").value, |
| 1057 | - nclasses = $i("i3GEOlegendanclasses").value, | |
| 1058 | 1058 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=alteraclasse&tema="+i3GEOF.legenda.tema+"&item="+item+"&opcao=quartis&ignorar="+$i("i3GEOlegendaignorar").value+"&ext="+i3GEO.parametros.mapexten+"&tipoLegenda="+$i("estiloClassesQuartis").value, |
| 1059 | 1059 | cp = new cpaint(); |
| 1060 | 1060 | fim = function(){ |
| ... | ... | @@ -1273,7 +1273,7 @@ i3GEOF.legenda = { |
| 1273 | 1273 | Muda o valor do campo com o código do símbolo escolhido |
| 1274 | 1274 | */ |
| 1275 | 1275 | aplicaSimbolo: function(s) |
| 1276 | - {$i("i3GEOlegendasymbolname").value = s.title}, | |
| 1276 | + {$i("i3GEOlegendasymbolname").value = s.title;}, | |
| 1277 | 1277 | /* |
| 1278 | 1278 | Function: aplicaEstilo |
| 1279 | 1279 | |
| ... | ... | @@ -1300,7 +1300,7 @@ i3GEOF.legenda = { |
| 1300 | 1300 | pattern = $i("i3GEOlegendapattern").value, |
| 1301 | 1301 | opacidade = $i("i3GEOlegendaopacidade").value, |
| 1302 | 1302 | angle = $i("i3GEOlegendaangulo").value, |
| 1303 | - p,cp,fim; | |
| 1303 | + i,p,cp,fim; | |
| 1304 | 1304 | for (i=0;i<n;i++){ |
| 1305 | 1305 | if(simbolos[i].title == symbolname || symbolname == i) |
| 1306 | 1306 | {valido = "sim";} |
| ... | ... | @@ -1315,7 +1315,7 @@ i3GEOF.legenda = { |
| 1315 | 1315 | fim = function(){ |
| 1316 | 1316 | i3GEOF.legenda.aposAlterarLegenda(); |
| 1317 | 1317 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
| 1318 | - } | |
| 1318 | + }; | |
| 1319 | 1319 | //cp.set_debug(2) |
| 1320 | 1320 | cp.set_response_type("JSON"); |
| 1321 | 1321 | cp.call(p,"editasimbolo",fim); |
| ... | ... | @@ -1348,10 +1348,10 @@ i3GEOF.legenda = { |
| 1348 | 1348 | var monta = function(retorno){ |
| 1349 | 1349 | if (retorno.data[0].proc == "") //o layer nao deve ser raster |
| 1350 | 1350 | { |
| 1351 | - var ins = [],i,id,re,exp,t; | |
| 1351 | + var ins = [],i,re,t; | |
| 1352 | 1352 | ins.push("<p class='paragrafo' ><input type=button value='Gráfico de pizza' id=i3GEOlegendaGraficoPizza /></p>"); |
| 1353 | 1353 | ins.push("<p class='paragrafo' >Número de ocorrências em cada classe (n)</p>"); |
| 1354 | - ins.push("<table width=100% >") | |
| 1354 | + ins.push("<table width=100% >"); | |
| 1355 | 1355 | i3GEOF.legenda.dadosGrafico = ["n;x"]; |
| 1356 | 1356 | if(retorno.data.length < 2){ |
| 1357 | 1357 | alert("O tema deve conter pelo menos 2 classes"); |
| ... | ... | @@ -1373,7 +1373,7 @@ i3GEOF.legenda = { |
| 1373 | 1373 | $i("i3GEOlegendaguia4obj").innerHTML = ins.join(""); |
| 1374 | 1374 | } |
| 1375 | 1375 | else |
| 1376 | - {$i("i3GEOlegendaguia4obj").innerHTML = "<p style=color:red >Ocorreu um erro<br>"} | |
| 1376 | + {$i("i3GEOlegendaguia4obj").innerHTML = "<p style=color:red >Ocorreu um erro<br>";} | |
| 1377 | 1377 | i3GEOF.legenda.aguarde.visibility = "hidden"; |
| 1378 | 1378 | new YAHOO.widget.Button( |
| 1379 | 1379 | "i3GEOlegendaGraficoPizza", |
| ... | ... | @@ -1383,7 +1383,7 @@ i3GEOF.legenda = { |
| 1383 | 1383 | } |
| 1384 | 1384 | }} |
| 1385 | 1385 | ); |
| 1386 | - $i("i3GEOlegendaGraficoPizza-button").style.width = "200px" | |
| 1386 | + $i("i3GEOlegendaGraficoPizza-button").style.width = "200px"; | |
| 1387 | 1387 | }, |
| 1388 | 1388 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=contagemclasse&tema="+i3GEOF.legenda.tema, |
| 1389 | 1389 | cp = new cpaint(); | ... | ... |
ferramentas/metar/index.js
| ... | ... | @@ -198,13 +198,13 @@ i3GEOF.metar = { |
| 198 | 198 | return; |
| 199 | 199 | }, |
| 200 | 200 | argument: { foo:"foo", bar:"bar" } |
| 201 | - } | |
| 201 | + }; | |
| 202 | 202 | if(i3GEO.parametros.mapexten) |
| 203 | 203 | {ext = i3GEO.parametros.mapexten;} |
| 204 | 204 | else |
| 205 | 205 | {ext = "-49.1774741355 -16.379556709 -47.2737662565 -14.9806872512";} //apenas para exemplo |
| 206 | 206 | p = i3GEO.configura.locaplic+"/ferramentas/metar/metarextensao.php?ret="+ext; |
| 207 | - var request = YAHOO.util.Connect.asyncRequest("GET", p, montaResultado); | |
| 207 | + YAHOO.util.Connect.asyncRequest("GET", p, montaResultado); | |
| 208 | 208 | }, |
| 209 | 209 | /* |
| 210 | 210 | Function: mostraxy |
| ... | ... | @@ -229,7 +229,7 @@ i3GEOF.metar = { |
| 229 | 229 | box.style.top = parseInt(xy[1],10)-27+"px"; |
| 230 | 230 | box.style.left = parseInt(xy[0],10)-13+"px"; |
| 231 | 231 | box.style.position = "absolute"; |
| 232 | - box.style.border = "solid 0px red" | |
| 233 | - box.style.zIndex = 5000 | |
| 232 | + box.style.border = "solid 0px red"; | |
| 233 | + box.style.zIndex = 5000; | |
| 234 | 234 | } |
| 235 | 235 | }; | ... | ... |
ferramentas/mostraexten/index.js
| ... | ... | @@ -180,7 +180,7 @@ i3GEOF.mostraExten = { |
| 180 | 180 | {alert("Digite coordenadas válidas");return;} |
| 181 | 181 | if ((x > xx) || (y > yy)) |
| 182 | 182 | {alert("Digite coordenadas válidas");return;} |
| 183 | - i3GEO.navega.zoomExt(i3GEO.configura.locaplic,i3GEO.configura.sid,window.parent.i3GEO.parametros.tipoimagem,(x+" "+y+" "+xx+" "+yy)) | |
| 183 | + i3GEO.navega.zoomExt(i3GEO.configura.locaplic,i3GEO.configura.sid,window.parent.i3GEO.parametros.tipoimagem,(x+" "+y+" "+xx+" "+yy)); | |
| 184 | 184 | } |
| 185 | 185 | catch(e){alert(e+" Erro. Digite coordenadas válidas");} |
| 186 | 186 | } | ... | ... |
ferramentas/nuvemtags/index.js
| ... | ... | @@ -96,9 +96,9 @@ i3GEOF.nuvemtags = { |
| 96 | 96 | $i("i3GEOnuvemtagsguia2").onclick = function(){ |
| 97 | 97 | i3GEO.guias.mostraGuiaFerramenta("i3GEOnuvemtagsguia2","i3GEOnuvemtagsguia"); |
| 98 | 98 | |
| 99 | - var ins = "<p class=paragrafo >Escolha o RSS para cruzar com a lista de tags ou digite um novo valor</p>", | |
| 99 | + var i,ins = "<p class=paragrafo >Escolha o RSS para cruzar com a lista de tags ou digite um novo valor</p>", | |
| 100 | 100 | n = i3GEOF.nuvemtags.listaRSS.length; |
| 101 | - ins += $inputText("","","i3GEOnuvemtagsRSS","",65,"") | |
| 101 | + ins += $inputText("","","i3GEOnuvemtagsRSS","",65,""); | |
| 102 | 102 | ins += "<br><br><p class=paragrafo ><select onchange='javascript:$i(\"i3GEOnuvemtagsRSS\").value = this.value' >"; |
| 103 | 103 | ins += "<option value='' >---</option>"; |
| 104 | 104 | for (i=0;i<n;i++){ |
| ... | ... | @@ -123,7 +123,7 @@ i3GEOF.nuvemtags = { |
| 123 | 123 | i3GEO.guias.mostraGuiaFerramenta("i3GEOnuvemtagsguia1","i3GEOnuvemtagsguia"); |
| 124 | 124 | }; |
| 125 | 125 | if (rss == ""){alert("Digite um endereco RSS");return;} |
| 126 | - i3GEOF.nuvemtags.aguarde.visibility = "visible" | |
| 126 | + i3GEOF.nuvemtags.aguarde.visibility = "visible"; | |
| 127 | 127 | cp.set_response_type("JSON"); |
| 128 | 128 | cp.call(p,"listaTags",temp); |
| 129 | 129 | } |
| ... | ... | @@ -168,7 +168,7 @@ i3GEOF.nuvemtags = { |
| 168 | 168 | dados {JSON} - dados para o gráfico |
| 169 | 169 | */ |
| 170 | 170 | criaJanelaFlutuante: function(dados){ |
| 171 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 171 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 172 | 172 | //cria a janela flutuante |
| 173 | 173 | cabecalho = function(){ |
| 174 | 174 | i3GEOF.nuvemtags.ativaFoco(); |
| ... | ... | @@ -240,7 +240,7 @@ i3GEOF.nuvemtags = { |
| 240 | 240 | cor = "98,186,192"; |
| 241 | 241 | h = retorno.data[i].temas.length*1 + 6; |
| 242 | 242 | if(h > 23) |
| 243 | - {var h = 23;} | |
| 243 | + {h = 23;} | |
| 244 | 244 | linkrss = ""; |
| 245 | 245 | if(retorno.data[i].noticias.length > 0){ |
| 246 | 246 | cor = "255,0,0"; |
| ... | ... | @@ -253,7 +253,7 @@ i3GEOF.nuvemtags = { |
| 253 | 253 | } |
| 254 | 254 | } |
| 255 | 255 | else |
| 256 | - {tags = "Nenhum tag encontrado"} | |
| 256 | + {tags = "Nenhum tag encontrado";} | |
| 257 | 257 | $i("i3GEOnuvemtagsguia1obj").innerHTML = tags; |
| 258 | 258 | new YAHOO.widget.Button( |
| 259 | 259 | "i3GEOnuvemtagsbotao1", | ... | ... |
ferramentas/nuvemtagsflash/index.htm
| 1 | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 | 2 | <head> |
| 3 | - <link rel="stylesheet" type="text/css" href="../../css/i3geo.css"> | |
| 4 | - <link rel="stylesheet" type="text/css" href="../../css/i3geo_ferramentas45.css"> | |
| 3 | + <link rel="stylesheet" type="text/css" href="../../css/i3geo.css"></link> | |
| 4 | + <link rel="stylesheet" type="text/css" href="../../css/i3geo_ferramentas45.css"></link> | |
| 5 | 5 | <style type="text/css"> |
| 6 | 6 | .yuibutton button{padding-left:2em;background:url(../../imagens/tic.png) 5% 50% no-repeat;} |
| 7 | 7 | |
| ... | ... | @@ -27,23 +27,23 @@ |
| 27 | 27 | </head> |
| 28 | 28 | <body class="yui-skin-sam" style="overflow:auto;background-color: white"> |
| 29 | 29 | <div style="width:95%;top:5px;left:5px;background-color: white"> |
| 30 | - Você pode cruzar a nuvem de tags com um RSS de notícias. Digite abaixo o endereço do RSS: | |
| 30 | + Você pode cruzar a nuvem de tags com um RSS de not�cias. Digite abaixo o endereço do RSS: | |
| 31 | 31 | </div> |
| 32 | 32 | <div id="textoautocomplete" style="text-align:left;"> |
| 33 | - <input id="texto" style="text-align:left" type="text"> | |
| 33 | + <input id="texto" style="text-align:left" type="text" ></input> | |
| 34 | 34 | <div id="textocontainer" style="top:1.4em;left:-10px"></div> |
| 35 | 35 | </div> |
| 36 | 36 | <div style="position:absolute;top:45px;left:155px"> |
| 37 | - <input title="número de notícias" type=text class=digitar id=nrss value="20" size=2 /> | |
| 37 | + <input title="número de notÃcias" type=text class=digitar id=nrss value="20" size=2 ></input> | |
| 38 | 38 | </div> |
| 39 | 39 | <div style='width:10px;position:absolute;text-align:left;left:200px;top:40px'> |
| 40 | - <input id=botao1 size=18 class=executar type='button' value='Cruzar' /> | |
| 40 | + <input id=botao1 size=18 class=executar type='button' value='Cruzar' ></input> | |
| 41 | 41 | </div> |
| 42 | 42 | |
| 43 | 43 | <div style="position:absolute;top:70px;left:5px;display:block;width:90%;text-align:justify;" id="resultado" >Aguarde...</div> |
| 44 | 44 | |
| 45 | 45 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 46 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 46 | +<script type="text/javascript" src="index.js"></script> | |
| 47 | 47 | <script type="text/javascript" src="../../pacotes/wpcumulus/swfobject.js"></script> |
| 48 | 48 | <script> |
| 49 | 49 | iniciaNuvem() | ... | ... |
ferramentas/nuvemtagsflash/index.js
| ... | ... | @@ -36,9 +36,9 @@ function iniciaNuvem(){ |
| 36 | 36 | YAHOO.util.Event.onContentReady("botao1", onPushButtonsMarkupReady); |
| 37 | 37 | |
| 38 | 38 | |
| 39 | - }() | |
| 40 | - aguarde("block") | |
| 41 | - parametrosURL() | |
| 39 | + }(); | |
| 40 | + aguarde("block"); | |
| 41 | + parametrosURL(); | |
| 42 | 42 | inicio = 0; |
| 43 | 43 | tagsFlash; |
| 44 | 44 | palavra = ""; |
| ... | ... | @@ -46,46 +46,44 @@ function iniciaNuvem(){ |
| 46 | 46 | if (temp[1]) |
| 47 | 47 | {palavra = (temp[1].split("&"))[0];} |
| 48 | 48 | if(palavra != "") |
| 49 | - procurar(palavra) | |
| 49 | + procurar(palavra); | |
| 50 | 50 | } |
| 51 | 51 | function montaNuvem(r) |
| 52 | 52 | { |
| 53 | - retorno = r; | |
| 53 | + var i,tags = "",retorno = r; | |
| 54 | 54 | if(retorno.data) |
| 55 | 55 | { |
| 56 | - var tags ="Clique na TAG para localizar temas relacionados<br><br><span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='javascript:inicio = inicio+2;montaNuvem(retorno);' style='cursor:pointer;vertical-align:middle;color:navy;font-size:'12'pt;'>menos</span><span> </span>" | |
| 57 | - tags +="<span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='javascript:inicio = inicio-2;montaNuvem(retorno);' style='cursor:pointer;vertical-align:middle;color:navy;font-size:'12'pt;'>mais</span><span> </span>" | |
| 58 | - tags +="<span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='javascript:flash();' style='cursor:pointer;vertical-align:middle;color:navy;font-size:'12'pt;'>animar</span><br><br>" | |
| 56 | + tags ="Clique na TAG para localizar temas relacionados<br><br><span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='javascript:inicio = inicio+2;montaNuvem(retorno);' style='cursor:pointer;vertical-align:middle;color:navy;font-size:'12'pt;'>menos</span><span> </span>"; | |
| 57 | + tags +="<span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='javascript:inicio = inicio-2;montaNuvem(retorno);' style='cursor:pointer;vertical-align:middle;color:navy;font-size:'12'pt;'>mais</span><span> </span>"; | |
| 58 | + tags +="<span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='javascript:flash();' style='cursor:pointer;vertical-align:middle;color:navy;font-size:'12'pt;'>animar</span><br><br>"; | |
| 59 | 59 | |
| 60 | 60 | if((inicio < 0) || (inicio > retorno.data.length)){return;} |
| 61 | 61 | for (i=0;i<retorno.data.length;i++) |
| 62 | 62 | { |
| 63 | 63 | if(retorno.data[i].temas.length*1 >= inicio) |
| 64 | 64 | { |
| 65 | - var cor = "98,186,192"; | |
| 66 | - var h = retorno.data[i].temas.length*1 + 6 | |
| 67 | - if(h > 23){var h = 23;} | |
| 65 | + var h = retorno.data[i].temas.length*1 + 6; | |
| 66 | + if(h > 23){h = 23;} | |
| 68 | 67 | { |
| 69 | 68 | var linkrss = ""; |
| 70 | 69 | if(retorno.data[i].noticias.length > 0) |
| 71 | 70 | { |
| 72 | - var cor = "255,0,0"; | |
| 73 | 71 | for (r=0;r<retorno.data[i].noticias.length;r++) |
| 74 | 72 | { |
| 75 | 73 | linkrss += "<span><a href='"+retorno.data[i].noticias[r].link+"' target=blanck ><img style=cursor:pointer src='../../imagens/mais.png' title='"+retorno.data[i].noticias[r].titulo+"'/></a></span>" ; |
| 76 | 74 | } |
| 77 | 75 | } |
| 78 | - tags += "<span> </span> <span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='procurar(\""+retorno.data[i].tag+"\")' style='cursor:pointer;vertical-align:middle;color:rgb("+cor+");font-size:"+h+"pt;'>"+retorno.data[i].tag+"</span>"+linkrss | |
| 76 | + tags += "<span> </span> <span onmouseout='this.style.textDecoration=\"none\"' onmouseover='this.style.textDecoration=\"underline\"' onclick='procurar(\""+retorno.data[i].tag+"\")' style='cursor:pointer;vertical-align:middle;color:rgb("+cor+");font-size:"+h+"pt;'>"+retorno.data[i].tag+"</span>"+linkrss; | |
| 79 | 77 | if(h > 7) |
| 80 | - tagsFlash += "<a href='index.htm?palavra="+retorno.data[i].tag+"' target='_top' style='font-size:"+(h - 15)+"px;color:red;' >"+retorno.data[i].tag+"</a>" | |
| 78 | + tagsFlash += "<a href='index.htm?palavra="+retorno.data[i].tag+"' target='_top' style='font-size:"+(h - 15)+"px;color:red;' >"+retorno.data[i].tag+"</a>"; | |
| 81 | 79 | } |
| 82 | 80 | } |
| 83 | 81 | } |
| 84 | 82 | } |
| 85 | 83 | else |
| 86 | - {var tags = "Nenhum tag encontrado"} | |
| 84 | + {tags = "Nenhum tag encontrado";} | |
| 87 | 85 | $i("resultado").innerHTML = tags; |
| 88 | - aguarde("none") | |
| 86 | + aguarde("none"); | |
| 89 | 87 | } |
| 90 | 88 | //pega a lista de tags |
| 91 | 89 | $i("resultado").innerHTML = "Aguarde..."; |
| ... | ... | @@ -99,16 +97,16 @@ function procurar(texto) |
| 99 | 97 | { |
| 100 | 98 | if(window.parent.document.getElementById("i3geo_buscatema")) |
| 101 | 99 | { |
| 102 | - window.parent.document.getElementById("i3geo_buscatema").value = texto | |
| 100 | + window.parent.document.getElementById("i3geo_buscatema").value = texto; | |
| 103 | 101 | window.parent.i3GEO.arvoreDeTemas.buscaTema(texto); |
| 104 | 102 | } |
| 105 | 103 | } |
| 106 | 104 | |
| 107 | 105 | function buscarss() |
| 108 | 106 | { |
| 109 | - var rss = $i("texto").value | |
| 107 | + var rss = $i("texto").value; | |
| 110 | 108 | if (rss == ""){alert("Digite um endereco RSS");return;} |
| 111 | - aguarde("block") | |
| 109 | + aguarde("block"); | |
| 112 | 110 | $i("resultado").innerHTML = "Aguarde..."; |
| 113 | 111 | var cp = new cpaint(); |
| 114 | 112 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/opacidademapa/index.js
| ... | ... | @@ -115,7 +115,7 @@ i3GEOF.opacidademapa = { |
| 115 | 115 | minimiza = function(){ |
| 116 | 116 | i3GEO.janela.minimiza("i3GEOF.opacidademapa"); |
| 117 | 117 | }; |
| 118 | - var janela,divid,temp,titulo; | |
| 118 | + var janela,divid,titulo; | |
| 119 | 119 | //cria a janela flutuante |
| 120 | 120 | titulo = "Opacidade <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=5&idajuda=102' > </a>"; |
| 121 | 121 | janela = i3GEO.janela.cria( | ... | ... |
ferramentas/opcoes_autoredesenha/index.htm
| ... | ... | @@ -12,7 +12,7 @@ body { |
| 12 | 12 | } |
| 13 | 13 | </style> |
| 14 | 14 | </head> |
| 15 | -<body name="ancora" class="yui-skin-sam"> | |
| 15 | +<body class="yui-skin-sam"> | |
| 16 | 16 | <table summary="" class=lista3 width="100%"> |
| 17 | 17 | <tr> |
| 18 | 18 | <td>Tempo em segundos após o qual o mapa será redesenhado automaticamente:</td> |
| ... | ... | @@ -25,6 +25,6 @@ body { |
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 28 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 28 | +<script type="text/javascript" src="index.js"></script> | |
| 29 | 29 | </body> |
| 30 | 30 | </html> |
| 31 | 31 | \ No newline at end of file | ... | ... |
ferramentas/opcoes_autoredesenha/index.js
| ... | ... | @@ -98,7 +98,7 @@ i3GEOF.opcoesTempo = { |
| 98 | 98 | Cria a janela flutuante para controle da ferramenta. |
| 99 | 99 | */ |
| 100 | 100 | criaJanelaFlutuante: function(){ |
| 101 | - var janela,divid,temp,titulo; | |
| 101 | + var janela,divid,titulo; | |
| 102 | 102 | cabecalho = function(){}; |
| 103 | 103 | minimiza = function(){ |
| 104 | 104 | i3GEO.janela.minimiza("i3GEOF.opcoesTempo"); | ... | ... |
ferramentas/opcoes_escala/index.js
| ... | ... | @@ -141,7 +141,7 @@ i3GEOF.opcoesEscala = { |
| 141 | 141 | Cria a janela flutuante para controle da ferramenta. |
| 142 | 142 | */ |
| 143 | 143 | criaJanelaFlutuante: function(){ |
| 144 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 144 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 145 | 145 | cabecalho = function(){}; |
| 146 | 146 | minimiza = function(){ |
| 147 | 147 | i3GEO.janela.minimiza("i3GEOF.opcoesEscala"); | ... | ... |
ferramentas/opcoes_fundo/index.js
| ... | ... | @@ -100,7 +100,7 @@ i3GEOF.opcoesFundo = { |
| 100 | 100 | Cria a janela flutuante para controle da ferramenta. |
| 101 | 101 | */ |
| 102 | 102 | criaJanelaFlutuante: function(){ |
| 103 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 103 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 104 | 104 | cabecalho = function(){}; |
| 105 | 105 | minimiza = function(){ |
| 106 | 106 | i3GEO.janela.minimiza("i3GEOF.opcoesFundo"); | ... | ... |
ferramentas/opcoes_legenda/index.js
| ... | ... | @@ -152,7 +152,7 @@ i3GEOF.opcoesLegenda = { |
| 152 | 152 | Cria a janela flutuante para controle da ferramenta. |
| 153 | 153 | */ |
| 154 | 154 | criaJanelaFlutuante: function(){ |
| 155 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 155 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 156 | 156 | cabecalho = function(){}; |
| 157 | 157 | minimiza = function(){ |
| 158 | 158 | i3GEO.janela.minimiza("i3GEOF.opcoesLegenda"); | ... | ... |
ferramentas/opcoes_quadros/index.js
| ... | ... | @@ -104,7 +104,7 @@ i3GEOF.opcoesQuadros = { |
| 104 | 104 | Cria a janela flutuante para controle da ferramenta. |
| 105 | 105 | */ |
| 106 | 106 | criaJanelaFlutuante: function(){ |
| 107 | - var janela,divid,temp,titulo; | |
| 107 | + var janela,divid,titulo; | |
| 108 | 108 | cabecalho = function(){}; |
| 109 | 109 | minimiza = function(){ |
| 110 | 110 | i3GEO.janela.minimiza("i3GEOF.opcoesQuadros"); | ... | ... |
ferramentas/opcoes_querymap/index.htm
| ... | ... | @@ -12,7 +12,7 @@ body { |
| 12 | 12 | } |
| 13 | 13 | </style> |
| 14 | 14 | </head> |
| 15 | -<body name="ancora" class="yui-skin-sam" > | |
| 15 | +<body class="yui-skin-sam" > | |
| 16 | 16 | <br> |
| 17 | 17 | <div style="top:0px;left:0px;text-align:left;"> |
| 18 | 18 | <input style="cursor:text" size=12 class=digitar type='text' id=cor value='' /> |
| ... | ... | @@ -22,6 +22,6 @@ body { |
| 22 | 22 | <input size=20 id=botao1 type=button value="Aplica" /><br><br> |
| 23 | 23 | </div> |
| 24 | 24 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 25 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 25 | +<script type="text/javascript" src="index.js"></script> | |
| 26 | 26 | </body> |
| 27 | 27 | </html> |
| 28 | 28 | \ No newline at end of file | ... | ... |
ferramentas/opcoes_querymap/index.js
| ... | ... | @@ -100,7 +100,7 @@ i3GEOF.opcoesQuery = { |
| 100 | 100 | Cria a janela flutuante para controle da ferramenta. |
| 101 | 101 | */ |
| 102 | 102 | criaJanelaFlutuante: function(){ |
| 103 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 103 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 104 | 104 | cabecalho = function(){}; |
| 105 | 105 | minimiza = function(){ |
| 106 | 106 | i3GEO.janela.minimiza("i3GEOF.opcoesQuery"); | ... | ... |
ferramentas/outputformat/index.js
| ... | ... | @@ -96,7 +96,7 @@ i3GEOF.outputformat = { |
| 96 | 96 | Cria a janela flutuante para controle da ferramenta. |
| 97 | 97 | */ |
| 98 | 98 | criaJanelaFlutuante: function(){ |
| 99 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 99 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 100 | 100 | cabecalho = function(){}; |
| 101 | 101 | minimiza = function(){ |
| 102 | 102 | i3GEO.janela.minimiza("i3GEOF.outputformat"); | ... | ... |
ferramentas/perfil/index.js
| ... | ... | @@ -113,7 +113,7 @@ i3GEOF.perfil = { |
| 113 | 113 | pontos = {xpt: [],ypt:[]}; //xpt são os valores de x (array) e ypt os valores de y (array) |
| 114 | 114 | */ |
| 115 | 115 | criaJanelaFlutuante: function(pontos){ |
| 116 | - var minimiza,cabecalho,janela,divid,temp,titulo,cabecalho,minimiza; | |
| 116 | + var minimiza,cabecalho,janela,divid,titulo; | |
| 117 | 117 | i3GEOF.perfil.pontos = pontos; |
| 118 | 118 | //cria a janela flutuante |
| 119 | 119 | titulo = "Perfil <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=3&idajuda=96' > </a>"; |
| ... | ... | @@ -151,10 +151,7 @@ i3GEOF.perfil = { |
| 151 | 151 | try{ |
| 152 | 152 | if(i3GEOF.perfil.aguarde.visibility === "visible") |
| 153 | 153 | {return;} |
| 154 | - var temp, | |
| 155 | - p, | |
| 156 | - cp; | |
| 157 | - fim = function(retorno){ | |
| 154 | + var fim = function(retorno){ | |
| 158 | 155 | i3GEOF.perfil.aguarde.visibility = "hidden"; |
| 159 | 156 | if (retorno.data === undefined ) |
| 160 | 157 | {$i("i3GEOperfilfim").innerHTML = "Erro.";return;} |
| ... | ... | @@ -223,7 +220,7 @@ i3GEOF.perfil = { |
| 223 | 220 | ys = i3GEOF.perfil.pontos.xpt; |
| 224 | 221 | } |
| 225 | 222 | for(i=0;i<n;i++){ |
| 226 | - lista.push(ys[i]+" "+xs[i]) | |
| 223 | + lista.push(ys[i]+" "+xs[i]); | |
| 227 | 224 | } |
| 228 | 225 | return lista.toString(","); |
| 229 | 226 | }, | ... | ... |
ferramentas/planosmanejoflorestal/pesquisa.htm
| ... | ... | @@ -77,18 +77,18 @@ height: 35px; |
| 77 | 77 | </STYLE> |
| 78 | 78 | <title></title> |
| 79 | 79 | </head> |
| 80 | -<body name="ancora" class="yui-skin-sam"> | |
| 80 | +<body class="yui-skin-sam"> | |
| 81 | 81 | <SCRIPT src="../../pacotes/cpaint/cpaint2.inc.compressed.js" type="text/javascript" ></script> |
| 82 | 82 | |
| 83 | 83 | <FONT face=Arial color=#808000 size=4>Planos de Manejo - Pesquisa</FONT><br> |
| 84 | 84 | Planos de manejo florestal cadastrados no IBAMA. <a href="http://www.mma.gov.br/index.php?ido=conteudo.monta&idEstrutura=113&idConteudo=5588" >Mais info...</a> |
| 85 | 85 | <FORM name=frmPlanoDeManejo> |
| 86 | -<DIV id=estado><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Estado</FONT><BR><SELECT class=combo id=cboEstado name=cboEstado> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=AC>Acre</OPTION> <OPTION class=combo value=AP>Amapá</OPTION> <OPTION class=combo value=AM>Amazonas</OPTION> <OPTION class=combo value=MA>Maranhão</OPTION> <OPTION class=combo value=MT>Mato Grosso</OPTION> <OPTION class=combo value=PA>Pará</OPTION> <OPTION class=combo value=RO>Rondônia</OPTION> <OPTION class=combo value=RR>Roraima</OPTION> <OPTION class=combo value=TO>Tocantins</OPTION></SELECT></DIV> | |
| 86 | +<DIV id=estado><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Estado</FONT><BR><SELECT class=combo id=cboEstado name=cboEstado> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=AC>Acre</OPTION> <OPTION class=combo value=AP>Amap�</OPTION> <OPTION class=combo value=AM>Amazonas</OPTION> <OPTION class=combo value=MA>Maranh�o</OPTION> <OPTION class=combo value=MT>Mato Grosso</OPTION> <OPTION class=combo value=PA>Par�</OPTION> <OPTION class=combo value=RO>Rond�nia</OPTION> <OPTION class=combo value=RR>Roraima</OPTION> <OPTION class=combo value=TO>Tocantins</OPTION></SELECT></DIV> | |
| 87 | 87 | <DIV id=ano><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Ano - AUTEX</FONT><BR><SELECT class=combo name=cboAno> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=2007>2007</OPTION> <OPTION class=combo value=2006>2006</OPTION> <OPTION class=combo value=2005>2005</OPTION> <OPTION class=combo value=2004>2004</OPTION> <OPTION class=combo value=2003>2003</OPTION> </SELECT></DIV> |
| 88 | -<DIV id=mes><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Mês</FONT><BR><SELECT class=combo name=cboMes> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=01>Janeiro</OPTION> <OPTION class=combo value=02>Fevereiro</OPTION> <OPTION class=combo value=03>Março</OPTION> <OPTION class=combo value=04>Abril</OPTION> <OPTION class=combo value=05>Maio</OPTION> <OPTION class=combo value=06>Junho</OPTION> <OPTION class=combo value=07>Julho</OPTION> <OPTION class=combo value=08>Agosto</OPTION> <OPTION class=combo value=09>Setembro</OPTION> <OPTION class=combo value=10>Outubro</OPTION> <OPTION class=combo value=11>Novembro</OPTION> <OPTION class=combo value=12>Dezembro</OPTION></SELECT> </DIV> | |
| 88 | +<DIV id=mes><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>M�s</FONT><BR><SELECT class=combo name=cboMes> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=01>Janeiro</OPTION> <OPTION class=combo value=02>Fevereiro</OPTION> <OPTION class=combo value=03>Mar�o</OPTION> <OPTION class=combo value=04>Abril</OPTION> <OPTION class=combo value=05>Maio</OPTION> <OPTION class=combo value=06>Junho</OPTION> <OPTION class=combo value=07>Julho</OPTION> <OPTION class=combo value=08>Agosto</OPTION> <OPTION class=combo value=09>Setembro</OPTION> <OPTION class=combo value=10>Outubro</OPTION> <OPTION class=combo value=11>Novembro</OPTION> <OPTION class=combo value=12>Dezembro</OPTION></SELECT> </DIV> | |
| 89 | 89 | <DIV id=cnpj><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>CNPJ/CPF - Detentor</FONT><BR><INPUT class=combo name=txtCnpj /></DIV> |
| 90 | -<DIV id=categoria><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Categoria</FONT><BR><SELECT class=combo name=cboCategoria> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=0>Pequena Escala</OPTION> <OPTION class=combo value=1>Empresarial</OPTION> <OPTION class=combo value=2>Comunitário de Pequena Escala</OPTION> <OPTION class=combo value=3>Manejo em Regime Especial em Volume</OPTION> <OPTION class=combo value=4>Palmeiras</OPTION> <OPTION class=combo value=5>Comunitário Empresarial</OPTION> <OPTION value=6>Em Certificação</OPTION></SELECT></DIV> | |
| 91 | -<DIV id=situacao><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Situação</FONT><BR><SELECT class=combo name=cboSituacao> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=0>Apto</OPTION> <OPTION class=combo value=1>Suspenso</OPTION> <OPTION class=combo value=2>Cancelado</OPTION> <OPTION class=combo value=3>Indeferido</OPTION> <OPTION class=combo value=4>Em análise</OPTION> <OPTION class=combo value=5>Em análise com pendência</OPTION> <OPTION class=combo value=6>Manutenção</OPTION> <OPTION class=combo value=7>Cadastro inicial</OPTION></SELECT></DIV> | |
| 90 | +<DIV id=categoria><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Categoria</FONT><BR><SELECT class=combo name=cboCategoria> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=0>Pequena Escala</OPTION> <OPTION class=combo value=1>Empresarial</OPTION> <OPTION class=combo value=2>Comunit�rio de Pequena Escala</OPTION> <OPTION class=combo value=3>Manejo em Regime Especial em Volume</OPTION> <OPTION class=combo value=4>Palmeiras</OPTION> <OPTION class=combo value=5>Comunit�rio Empresarial</OPTION> <OPTION value=6>Em Certifica��o</OPTION></SELECT></DIV> | |
| 91 | +<DIV id=situacao><FONT face="Verdana, Arial, Helvetica, sans-serif" size=1>Situa��o</FONT><BR><SELECT class=combo name=cboSituacao> <OPTION class=combo value=TODOS selected>Todos</OPTION> <OPTION class=combo value=0>Apto</OPTION> <OPTION class=combo value=1>Suspenso</OPTION> <OPTION class=combo value=2>Cancelado</OPTION> <OPTION class=combo value=3>Indeferido</OPTION> <OPTION class=combo value=4>Em an�lise</OPTION> <OPTION class=combo value=5>Em an�lise com pend�ncia</OPTION> <OPTION class=combo value=6>Manuten��o</OPTION> <OPTION class=combo value=7>Cadastro inicial</OPTION></SELECT></DIV> | |
| 92 | 92 | <DIV id=pesquisar> |
| 93 | 93 | <INPUT class=combo onclick=executa() type=button value=Pesquisar /> |
| 94 | 94 | </DIV> |
| ... | ... | @@ -120,7 +120,7 @@ function listaretornof(retorno) |
| 120 | 120 | window.parent.i3GEO.atualiza(); |
| 121 | 121 | } |
| 122 | 122 | else |
| 123 | - {document.getElementById("ResultadoPesquisa").innerHTML = "<b>Erro. O mapa não pode ser criado!"} | |
| 123 | + {document.getElementById("ResultadoPesquisa").innerHTML = "<b>Erro. O mapa n�o pode ser criado!"} | |
| 124 | 124 | } |
| 125 | 125 | </script> |
| 126 | 126 | </body> | ... | ... |
ferramentas/pontoempoligono/index.js
| ... | ... | @@ -123,9 +123,9 @@ i3GEOF.pontoEmPoligono = { |
| 123 | 123 | }, |
| 124 | 124 | t0: function() |
| 125 | 125 | { |
| 126 | - var ins = "<p class='paragrafo'>Ponto em polígono é uma operação que resulta em um novo tema contendo o cruzamento entre um tema com pontos e outros com polígonos ou raster." | |
| 127 | - ins += "<p class='paragrafo'>As informações do tema poligonal serão inseridas na tabela de atributos de um novo tema do tipo pontual." | |
| 128 | - ins += "<p class='paragrafo'>Para gerar o cruzamento é necessário que no mapa exista pelo menos um tema poligonal e um com os pontos." | |
| 126 | + var ins = "<p class='paragrafo'>Ponto em polígono é uma operação que resulta em um novo tema contendo o cruzamento entre um tema com pontos e outros com polígonos ou raster."; | |
| 127 | + ins += "<p class='paragrafo'>As informações do tema poligonal serão inseridas na tabela de atributos de um novo tema do tipo pontual."; | |
| 128 | + ins += "<p class='paragrafo'>Para gerar o cruzamento é necessário que no mapa exista pelo menos um tema poligonal e um com os pontos."; | |
| 129 | 129 | i3GEO.util.proximoAnterior("","i3GEOF.pontoEmPoligono.t1()",ins,"i3GEOFgradeDePontost0","i3GEOpontoEmPoligonoresultado"); |
| 130 | 130 | }, |
| 131 | 131 | t1: function(){ |
| ... | ... | @@ -145,7 +145,7 @@ i3GEOF.pontoEmPoligono = { |
| 145 | 145 | {erro.call();} |
| 146 | 146 | else |
| 147 | 147 | { |
| 148 | - var ins = "<p class='paragrafo'>Escolha os temas que serão utilizados para cruzar com os pontos:" | |
| 148 | + var ins = "<p class='paragrafo'>Escolha os temas que serão utilizados para cruzar com os pontos:"; | |
| 149 | 149 | ins += "<div id='i3GEOpontoEmPoligonoSelTemasPo' style='text-align:left;font-size:11px'></div>"; |
| 150 | 150 | i3GEO.util.proximoAnterior("i3GEOF.pontoEmPoligono.t1()","i3GEOF.pontoEmPoligono.t3()",ins,"i3GEOF.pontoEmPoligono.t2","i3GEOpontoEmPoligonoresultado"); |
| 151 | 151 | i3GEOF.pontoEmPoligono.comboTemasSelPo(); |
| ... | ... | @@ -200,7 +200,7 @@ i3GEOF.pontoEmPoligono = { |
| 200 | 200 | i3GEO.atualiza(); |
| 201 | 201 | i3GEO.janela.mensagemSimples(retorno.data,"Colunas"); |
| 202 | 202 | } |
| 203 | - } | |
| 203 | + }; | |
| 204 | 204 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=pontoEmPoligono&temaPt="+temapt+"&temasPo="+tsl.join(",")+"&ext="+i3GEO.parametros.mapexten; |
| 205 | 205 | cp = new cpaint(); |
| 206 | 206 | cp.set_response_type("JSON"); | ... | ... |
ferramentas/redessociais/index.php
ferramentas/salvamapa/index.js
| ... | ... | @@ -96,7 +96,7 @@ i3GEOF.salvaMapa = { |
| 96 | 96 | Cria a janela flutuante para controle da ferramenta. |
| 97 | 97 | */ |
| 98 | 98 | criaJanelaFlutuante: function(){ |
| 99 | - var janela,divid,temp,titulo; | |
| 99 | + var janela,divid,titulo; | |
| 100 | 100 | titulo = "Salva o mapa <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=2&idajuda=10' > </a>"; |
| 101 | 101 | janela = i3GEO.janela.cria( |
| 102 | 102 | "300px", | ... | ... |
ferramentas/salvamapfile/index.js
| ... | ... | @@ -72,7 +72,7 @@ i3GEOF.salvamapfile = { |
| 72 | 72 | var nome = retorno.data.nomeoriginal; |
| 73 | 73 | if(nome == "") |
| 74 | 74 | { |
| 75 | - $i(iddiv).innerHTML = "<p class=paragrafo >Não existe um arquivo mapfile em i3geo/temas já criado para essa camada. Utilize o sistema de administração para <a href='"+i3GEO.configura.locaplic+"/admin/html/editormapfile.html' target=_blank >criar um</a>" | |
| 75 | + $i(iddiv).innerHTML = "<p class=paragrafo >Não existe um arquivo mapfile em i3geo/temas já criado para essa camada. Utilize o sistema de administração para <a href='"+i3GEO.configura.locaplic+"/admin/html/editormapfile.html' target=_blank >criar um</a>"; | |
| 76 | 76 | } |
| 77 | 77 | else |
| 78 | 78 | { |
| ... | ... | @@ -101,7 +101,7 @@ i3GEOF.salvamapfile = { |
| 101 | 101 | Cria a janela flutuante para controle da ferramenta. |
| 102 | 102 | */ |
| 103 | 103 | criaJanelaFlutuante: function(){ |
| 104 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 104 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 105 | 105 | cabecalho = function(){}; |
| 106 | 106 | minimiza = function(){ |
| 107 | 107 | i3GEO.janela.minimiza("i3GEOF.salvamapfile"); | ... | ... |
ferramentas/scielo/index.htm
| ... | ... | @@ -5,10 +5,10 @@ |
| 5 | 5 | <title></title> |
| 6 | 6 | </head> |
| 7 | 7 | |
| 8 | - <body name="ancora" class="yui-skin-sam" > | |
| 8 | + <body class="yui-skin-sam" > | |
| 9 | 9 | <div style="top:0px;left:5px;display:block;width:100%;height:150px;overflow:auto" id="resultadoscielo" >Aguarde...</div> |
| 10 | 10 | |
| 11 | 11 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 12 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 12 | +<script type="text/javascript" src="index.js"></script> | |
| 13 | 13 | </body> |
| 14 | 14 | </html> |
| 15 | 15 | \ No newline at end of file | ... | ... |
ferramentas/selecao/index.js
| ... | ... | @@ -136,7 +136,7 @@ i3GEOF.selecao = { |
| 136 | 136 | '<div class=guiaobj id="i3GEOselecaoguia1obj" style="left:1px;display:none;top:-5px">' + |
| 137 | 137 | ' <p class=paragrafo ><button title="Clique no mapa para selecionar" value="i3GEOselecaopt" onclick="i3GEOF.selecao.tiposel(this)"><img id=i3GEOselecaopt src="'+i3GEO.configura.locaplic+'/imagens/gisicons/select-one.png" /></button>'; |
| 138 | 138 | if(i3GEO.Interface.ATUAL != "googlemaps" && i3GEO.Interface.ATUAL != "googleearth") |
| 139 | - {ins += ' <button title="Desenhe um poligono no mapa para selecionar" onclick="i3GEOF.selecao.tiposel(this)" value="i3GEOselecaopoli"><img id=i3GEOselecaopoli src="'+i3GEO.configura.locaplic+'/imagens/gisicons/select-polygon.png" /></button>'} | |
| 139 | + {ins += ' <button title="Desenhe um poligono no mapa para selecionar" onclick="i3GEOF.selecao.tiposel(this)" value="i3GEOselecaopoli"><img id=i3GEOselecaopoli src="'+i3GEO.configura.locaplic+'/imagens/gisicons/select-polygon.png" /></button>';} | |
| 140 | 140 | ins += ' <button title="Seleciona o que estiver visivel no mapa" onclick="i3GEOF.selecao.tiposel(this)" value="i3GEOselecaoext" ><img id=i3GEOselecaoext src="'+i3GEO.configura.locaplic+'/imagens/gisicons/map.png" /></button>'; |
| 141 | 141 | if(i3GEO.Interface.ATUAL != "googlemaps" && i3GEO.Interface.ATUAL != "googleearth") |
| 142 | 142 | {ins += ' <button title="Desenhe um retangulo no mapa para selecionar" onclick="i3GEOF.selecao.tiposel(this)" value="i3GEOselecaobox" ><img id=i3GEOselecaobox src="'+i3GEO.configura.locaplic+'/imagens/gisicons/select-rectangle.png" /></button>';} |
| ... | ... | @@ -410,7 +410,7 @@ i3GEOF.selecao = { |
| 410 | 410 | i3GEOF.selecao.mudaicone(); |
| 411 | 411 | obj.style.backgroundColor = "#cedff2"; |
| 412 | 412 | g_tipoacao = "selecaopoli"; |
| 413 | - i3GEOF.selecao.poligono.inicia() | |
| 413 | + i3GEOF.selecao.poligono.inicia(); | |
| 414 | 414 | } |
| 415 | 415 | } |
| 416 | 416 | catch(e){alert("Erro: "+e);i3GEOF.selecao.aguarde.visibility = "hidden";} |
| ... | ... | @@ -462,7 +462,7 @@ i3GEOF.selecao = { |
| 462 | 462 | i3GEO.desenho.criaContainerRichdraw(); |
| 463 | 463 | i3GEO.desenho.richdraw.lineColor = "red"; |
| 464 | 464 | i3GEO.desenho.richdraw.lineWidth = "2px"; |
| 465 | - var novoel,temp; | |
| 465 | + var novoel; | |
| 466 | 466 | if(!$i("i3geoboxSel")){ |
| 467 | 467 | novoel = document.createElement("div"); |
| 468 | 468 | novoel.style.width = "10px"; |
| ... | ... | @@ -525,7 +525,14 @@ i3GEOF.selecao = { |
| 525 | 525 | Para o desenho do box, captura seu tamanho e faz o zoom no mapa |
| 526 | 526 | */ |
| 527 | 527 | termina: function(){ |
| 528 | - var valor,v,x1,y1,x2,y2,limpa,doc,tipo; | |
| 528 | + var valor,v,x1,y1,x2,y2,limpa,tipo; | |
| 529 | + limpa = function(){ | |
| 530 | + var bxs = $i("i3geoboxSel").style; | |
| 531 | + bxs.display="none"; | |
| 532 | + bxs.visibility="hidden"; | |
| 533 | + bxs.width = "0px"; | |
| 534 | + bxs.height = "0px"; | |
| 535 | + }; | |
| 529 | 536 | try{ |
| 530 | 537 | valor = i3GEO.calculo.rect2ext("i3geoboxSel",i3GEO.parametros.mapexten,i3GEO.parametros.pixelsize); |
| 531 | 538 | v = valor[0]; |
| ... | ... | @@ -533,13 +540,6 @@ i3GEOF.selecao = { |
| 533 | 540 | y1 = valor[2]; |
| 534 | 541 | x2 = valor[3]; |
| 535 | 542 | y2 = valor[4]; |
| 536 | - limpa = function(){ | |
| 537 | - var bxs = $i("i3geoboxSel").style; | |
| 538 | - bxs.display="none"; | |
| 539 | - bxs.visibility="hidden"; | |
| 540 | - bxs.width = "0px"; | |
| 541 | - bxs.height = "0px"; | |
| 542 | - }; | |
| 543 | 543 | if((x1 === x2) || (y1 === y2)) |
| 544 | 544 | {limpa.call();return;} |
| 545 | 545 | // se o retangulo for negativo pula essa parte para n� gerar erro |
| ... | ... | @@ -597,7 +597,7 @@ i3GEOF.selecao = { |
| 597 | 597 | if(typeof(console) !== 'undefined') |
| 598 | 598 | {console.info("i3GEO.selecao.clique()");} |
| 599 | 599 | if (g_tipoacao === "selecao"){ |
| 600 | - var doc,tipo,tolerancia; | |
| 600 | + var tipo,tolerancia; | |
| 601 | 601 | tipo = $i("i3GEOselecaotipoOperacao").value; |
| 602 | 602 | tolerancia = $i("i3GEOselecaotoleranciapt").value; |
| 603 | 603 | i3GEOF.selecao.porxy(i3GEO.temaAtivo,tipo,tolerancia); |
| ... | ... | @@ -683,7 +683,7 @@ i3GEOF.selecao = { |
| 683 | 683 | */ |
| 684 | 684 | clique: function(){ |
| 685 | 685 | if (g_tipoacao !== "selecaopoli"){return;} |
| 686 | - var n,m; | |
| 686 | + var n; | |
| 687 | 687 | n = pontosdistobj.xpt.length; |
| 688 | 688 | pontosdistobj.xpt[n] = objposicaocursor.ddx; |
| 689 | 689 | pontosdistobj.ypt[n] = objposicaocursor.ddy; |
| ... | ... | @@ -724,7 +724,7 @@ i3GEOF.selecao = { |
| 724 | 724 | Termina o desenho do polígono e executa a operação de seleção |
| 725 | 725 | */ |
| 726 | 726 | termina: function(){ |
| 727 | - var pontos,n,xs,ys,retorna,p,cp,tema=i3GEO.temaAtivo; | |
| 727 | + var pontos,xs,ys,retorna,p,cp,tema=i3GEO.temaAtivo; | |
| 728 | 728 | pontos = pontosdistobj; |
| 729 | 729 | i3GEO.desenho.richdraw.fecha(); |
| 730 | 730 | n = pontos.xpt.length; |
| ... | ... | @@ -774,7 +774,7 @@ i3GEOF.selecao = { |
| 774 | 774 | Adiciona uma nova linha de filtro |
| 775 | 775 | */ |
| 776 | 776 | adicionaLinhaFiltro: function(){ |
| 777 | - var add,xis,interrogacao,operador,conector,valor,ntb,ntr,ntad,ntd,ntd1,ntd2,ntd3,ntd4,ntd5,tabela; | |
| 777 | + var add,xis,interrogacao,operador,conector,valor,ntr,ntad,ntd,ntd1,ntd2,ntd3,ntd4,ntd5,tabela; | |
| 778 | 778 | try{ |
| 779 | 779 | add = document.createElement("img"); |
| 780 | 780 | add.src = i3GEO.configura.locaplic+'/imagens/plus.gif'; |
| ... | ... | @@ -892,7 +892,7 @@ i3GEOF.selecao = { |
| 892 | 892 | try{ |
| 893 | 893 | i3GEOF.selecao.aguarde.visibility = "visible"; |
| 894 | 894 | var filtro = "", |
| 895 | - re,g,ipt,i,ii,nos,s,itemsel,valor,operador,conector,temp; | |
| 895 | + g,ipt,i,ii,nos,s,itemsel,valor,operador,conector,temp; | |
| 896 | 896 | if(navm){ii = 2;} |
| 897 | 897 | else |
| 898 | 898 | {ii = 0;} |
| ... | ... | @@ -907,7 +907,7 @@ i3GEOF.selecao = { |
| 907 | 907 | operador = s[0].value; |
| 908 | 908 | s = nos[4].getElementsByTagName("input"); |
| 909 | 909 | valor = s[0].value; |
| 910 | - s = nos[6].getElementsByTagName("select") | |
| 910 | + s = nos[6].getElementsByTagName("select"); | |
| 911 | 911 | conector = s[0].value; |
| 912 | 912 | if (valor*1) |
| 913 | 913 | {filtro = filtro + "(["+itemsel+"] "+operador+" "+valor+")";} |
| ... | ... | @@ -923,7 +923,7 @@ i3GEOF.selecao = { |
| 923 | 923 | i3GEOF.selecao.aguarde.visibility = "hidden"; |
| 924 | 924 | return; |
| 925 | 925 | } |
| 926 | - g_operacao = "selecao" | |
| 926 | + g_operacao = "selecao"; | |
| 927 | 927 | temp = function(retorno){ |
| 928 | 928 | var nsel; |
| 929 | 929 | if(i3GEO.Interface.ATUAL === "padrao") |
| ... | ... | @@ -986,7 +986,7 @@ i3GEOF.selecao = { |
| 986 | 986 | Abre uma janela flutuante para criar gráficos de perfil |
| 987 | 987 | */ |
| 988 | 988 | graficoPerfil: function(){ |
| 989 | - var cp,p,temp; | |
| 989 | + var cp,p; | |
| 990 | 990 | if(i3GEOF.selecao.aguarde.visibility === "visible") |
| 991 | 991 | {return;} |
| 992 | 992 | if($i("i3GEOselecaotemasLigados").value === "") | ... | ... |
ferramentas/tabela/index.js
| ... | ... | @@ -141,7 +141,6 @@ i3GEOF.tabela = { |
| 141 | 141 | "i3GEOtabelaagrupaItem", |
| 142 | 142 | i3GEOF.tabela.tema, |
| 143 | 143 | function(retorno){ |
| 144 | - var combo = retorno.dados; | |
| 145 | 144 | if(retorno.tipo === "erro"){ |
| 146 | 145 | $i("i3GEOtabelaagrupamento").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; |
| 147 | 146 | } |
| ... | ... | @@ -568,7 +567,6 @@ i3GEOF.tabela = { |
| 568 | 567 | var tabela = $i("i3GEOtabelatabelai"), |
| 569 | 568 | trs = tabela.getElementsByTagName("tr"), |
| 570 | 569 | ntrs = trs.length, |
| 571 | - cabecalhotr = trs[0], | |
| 572 | 570 | conta = 0, |
| 573 | 571 | psort = [], |
| 574 | 572 | t, |
| ... | ... | @@ -720,7 +718,6 @@ i3GEOF.tabela = { |
| 720 | 718 | "i3GEOtabelaComboItensGuia3", |
| 721 | 719 | tema, |
| 722 | 720 | function(retorno){ |
| 723 | - var combo = retorno.dados; | |
| 724 | 721 | if(retorno.tipo === "erro"){ |
| 725 | 722 | $i("i3GEOtabelaitensGuia3").innerHTML = "<br><br><span style='color:red'>erro ao ler os itens do tema de origem</span><br><br>"; |
| 726 | 723 | } |
| ... | ... | @@ -828,10 +825,7 @@ i3GEOF.tabela = { |
| 828 | 825 | }, |
| 829 | 826 | t2:function(combo1,combo2){ |
| 830 | 827 | i3GEOF.tabela.aguarde.visibility = "hidden"; |
| 831 | - var ins = "<p class='paragrafo' >Item com os valores ou eixo y:", | |
| 832 | - c, | |
| 833 | - combo, | |
| 834 | - itens; | |
| 828 | + var ins = "<p class='paragrafo' >Item com os valores ou eixo y:"; | |
| 835 | 829 | ins += "<p class='paragrafo' >"+combo1; |
| 836 | 830 | if ((i3GEOF.tabela.tipoDeGrafico !== "hist")) |
| 837 | 831 | { |
| ... | ... | @@ -856,9 +850,7 @@ i3GEOF.tabela = { |
| 856 | 850 | i3GEOF.tabela.aguarde.visibility = "visible"; |
| 857 | 851 | var temp, |
| 858 | 852 | i, |
| 859 | - t, | |
| 860 | - n, | |
| 861 | - tsl = []; | |
| 853 | + n; | |
| 862 | 854 | if (i3GEOF.tabela.tipoDeGrafico === "pie") |
| 863 | 855 | {i3GEOF.tabela.parametros = "radius,Tgrid,border,Bgrafico,margem,margemexterna,margeminterna,Ttitulo,main,fontmain,cexmain,colmain,Tsubtitulo,sub,fontsub,cexsub,Trotulos,cex,font,Toutros,lty,bg,gw,gh,res,percentual";} |
| 864 | 856 | if (i3GEOF.tabela.tipoDeGrafico === "barplot") |
| ... | ... | @@ -913,7 +905,7 @@ i3GEOF.tabela = { |
| 913 | 905 | retornaPar: function(id){ |
| 914 | 906 | try{ |
| 915 | 907 | var ins = "", |
| 916 | - t; | |
| 908 | + t = ""; | |
| 917 | 909 | if (id === "Tgrid") |
| 918 | 910 | {ins += "<tr><td><b>Grade e bordas</b></td><td></td></tr>";} |
| 919 | 911 | if (id === "Ttitulo") |
| ... | ... | @@ -943,8 +935,8 @@ i3GEOF.tabela = { |
| 943 | 935 | if (id === "setasdv"){ |
| 944 | 936 | ins += "<tr><td>Plota as marcas do desvio padrão?</td>"; |
| 945 | 937 | ins += "<td>"+i3GEO.util.comboSimNao("i3GEOtabelasetasdv","nao")+"</td></tr>"; |
| 946 | - } | |
| 947 | - if (id === "margem"){ | |
| 938 | + } | |
| 939 | + tsl = []; if (id === "margem"){ | |
| 948 | 940 | ins += "<tr><td>Plota a margem?</td>"; |
| 949 | 941 | ins += "<td>"+i3GEO.util.comboSimNao("i3GEOtabelamargem","sim")+"</td></tr>"; |
| 950 | 942 | } |
| ... | ... | @@ -1039,6 +1031,7 @@ i3GEOF.tabela = { |
| 1039 | 1031 | ins += "<tr><td>Cor</td>"; |
| 1040 | 1032 | ins += "<td>"+i3GEOF.tabela.combocor("i3GEOtabelacolmain","1")+"</td></tr>"; |
| 1041 | 1033 | } |
| 1034 | + tsl = []; | |
| 1042 | 1035 | if (id === "sub"){ |
| 1043 | 1036 | ins += "<tr><td>Sub-Título</td>"; |
| 1044 | 1037 | ins += "<td><input onclick='javascript:this.select();' class=digitar type=text value='' size=20 id=i3GEOtabelasub /></td></tr>"; | ... | ... |
ferramentas/telaremota/index.js
| ... | ... | @@ -75,7 +75,7 @@ i3GEOF.telaremota = { |
| 75 | 75 | ins += "<a href="+url2+" target=_blank >"+url2+"</a>"; |
| 76 | 76 | $i("i3GEOtelaremotaResultado").innerHTML = ins; |
| 77 | 77 | i3GEOF.telaremota.aguarde.visibility = "hidden"; |
| 78 | - } | |
| 78 | + }; | |
| 79 | 79 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=telaremota"; |
| 80 | 80 | cp = new cpaint(); |
| 81 | 81 | cp.set_response_type("JSON"); |
| ... | ... | @@ -116,7 +116,7 @@ i3GEOF.telaremota = { |
| 116 | 116 | i3GEOF.telaremota.aguarde = $i("i3GEOF.telaremota_imagemCabecalho").style; |
| 117 | 117 | i3GEOF.telaremota.aguarde.visibility = "visible"; |
| 118 | 118 | i3GEOF.telaremota.html(divid,tema); |
| 119 | - i3GEOF.telaremota.gravaExtent() | |
| 119 | + i3GEOF.telaremota.gravaExtent(); | |
| 120 | 120 | temp = function(){ |
| 121 | 121 | if(i3GEO.eventos.NAVEGAMAPA.toString().search("gravaExtent()") > 0) |
| 122 | 122 | {i3GEO.eventos.NAVEGAMAPA.remove("i3GEOF.telaremota.gravaExtent()");} | ... | ... |
ferramentas/template/geral.png
12.2 KB
ferramentas/template/index.htm
| ... | ... | @@ -1,47 +0,0 @@ |
| 1 | -<html> | |
| 2 | -<head> | |
| 3 | -<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
| 4 | -<link rel="stylesheet" type="text/css" href="../../css/i3geo_ferramentas45.css"> | |
| 5 | -<title></title> | |
| 6 | -<style type="text/css" >button{background:url(../../imagens/tic.png) 98% 50% no-repeat;}</style> | |
| 7 | -<link rel="stylesheet" type="text/css" href="../../pacotes/yui290/build/button/assets/skins/sam/button.css"/> | |
| 8 | -<style type="text/css"> | |
| 9 | -body { | |
| 10 | - margin:0; | |
| 11 | - padding:0;border:0px; | |
| 12 | -} | |
| 13 | -</style> | |
| 14 | -</head> | |
| 15 | -<body name="ancora" > | |
| 16 | -<div style="height:98%;overflow:auto;cursor:pointer;position:relative;top:1px;left:0px;text-align:left"> | |
| 17 | - <table class=lista3 width="90%"> | |
| 18 | - <tr> | |
| 19 | - <td><img src="geral.png" onclick="muda('geral.htm')"/></td> | |
| 20 | - <td>Interface padrão com todas as funcionalidades existentes</td> | |
| 21 | - </tr> | |
| 22 | - <tr><td></td><td> </td></tr> | |
| 23 | - <tr> | |
| 24 | - <td><img src="simples1.png" onclick="muda('simples1.htm')"/></td> | |
| 25 | - <td>Sem o menu superior e o mapa de referência</td> | |
| 26 | - </tr> | |
| 27 | - <tr><td></td><td> </td></tr> | |
| 28 | - <tr> | |
| 29 | - <td><img src="simples2.png" onclick="muda('simples2.htm')"/></td> | |
| 30 | - <td>Sem o menu superior e a barra de navegação simplificada</td> | |
| 31 | - </tr> | |
| 32 | - <tr><td></td><td> </td></tr> | |
| 33 | - <tr> | |
| 34 | - <td><img src="minima.png" onclick="muda('minima.htm')"/></td> | |
| 35 | - <td>Sem o menu superior e as guias de adição de temas e legenda. A legenda fica incorporada ao mapa</td> | |
| 36 | - </tr> | |
| 37 | - <tr><td></td><td> </td></tr> | |
| 38 | - <tr> | |
| 39 | - <td><img src="openlayers.png" onclick="muda('openlayers.htm')"/></td> | |
| 40 | - <td>Utiliza o software 'openLayers' para as funcionalidades de navegação, no estilo googleMaps</td> | |
| 41 | - </tr> | |
| 42 | - </table> | |
| 43 | - <br> | |
| 44 | -</div> | |
| 45 | -</body> | |
| 46 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 47 | -</html> | |
| 48 | 0 | \ No newline at end of file |
ferramentas/template/index.js
ferramentas/template/minima.png
10.5 KB
ferramentas/template/openlayers.png
11.7 KB
ferramentas/template/simples1.png
11.8 KB
ferramentas/template/simples2.png
11 KB
ferramentas/tipoimagem/index.js
| ... | ... | @@ -76,9 +76,9 @@ i3GEOF.tipoimagem = { |
| 76 | 76 | $i("i3GEOFtipoImagemListaDeFiltros").value = f; |
| 77 | 77 | |
| 78 | 78 | var temp = function(retorno){ |
| 79 | - g_legendaHTML = retorno.data.legenda | |
| 80 | - } | |
| 81 | - i3GEO.php.criaLegendaHTML(temp,"","legendaseminput.htm") | |
| 79 | + g_legendaHTML = retorno.data.legenda; | |
| 80 | + }; | |
| 81 | + i3GEO.php.criaLegendaHTML(temp,"","legendaseminput.htm"); | |
| 82 | 82 | } |
| 83 | 83 | catch(erro){alert(erro);} |
| 84 | 84 | |
| ... | ... | @@ -156,7 +156,7 @@ i3GEOF.tipoimagem = { |
| 156 | 156 | Cria a janela flutuante para controle da ferramenta. |
| 157 | 157 | */ |
| 158 | 158 | criaJanelaFlutuante: function(){ |
| 159 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 159 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 160 | 160 | cabecalho = function(){}; |
| 161 | 161 | minimiza = function(){ |
| 162 | 162 | i3GEO.janela.minimiza("i3GEOF.tipoimagem"); | ... | ... |
ferramentas/tme/index.js
| ... | ... | @@ -125,7 +125,7 @@ i3GEOF.tme = { |
| 125 | 125 | Cria a janela flutuante para controle da ferramenta. |
| 126 | 126 | */ |
| 127 | 127 | criaJanelaFlutuante: function(){ |
| 128 | - var minimiza,cabecalho,janela,divid,temp,titulo,cabecalho,minimiza; | |
| 128 | + var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 129 | 129 | if($i("i3GEOF.tme")){ |
| 130 | 130 | i3GEOF.tme.inicia("i3GEOF.tme_corpo"); |
| 131 | 131 | return; |
| ... | ... | @@ -178,16 +178,18 @@ i3GEOF.tme = { |
| 178 | 178 | Monta a lista de itens que poderão ser escolhidos para compor o mapa. |
| 179 | 179 | |
| 180 | 180 | A lista é inserida no elemento html com id "i3GEOtmelistai" |
| 181 | + | |
| 182 | + @TODO marcar os itens existentes | |
| 181 | 183 | */ |
| 182 | 184 | montaListaItens: function(retorno){ |
| 183 | - var ins,i,n,itensatuais,item,checado; | |
| 185 | + var ins,i,n,item; | |
| 184 | 186 | try{ |
| 185 | 187 | ins = []; |
| 186 | 188 | ins.push("<table class=lista >"); |
| 187 | 189 | n = retorno.data.valores.length; |
| 188 | 190 | for (i=0;i<n; i++){ |
| 189 | 191 | item = retorno.data.valores[i].item; |
| 190 | - ins.push("<tr><td><input size=2 style='cursor:pointer' "+checado+" type=checkbox id=i3GEOtme"+item+" /></td>"); | |
| 192 | + ins.push("<tr><td><input size=2 style='cursor:pointer' type=checkbox id=i3GEOtme"+item+" /></td>"); | |
| 191 | 193 | ins.push("<td> "+item+"</td>"); |
| 192 | 194 | } |
| 193 | 195 | $i("i3GEOtmelistai").innerHTML = ins.join(""); |
| ... | ... | @@ -206,7 +208,6 @@ i3GEOF.tme = { |
| 206 | 208 | inputs = $i("i3GEOtmelistai").getElementsByTagName("input"), |
| 207 | 209 | i, |
| 208 | 210 | it, |
| 209 | - c, | |
| 210 | 211 | n; |
| 211 | 212 | n = inputs.length; |
| 212 | 213 | for (i=0;i<n; i++){ | ... | ... |
ferramentas/toponimia/index.js
| ... | ... | @@ -240,7 +240,7 @@ i3GEOF.toponimia = { |
| 240 | 240 | Cria a janela flutuante para controle da ferramenta. |
| 241 | 241 | */ |
| 242 | 242 | criaJanelaFlutuante: function(){ |
| 243 | - var minimiza,cabecalho,janela,divid,temp,titulo; | |
| 243 | + varjanela,divid,temp,titulo; | |
| 244 | 244 | if($i("i3GEOF.toponimia")){ |
| 245 | 245 | i3GEOF.toponimia.tema = i3GEO.temaAtivo; |
| 246 | 246 | i3GEOF.toponimia.inicia("i3GEOF.toponimia_corpo"); | ... | ... |
ferramentas/upload/index.js
| ... | ... | @@ -109,7 +109,7 @@ i3GEOF.upload = { |
| 109 | 109 | Cria a janela flutuante para controle da ferramenta. |
| 110 | 110 | */ |
| 111 | 111 | criaJanelaFlutuante: function(){ |
| 112 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 112 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 113 | 113 | cabecalho = function(){}; |
| 114 | 114 | minimiza = function(){ |
| 115 | 115 | i3GEO.janela.minimiza("i3GEOF.upload"); | ... | ... |
ferramentas/upload/upload.php
| ... | ... | @@ -21,7 +21,7 @@ if(isset($g_sid) && $g_sid != ""){ |
| 21 | 21 | <link rel="stylesheet" type="text/css" href="../../css/geral.css" /> |
| 22 | 22 | <title></title> |
| 23 | 23 | </head> |
| 24 | -<body name="ancora" bgcolor="white" style="background-color:white;text-align:left;"> | |
| 24 | +<body bgcolor="white" style="background-color:white;text-align:left;"> | |
| 25 | 25 | <p> |
| 26 | 26 | <?php |
| 27 | 27 | if (isset($_FILES['i3GEOuploadshp']['name'])) | ... | ... |
ferramentas/uploaddbf/index.js
| ... | ... | @@ -106,7 +106,7 @@ i3GEOF.uploaddbf = { |
| 106 | 106 | Cria a janela flutuante para controle da ferramenta. |
| 107 | 107 | */ |
| 108 | 108 | criaJanelaFlutuante: function(){ |
| 109 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 109 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 110 | 110 | cabecalho = function(){}; |
| 111 | 111 | minimiza = function(){ |
| 112 | 112 | i3GEO.janela.minimiza("i3GEOF.uploaddbf"); | ... | ... |
ferramentas/uploaddbf/join.htm
| ... | ... | @@ -6,13 +6,13 @@ |
| 6 | 6 | <style type="text/css">.yuibutton button{padding-left:2em;background:url(../../imagens/tic.png) 5% 50% no-repeat;}</style> |
| 7 | 7 | <title></title> |
| 8 | 8 | </head> |
| 9 | -<body name="ancora" style="overflow:auto"> | |
| 9 | +<body style="overflow:auto"> | |
| 10 | 10 | <div style="top:5px;left:10px;display:block;position:absolute"> |
| 11 | 11 | <form id=f action="upload.php" method="post" ENCTYPE="multipart/form-data"> |
| 12 | 12 | <pre style="font-size:14px"> |
| 13 | 13 | dbf: <input class=digitar type="file" size=20 name="filedbf"> |
| 14 | 14 | </pre> |
| 15 | -Coluna DBF: <input class=digitar type="input" size=20 name="colunadbf"><br> | |
| 15 | +Coluna DBF: <input class=digitar type="text" size=20 name="colunadbf"></input><br> | |
| 16 | 16 | |
| 17 | 17 | <div id=opc1 style=top:0px;left:0px;text-align:left;width:90%; > |
| 18 | 18 | <br> |
| ... | ... | @@ -35,6 +35,6 @@ Coluna DBF: <input class=digitar type="input" size=20 name="colunadbf"><br> |
| 35 | 35 | </div> |
| 36 | 36 | |
| 37 | 37 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 38 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 38 | +<script type="text/javascript" src="index.js"></script> | |
| 39 | 39 | </body> |
| 40 | 40 | </html> |
| 41 | 41 | \ No newline at end of file | ... | ... |
ferramentas/uploaddbf/novotema.htm
| ... | ... | @@ -6,14 +6,14 @@ |
| 6 | 6 | <style type="text/css">.yuibutton button{padding-left:2em;background:url(../../imagens/tic.png) 5% 50% no-repeat;}</style> |
| 7 | 7 | <title></title> |
| 8 | 8 | </head> |
| 9 | -<body name="ancora" style="overflow:auto"> | |
| 9 | +<body style="overflow:auto"> | |
| 10 | 10 | <div style="top:5px;left:10px;display:block;position:absolute"> |
| 11 | 11 | <form id=f action="upload.php" method="post" ENCTYPE="multipart/form-data"> |
| 12 | 12 | <pre style="font-size:14px"> |
| 13 | 13 | dbf: <input class=digitar type="file" size=20 name="filedbf"> |
| 14 | 14 | </pre> |
| 15 | -nome coluna x: <input class=digitar type="input" size=20 name="nomex"><br> | |
| 16 | -nome coluna y: <input class=digitar type="input" size=20 name="nomey"><br><br> | |
| 15 | +nome coluna x: <input class=digitar type="text" size=20 name="nomex"><br> | |
| 16 | +nome coluna y: <input class=digitar type="text" size=20 name="nomey"><br><br> | |
| 17 | 17 | Projeção: |
| 18 | 18 | <div id=listaepsg style='left:0px;overflow:auto;height:60px'></div> |
| 19 | 19 | <div onclick='submete()' style='top:10px;left:0px'> |
| ... | ... | @@ -34,6 +34,6 @@ com essas restri&ccedil;&otilde;es |
| 34 | 34 | </div> |
| 35 | 35 | |
| 36 | 36 | <script src="../i3geo_tudo_compacto.js.php" type="text/javascript"></script> |
| 37 | -<script language="JavaScript" type="text/javascript" src="index.js"></script> | |
| 37 | +<script type="text/javascript" src="index.js"></script> | |
| 38 | 38 | </body> |
| 39 | 39 | </html> |
| 40 | 40 | \ No newline at end of file | ... | ... |
ferramentas/uploaddbf/upload.php
| ... | ... | @@ -15,7 +15,7 @@ $postgis_mapa = $_SESSION["postgis_mapa"]; |
| 15 | 15 | <link rel="stylesheet" type="text/css" href="../../css/geral.css" /> |
| 16 | 16 | <title></title> |
| 17 | 17 | </head> |
| 18 | -<body name="ancora" bgcolor="white" style="background-color:white;text-align:left;"> | |
| 18 | +<body bgcolor="white" style="background-color:white;text-align:left;"> | |
| 19 | 19 | <p> |
| 20 | 20 | <?php |
| 21 | 21 | if (isset($_FILES['i3GEOuploaddbffile']['name'])) | ... | ... |
ferramentas/uploadgpx/index.js
| ... | ... | @@ -102,7 +102,7 @@ i3GEOF.uploadgpx = { |
| 102 | 102 | Cria a janela flutuante para controle da ferramenta. |
| 103 | 103 | */ |
| 104 | 104 | criaJanelaFlutuante: function(){ |
| 105 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 105 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 106 | 106 | cabecalho = function(){}; |
| 107 | 107 | minimiza = function(){ |
| 108 | 108 | i3GEO.janela.minimiza("i3GEOF.uploadgpx"); | ... | ... |
ferramentas/uploadgpx/upload.php
| ... | ... | @@ -16,7 +16,7 @@ $postgis_mapa = $_SESSION["postgis_mapa"]; |
| 16 | 16 | <link rel="stylesheet" type="text/css" href="../../css/geral.css" /> |
| 17 | 17 | <title></title> |
| 18 | 18 | </head> |
| 19 | -<body name="ancora" bgcolor="white" style="background-color:white;text-align:left;"> | |
| 19 | +<body bgcolor="white" style="background-color:white;text-align:left;"> | |
| 20 | 20 | <p> |
| 21 | 21 | <?php |
| 22 | 22 | if (isset($_FILES['i3GEOuploadgpx']['name'])) | ... | ... |
ferramentas/uploadkml/index.js
| ... | ... | @@ -105,7 +105,7 @@ i3GEOF.uploadkml = { |
| 105 | 105 | Cria a janela flutuante para controle da ferramenta. |
| 106 | 106 | */ |
| 107 | 107 | criaJanelaFlutuante: function(){ |
| 108 | - var janela,divid,temp,titulo,cabecalho,minimiza; | |
| 108 | + var janela,divid,titulo,cabecalho,minimiza; | |
| 109 | 109 | cabecalho = function(){}; |
| 110 | 110 | minimiza = function(){ |
| 111 | 111 | i3GEO.janela.minimiza("i3GEOF.uploadkml"); | ... | ... |
ferramentas/uploadkml/upload.php
| ... | ... | @@ -16,7 +16,7 @@ $postgis_mapa = $_SESSION["postgis_mapa"]; |
| 16 | 16 | <link rel="stylesheet" type="text/css" href="../../css/geral.css" /> |
| 17 | 17 | <title></title> |
| 18 | 18 | </head> |
| 19 | -<body name="ancora" bgcolor="white" style="background-color:white;text-align:left;"> | |
| 19 | +<body bgcolor="white" style="background-color:white;text-align:left;"> | |
| 20 | 20 | <p> |
| 21 | 21 | <?php |
| 22 | 22 | if (isset($_FILES['i3GEOuploadkml']['name'])) | ... | ... |