Commit db37945d29e77dbde45ed987d4655e61611bfba0

Authored by Edmar Moretti
1 parent cafd8e70

--no commit message

ferramentas/bufferpt/dicionario.js
1 1 //+$trad(1,i3GEOF.bufferpt.dicionario)+
2 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 98 "i3GEObufferptbotao2",
99 99 {onclick:{fn: i3GEOF.bufferpt.atualizaBox}}
100 100 );
101   - new YAHOO.widget.Button(
  101 + var b = new YAHOO.widget.Button(
102 102 "i3GEObufferptbotao1",
103 103 {onclick:{fn: i3GEOF.bufferpt.executa}}
104 104 );
  105 + b.addClass("rodar");
105 106 }
106 107 catch(erro){i3GEO.janela.tempoMsg(erro);}
107 108 },
... ... @@ -148,7 +149,7 @@ i3GEOF.bufferpt = {
148 149 //cria a janela flutuante
149 150 titulo = $trad("u10")+" <a class=ajuda_usuario target=_blank href='" + i3GEO.configura.locaplic + "/ajuda_usuario.php?idcategoria=24&idajuda=3' >&nbsp;&nbsp;&nbsp;</a>";
150 151 janela = i3GEO.janela.cria(
151   - "210px",
  152 + "290px",
152 153 "110px",
153 154 "",
154 155 "",
... ...
ferramentas/busca/index.js
... ... @@ -100,10 +100,11 @@ i3GEOF.busca = {
100 100 try{
101 101 $i(iddiv).innerHTML += i3GEOF.busca.html();
102 102 i3GEO.php.listaItensTema(i3GEOF.busca.montaListaItens,i3GEOF.busca.tema);
103   - new YAHOO.widget.Button(
  103 + var b = new YAHOO.widget.Button(
104 104 "i3GEObuscabotao1",
105 105 {onclick:{fn: i3GEOF.busca.procurar}}
106 106 );
  107 + b.addClass("rodar");
107 108 i3GEO.janela.comboCabecalhoTemas("i3GEOFbuscaComboCabeca","i3GEOFbuscaComboCabecaSel","busca","ligadosComTabela");
108 109 }
109 110 catch(erro){alert(erro);}
... ...
ferramentas/centroide/index.js
... ... @@ -160,13 +160,14 @@ i3GEOF.centroide = {
160 160 i3GEOF.centroide.comboTemasSel();
161 161 },
162 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 164 ins += "<br><br><input id=i3GEOcentroidebotao1 type='buttom' value='"+$trad('criaCentroide',i3GEOF.centroide.dicionario)+"' />";
165 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 167 "i3GEOcentroidebotao1",
168 168 {onclick:{fn: i3GEOF.centroide.criacentroide}}
169 169 );
  170 + b.addClass("rodar");
170 171 },
171 172 /*
172 173 Function: criacentroide
... ...
ferramentas/centromassa/index.js
... ... @@ -163,13 +163,14 @@ i3GEOF.centromassa = {
163 163 i3GEOF.centromassa.comboTemasPontos();
164 164 },
165 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 167 ins += "<br><br><input id=i3GEOcentromassabotao1 type='buttom' value='"+$trad('calcula',i3GEOF.centromassa.dicionario)+"' />";
168 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 170 "i3GEOcentromassabotao1",
171 171 {onclick:{fn: i3GEOF.centromassa.calcula}}
172 172 );
  173 + b.addClass("rodar");
173 174 },
174 175 /*
175 176 Function: calcula
... ...
ferramentas/identifica/index.js
... ... @@ -228,9 +228,9 @@ i3GEOF.identifica = {
228 228 };
229 229 $i(idjanela+"i3GEOidentificaguia5").onclick = function(){
230 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 232 onclick:{
233   - fn: function(idjanela){
  233 + fn: function(){
234 234 var js = i3GEO.configura.locaplic+"/ferramentas/bufferpt/index.js";
235 235 i3GEO.util.scriptTag(
236 236 js,
... ... @@ -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 245 gh = i3GEO.coordenadas.geohash.encodeGeoHash(
245 246 i3GEOF.identifica.propJanelas[idjanela].y,
246 247 i3GEOF.identifica.propJanelas[idjanela].x
... ... @@ -458,7 +459,7 @@ i3GEOF.identifica = {
458 459 ins += ' <b>'+$trad('valorPonto',i3GEOF.identifica.dicionario)+'<br></b>';
459 460 ins += ' <div id='+idjanela+'i3GEOidentificacoord ></div><br>';
460 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 463 ins += ' </div>';
463 464 //ins += '</div> ';
464 465 return ins;
... ...