Commit 6c483289c5016bd9243f365382e8c5a878366729

Authored by Edmar Moretti
1 parent af332629

-

classesjs/classe_interface.js
... ... @@ -1308,7 +1308,6 @@ i3GEO.Interface =
1308 1308 if (url.search("\\?") > 0) {
1309 1309 reg = new RegExp(parametro + "([=])+([a-zA-Z0-9_]*)");
1310 1310 layers[i].url = url.replace(reg, "");
1311   - // eval("layers[i].mergeNewParams({"+parametro+":valor})");
1312 1311 layers[i].url = layers[i].url + "&" + parametro + "=" + valor;
1313 1312 layers[i].redraw();
1314 1313 }
... ...
ferramentas/opcoes_tamanho/dicionario.js
... ... @@ -19,7 +19,7 @@ i3GEOF.opcoesTamanho.dicionario = {
19 19 it : ""
20 20 } ],
21 21 'testa' : [ {
22   - pt : "Testa",
  22 + pt : "Testar",
23 23 en : "",
24 24 es : "",
25 25 it : ""
... ...
ferramentas/opcoes_tamanho/index.js
... ... @@ -62,8 +62,8 @@ i3GEOF.opcoesTamanho = {
62 62 */
63 63 mustacheHash : function() {
64 64 var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.opcoesTamanho.dicionario);
65   - dicionario["Tamanhol"] = $inputText('','','i3GEOopcoesTamanhol','',4,i3GEO.parametros.w);
66   - dicionario["Tamanhoa"] = $inputText('','','i3GEOopcoesTamanhoa','',4,i3GEO.parametros.h);
  65 + dicionario["Tamanhol"] = i3GEO.parametros.w;
  66 + dicionario["Tamanhoa"] = i3GEO.parametros.h;
67 67 return dicionario;
68 68 },
69 69 /*
... ... @@ -95,17 +95,19 @@ i3GEOF.opcoesTamanho = {
95 95 iddiv {String} - id do div que receberá o conteudo HTML da ferramenta
96 96 */
97 97 inicia: function(iddiv){
98   - var box;
  98 + var b,box;
99 99 try{
100 100 $i(iddiv).innerHTML += i3GEOF.opcoesTamanho.html();
101   - new YAHOO.widget.Button(
  101 + b = new YAHOO.widget.Button(
102 102 "i3GEOopcoesTamanhobotao2",
103 103 {onclick:{fn: i3GEOF.opcoesTamanho.atualizaBox}}
104 104 );
105   - new YAHOO.widget.Button(
  105 + b.addClass("rodar150");
  106 + b = new YAHOO.widget.Button(
106 107 "i3GEOopcoesTamanhobotao1",
107 108 {onclick:{fn: i3GEOF.opcoesTamanho.executa}}
108 109 );
  110 + b.addClass("rodar150");
109 111 i3GEO.util.criaBox("boxg");
110 112 var pos = i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDMAPA));
111 113 box = $i("boxg");
... ...
ferramentas/opcoes_tamanho/template_mst.html
1   -<table summary='' class='lista' style='width: 100%'>
2   - <tr>
3   - <td>{{{largura}}}:</td>
4   - <td>{{{Tamanhol}}}</td>
5   - </tr>
6   - <tr>
7   - <td>&nbsp;</td>
8   - <td></td>
9   - </tr>
10   - <tr>
11   - <td>{{{altura}}}:</td>
12   - <td>{{{Tamanhoa}}}</td>
13   - </tr>
14   - <tr>
15   - <td>&nbsp;</td>
16   - <td></td>
17   - </tr>
18   - </table>
19   - <p class='paragrafo'>{{{valor}}}</p>
20   - <p class='paragrafo'>
21   - <input id='i3GEOopcoesTamanhobotao2' size='16' type='button' value='{{{testa}}}' /> <input id='i3GEOopcoesTamanhobotao1' size='16' type='button' value='{{{aplica}}}' />
22 1 \ No newline at end of file
  2 +<p class='paragrafo'>{{{largura}}}:</p>
  3 +<div class='i3geoForm150 i3geoFormIconeEdita'>
  4 + <input type='text' value='{{{Tamanhol}}}' id='i3GEOopcoesTamanhol' />
  5 +</div>
  6 +<br>
  7 +<p class='paragrafo'>{{{altura}}}:</p>
  8 +<div class='i3geoForm150 i3geoFormIconeEdita'>
  9 + <input type='text' value='{{{Tamanhoa}}}' id='i3GEOopcoesTamanhoa' />
  10 +</div>
  11 +
  12 +<br>
  13 +<p class='paragrafo'>{{{valor}}}</p>
  14 +<p class='paragrafo'>
  15 + <input id='i3GEOopcoesTamanhobotao2' size='16' type='button' value='{{{testa}}}' />
  16 +</p>
  17 +<p class='paragrafo'>
  18 + <input id='i3GEOopcoesTamanhobotao1' size='16' type='button' value='{{{aplica}}}' />
  19 +</p>
23 20 \ No newline at end of file
... ...
ferramentas/tipoimagem/index.js
... ... @@ -97,13 +97,14 @@ i3GEOF.tipoimagem = {
97 97 */
98 98 inicia: function(iddiv){
99 99 try{
100   - var temp,f;
  100 + var temp,f,b;
101 101  
102 102 $i(iddiv).innerHTML += i3GEOF.tipoimagem.html();
103   - new YAHOO.widget.Button(
  103 + b = new YAHOO.widget.Button(
104 104 "i3GEOFtipoImagemListaDeFiltrosOk",
105 105 {onclick:{fn: i3GEOF.tipoimagem.aplicar}}
106 106 );
  107 + b.addClass("rodar");
107 108 temp = $i("i3GEOFtipoImagemListaDeFiltrosOk-button").style;
108 109 temp.minHeight = "1.5em";
109 110 temp.padding = "0px 5px";
... ... @@ -177,8 +178,8 @@ i3GEOF.tipoimagem = {
177 178 {filtro = 'nenhum';}
178 179 i3GEO.configura.tipoimagem = filtro;
179 180 g_operacao = "outras";
180   - //i3GEO.atualiza();
181 181 i3GEO.Interface.alteraParametroLayers("TIPOIMAGEM",filtro);
  182 + i3GEO.Interface.openlayers.atualizaMapa();
182 183 },
183 184 /*
184 185 Function: adicionar
... ...
ferramentas/tipoimagem/template_mst.html
1 1 <p class='paragrafo'>{{{selecionaFiltro}}}</p>
  2 +<div class='i3geoForm i3geoFormIconeEdita'>
2 3 <input type='text' size='29' value='' id='i3GEOFtipoImagemListaDeFiltros' style='position: relative; top: -2px' />
  4 +</div>
  5 +<br><p class='paragrafo'>
3 6 <input id='i3GEOFtipoImagemListaDeFiltrosOk' type='button' value='{{{aplica}}}' size='20' />
  7 +</p>
4 8 <br>
5 9 <br>
6 10 <table class='lista6' style='width: 200px'>
... ...