Commit db37945d29e77dbde45ed987d4655e61611bfba0
1 parent
cafd8e70
Exists in
master
and in
7 other branches
--no commit message
Showing
6 changed files
with
36 additions
and
31 deletions
Show diff stats
ferramentas/bufferpt/dicionario.js
1 | //+$trad(1,i3GEOF.bufferpt.dicionario)+ | 1 | //+$trad(1,i3GEOF.bufferpt.dicionario)+ |
2 | i3GEOF.bufferpt.dicionario = { | 2 | i3GEOF.bufferpt.dicionario = { |
3 | -'entorno': [{ | ||
4 | -pt:"Distância em metros ao redor do ponto", | ||
5 | -en:"", | ||
6 | -es:"" | ||
7 | -}], | ||
8 | -'criaEntorno': [{ | ||
9 | -pt:"Criar", | ||
10 | -en:"", | ||
11 | -es:"" | ||
12 | -}], | ||
13 | -'erroTempo': [{ | ||
14 | -pt:"Erro. A operação demorou muito.", | ||
15 | -en:"", | ||
16 | -es:"" | ||
17 | -}], | ||
18 | -'erroDistancia': [{ | ||
19 | -pt:"Distância inválida", | ||
20 | -en:"", | ||
21 | -es:"" | ||
22 | -}] | 3 | + 'entorno': [{ |
4 | + pt:"Distância em metros ao redor do ponto", | ||
5 | + en:"", | ||
6 | + es:"" | ||
7 | + }], | ||
8 | + 'criaEntorno': [{ | ||
9 | + pt:"Criar", | ||
10 | + en:"", | ||
11 | + es:"" | ||
12 | + }], | ||
13 | + 'erroTempo': [{ | ||
14 | + pt:"Erro. A operação demorou muito.", | ||
15 | + en:"", | ||
16 | + es:"" | ||
17 | + }], | ||
18 | + 'erroDistancia': [{ | ||
19 | + pt:"Distância inválida", | ||
20 | + en:"", | ||
21 | + es:"" | ||
22 | + }] | ||
23 | }; | 23 | }; |
ferramentas/bufferpt/index.js
@@ -98,10 +98,11 @@ i3GEOF.bufferpt = { | @@ -98,10 +98,11 @@ i3GEOF.bufferpt = { | ||
98 | "i3GEObufferptbotao2", | 98 | "i3GEObufferptbotao2", |
99 | {onclick:{fn: i3GEOF.bufferpt.atualizaBox}} | 99 | {onclick:{fn: i3GEOF.bufferpt.atualizaBox}} |
100 | ); | 100 | ); |
101 | - new YAHOO.widget.Button( | 101 | + var b = new YAHOO.widget.Button( |
102 | "i3GEObufferptbotao1", | 102 | "i3GEObufferptbotao1", |
103 | {onclick:{fn: i3GEOF.bufferpt.executa}} | 103 | {onclick:{fn: i3GEOF.bufferpt.executa}} |
104 | ); | 104 | ); |
105 | + b.addClass("rodar"); | ||
105 | } | 106 | } |
106 | catch(erro){i3GEO.janela.tempoMsg(erro);} | 107 | catch(erro){i3GEO.janela.tempoMsg(erro);} |
107 | }, | 108 | }, |
@@ -148,7 +149,7 @@ i3GEOF.bufferpt = { | @@ -148,7 +149,7 @@ i3GEOF.bufferpt = { | ||
148 | //cria a janela flutuante | 149 | //cria a janela flutuante |
149 | titulo = $trad("u10")+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=24&idajuda=3' > </a>"; | 150 | titulo = $trad("u10")+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=24&idajuda=3' > </a>"; |
150 | janela = i3GEO.janela.cria( | 151 | janela = i3GEO.janela.cria( |
151 | - "210px", | 152 | + "290px", |
152 | "110px", | 153 | "110px", |
153 | "", | 154 | "", |
154 | "", | 155 | "", |
ferramentas/busca/index.js
@@ -100,10 +100,11 @@ i3GEOF.busca = { | @@ -100,10 +100,11 @@ i3GEOF.busca = { | ||
100 | try{ | 100 | try{ |
101 | $i(iddiv).innerHTML += i3GEOF.busca.html(); | 101 | $i(iddiv).innerHTML += i3GEOF.busca.html(); |
102 | i3GEO.php.listaItensTema(i3GEOF.busca.montaListaItens,i3GEOF.busca.tema); | 102 | i3GEO.php.listaItensTema(i3GEOF.busca.montaListaItens,i3GEOF.busca.tema); |
103 | - new YAHOO.widget.Button( | 103 | + var b = new YAHOO.widget.Button( |
104 | "i3GEObuscabotao1", | 104 | "i3GEObuscabotao1", |
105 | {onclick:{fn: i3GEOF.busca.procurar}} | 105 | {onclick:{fn: i3GEOF.busca.procurar}} |
106 | ); | 106 | ); |
107 | + b.addClass("rodar"); | ||
107 | i3GEO.janela.comboCabecalhoTemas("i3GEOFbuscaComboCabeca","i3GEOFbuscaComboCabecaSel","busca","ligadosComTabela"); | 108 | i3GEO.janela.comboCabecalhoTemas("i3GEOFbuscaComboCabeca","i3GEOFbuscaComboCabecaSel","busca","ligadosComTabela"); |
108 | } | 109 | } |
109 | catch(erro){alert(erro);} | 110 | catch(erro){alert(erro);} |
ferramentas/centroide/index.js
@@ -160,13 +160,14 @@ i3GEOF.centroide = { | @@ -160,13 +160,14 @@ i3GEOF.centroide = { | ||
160 | i3GEOF.centroide.comboTemasSel(); | 160 | i3GEOF.centroide.comboTemasSel(); |
161 | }, | 161 | }, |
162 | t2: function(){ | 162 | t2: function(){ |
163 | - var ins = "<p class='paragrafo'>"+$trad('ajuda2',i3GEOF.centroide.dicionario); | 163 | + var b,ins = "<p class='paragrafo'>"+$trad('ajuda2',i3GEOF.centroide.dicionario); |
164 | ins += "<br><br><input id=i3GEOcentroidebotao1 type='buttom' value='"+$trad('criaCentroide',i3GEOF.centroide.dicionario)+"' />"; | 164 | ins += "<br><br><input id=i3GEOcentroidebotao1 type='buttom' value='"+$trad('criaCentroide',i3GEOF.centroide.dicionario)+"' />"; |
165 | i3GEO.util.proximoAnterior("i3GEOF.centroide.t2()","",ins,"i3GEOF.centroide.t3","i3GEOcentroideresultado",true,"i3GEOF.centroide_rodape"); | 165 | i3GEO.util.proximoAnterior("i3GEOF.centroide.t2()","",ins,"i3GEOF.centroide.t3","i3GEOcentroideresultado",true,"i3GEOF.centroide_rodape"); |
166 | - new YAHOO.widget.Button( | 166 | + b = new YAHOO.widget.Button( |
167 | "i3GEOcentroidebotao1", | 167 | "i3GEOcentroidebotao1", |
168 | {onclick:{fn: i3GEOF.centroide.criacentroide}} | 168 | {onclick:{fn: i3GEOF.centroide.criacentroide}} |
169 | ); | 169 | ); |
170 | + b.addClass("rodar"); | ||
170 | }, | 171 | }, |
171 | /* | 172 | /* |
172 | Function: criacentroide | 173 | Function: criacentroide |
ferramentas/centromassa/index.js
@@ -163,13 +163,14 @@ i3GEOF.centromassa = { | @@ -163,13 +163,14 @@ i3GEOF.centromassa = { | ||
163 | i3GEOF.centromassa.comboTemasPontos(); | 163 | i3GEOF.centromassa.comboTemasPontos(); |
164 | }, | 164 | }, |
165 | t2: function(){ | 165 | t2: function(){ |
166 | - var ins = "<p class='paragrafo'>"+$trad('ajuda3',i3GEOF.centromassa.dicionario); | 166 | + var b,ins = "<p class='paragrafo'>"+$trad('ajuda3',i3GEOF.centromassa.dicionario); |
167 | ins += "<br><br><input id=i3GEOcentromassabotao1 type='buttom' value='"+$trad('calcula',i3GEOF.centromassa.dicionario)+"' />"; | 167 | ins += "<br><br><input id=i3GEOcentromassabotao1 type='buttom' value='"+$trad('calcula',i3GEOF.centromassa.dicionario)+"' />"; |
168 | i3GEO.util.proximoAnterior("i3GEOF.centromassa.t1()","",ins,"i3GEOF.centromassa.t2","i3GEOcentromassaresultado",true,"i3GEOF.centromassa_rodape"); | 168 | i3GEO.util.proximoAnterior("i3GEOF.centromassa.t1()","",ins,"i3GEOF.centromassa.t2","i3GEOcentromassaresultado",true,"i3GEOF.centromassa_rodape"); |
169 | - new YAHOO.widget.Button( | 169 | + b = new YAHOO.widget.Button( |
170 | "i3GEOcentromassabotao1", | 170 | "i3GEOcentromassabotao1", |
171 | {onclick:{fn: i3GEOF.centromassa.calcula}} | 171 | {onclick:{fn: i3GEOF.centromassa.calcula}} |
172 | ); | 172 | ); |
173 | + b.addClass("rodar"); | ||
173 | }, | 174 | }, |
174 | /* | 175 | /* |
175 | Function: calcula | 176 | Function: calcula |
ferramentas/identifica/index.js
@@ -228,9 +228,9 @@ i3GEOF.identifica = { | @@ -228,9 +228,9 @@ i3GEOF.identifica = { | ||
228 | }; | 228 | }; |
229 | $i(idjanela+"i3GEOidentificaguia5").onclick = function(){ | 229 | $i(idjanela+"i3GEOidentificaguia5").onclick = function(){ |
230 | i3GEO.guias.mostraGuiaFerramenta(idjanela+"i3GEOidentificaguia5",idjanela+"i3GEOidentificaguia"); | 230 | i3GEO.guias.mostraGuiaFerramenta(idjanela+"i3GEOidentificaguia5",idjanela+"i3GEOidentificaguia"); |
231 | - new YAHOO.widget.Button(idjanela+"i3GEOidentificabotao2",{ | 231 | + var temp, b = new YAHOO.widget.Button(idjanela+"i3GEOidentificabotao2",{ |
232 | onclick:{ | 232 | onclick:{ |
233 | - fn: function(idjanela){ | 233 | + fn: function(){ |
234 | var js = i3GEO.configura.locaplic+"/ferramentas/bufferpt/index.js"; | 234 | var js = i3GEO.configura.locaplic+"/ferramentas/bufferpt/index.js"; |
235 | i3GEO.util.scriptTag( | 235 | i3GEO.util.scriptTag( |
236 | js, | 236 | js, |
@@ -240,7 +240,8 @@ i3GEOF.identifica = { | @@ -240,7 +240,8 @@ i3GEOF.identifica = { | ||
240 | } | 240 | } |
241 | } | 241 | } |
242 | }); | 242 | }); |
243 | - var temp = i3GEO.coordenadas.formato, | 243 | + b.addClass("rodar"); |
244 | + temp = i3GEO.coordenadas.formato, | ||
244 | gh = i3GEO.coordenadas.geohash.encodeGeoHash( | 245 | gh = i3GEO.coordenadas.geohash.encodeGeoHash( |
245 | i3GEOF.identifica.propJanelas[idjanela].y, | 246 | i3GEOF.identifica.propJanelas[idjanela].y, |
246 | i3GEOF.identifica.propJanelas[idjanela].x | 247 | i3GEOF.identifica.propJanelas[idjanela].x |
@@ -458,7 +459,7 @@ i3GEOF.identifica = { | @@ -458,7 +459,7 @@ i3GEOF.identifica = { | ||
458 | ins += ' <b>'+$trad('valorPonto',i3GEOF.identifica.dicionario)+'<br></b>'; | 459 | ins += ' <b>'+$trad('valorPonto',i3GEOF.identifica.dicionario)+'<br></b>'; |
459 | ins += ' <div id='+idjanela+'i3GEOidentificacoord ></div><br>'; | 460 | ins += ' <div id='+idjanela+'i3GEOidentificacoord ></div><br>'; |
460 | ins += ' <div id='+idjanela+'i3GEOidentificacoordtexto style=text-align:left ></div>'; | 461 | ins += ' <div id='+idjanela+'i3GEOidentificacoordtexto style=text-align:left ></div>'; |
461 | - ins += ' <br><br><input id='+idjanela+'i3GEOidentificabotao2 size=20 type=button value="'+$trad('criaBuffer',i3GEOF.identifica.dicionario)+'" />'; | 462 | + ins += ' <br><br><input id='+idjanela+'i3GEOidentificabotao2 size=20 type=button value="'+$trad('criaBuffer',i3GEOF.identifica.dicionario)+'" /><br>'; |
462 | ins += ' </div>'; | 463 | ins += ' </div>'; |
463 | //ins += '</div> '; | 464 | //ins += '</div> '; |
464 | return ins; | 465 | return ins; |