Commit 54fb6bbf86a886c30b89455d5215c4ae8531bd33
1 parent
56bef587
Exists in
master
and in
7 other branches
Ajustes nos estilos
Showing
10 changed files
with
100 additions
and
90 deletions
Show diff stats
admin/admin.db
No preview for this file type
classesjs/classe_util.js
| @@ -2341,6 +2341,11 @@ i3GEO.util = { | @@ -2341,6 +2341,11 @@ i3GEO.util = { | ||
| 2341 | temp[i].style.display="none"; | 2341 | temp[i].style.display="none"; |
| 2342 | } | 2342 | } |
| 2343 | $i(idatual).style.display="block"; | 2343 | $i(idatual).style.display="block"; |
| 2344 | + temp = $i(idatual).getElementsByTagName("div"); | ||
| 2345 | + nids = temp.length; | ||
| 2346 | + for (i=0;i<nids;i++){ | ||
| 2347 | + temp[i].style.display="block"; | ||
| 2348 | + } | ||
| 2344 | }, | 2349 | }, |
| 2345 | /* | 2350 | /* |
| 2346 | Function: dialogoFerramenta | 2351 | Function: dialogoFerramenta |
ferramentas/analisageometrias/index.js
| @@ -397,7 +397,7 @@ i3GEOF.analisaGeometrias = { | @@ -397,7 +397,7 @@ i3GEOF.analisaGeometrias = { | ||
| 397 | { | 397 | { |
| 398 | var ins,cor,temp,j,k,i; | 398 | var ins,cor,temp,j,k,i; |
| 399 | ins = "<p class=paragrafo ><input id=i3GEOanalisageometriasbotao4 type=button size=20 value='"+$trad(31,i3GEOF.analisaGeometrias.dicionario)+"' /> "; | 399 | ins = "<p class=paragrafo ><input id=i3GEOanalisageometriasbotao4 type=button size=20 value='"+$trad(31,i3GEOF.analisaGeometrias.dicionario)+"' /> "; |
| 400 | - ins += "<input id=i3GEOanalisageometriasbotao5 type=i3GEOanalisageometriasbutton size=20 value='"+$trad(32,i3GEOF.analisaGeometrias.dicionario)+"' /><br><br>"; | 400 | + ins += "<input id=i3GEOanalisageometriasbotao5 type=button size=20 value='"+$trad(32,i3GEOF.analisaGeometrias.dicionario)+"' /><br><br>"; |
| 401 | cor = "rgb(245,245,245)"; | 401 | cor = "rgb(245,245,245)"; |
| 402 | for (i=0;i<retorno.data.length; i++) | 402 | for (i=0;i<retorno.data.length; i++) |
| 403 | { | 403 | { |
ferramentas/buffer/dicionario.js
ferramentas/buffer/index.js
| @@ -165,10 +165,10 @@ i3GEOF.buffer = { | @@ -165,10 +165,10 @@ i3GEOF.buffer = { | ||
| 165 | }, | 165 | }, |
| 166 | t2: function(){ | 166 | t2: function(){ |
| 167 | var ins = "<p class='paragrafo'>"+$trad(4,i3GEOF.buffer.dicionario); | 167 | var ins = "<p class='paragrafo'>"+$trad(4,i3GEOF.buffer.dicionario); |
| 168 | - ins += "<br></p><input onclick='javascript:this.select();' class=digitar id='i3GEObufferd' type=text size=10 value='0'/>"; | 168 | + ins += "<br><div class=styled-select style='display:block' ><input onclick='javascript:this.select();' id='i3GEObufferd' type=text value='0'/></div>"; |
| 169 | 169 | ||
| 170 | - ins += "<br><br><p class='paragrafo' >"+$trad(10,i3GEOF.buffer.dicionario); | ||
| 171 | - ins += "<br></p><div id=i3GEObufferondeItens style='text-align:left;display:block' ></div> "; | 170 | + ins += "<br><p class='paragrafo' >"+$trad(10,i3GEOF.buffer.dicionario); |
| 171 | + ins += "<br><div id=i3GEObufferondeItens style='text-align:left;display:block' ></div> "; | ||
| 172 | 172 | ||
| 173 | ins += "<br><p class='paragrafo'>"+$trad(5,i3GEOF.buffer.dicionario); | 173 | ins += "<br><p class='paragrafo'>"+$trad(5,i3GEOF.buffer.dicionario); |
| 174 | ins += "<br></p><select id=i3GEObufferunir ><option value=nao selected >"+$trad("x15")+"</option><option value=sim >"+$trad("x14")+"</option></select>"; | 174 | ins += "<br></p><select id=i3GEObufferunir ><option value=nao selected >"+$trad("x15")+"</option><option value=sim >"+$trad("x14")+"</option></select>"; |
| @@ -274,7 +274,9 @@ i3GEOF.buffer = { | @@ -274,7 +274,9 @@ i3GEOF.buffer = { | ||
| 274 | "i3GEObuffertemasItem", | 274 | "i3GEObuffertemasItem", |
| 275 | $i("i3GEObuffertemasComSel").value, | 275 | $i("i3GEObuffertemasComSel").value, |
| 276 | function(retorno){ | 276 | function(retorno){ |
| 277 | - $i("i3GEObufferondeItens").innerHTML = retorno.dados + " " + $trad(11,i3GEOF.buffer.dicionario)+" <input onclick='javascript:this.select();' class=digitar id='i3GEObufferdfator' type=text size=10 value='1'/>"; | 277 | + $i("i3GEObufferondeItens").innerHTML = retorno.dados |
| 278 | + + "<br><br><p class=paragrafo >" + $trad(11,i3GEOF.buffer.dicionario) | ||
| 279 | + +" <div class=styled-select><input onclick='javascript:this.select();' id='i3GEObufferdfator' type=text value='1'/></div>"; | ||
| 278 | $i("i3GEObufferondeItens").style.display = "block"; | 280 | $i("i3GEObufferondeItens").style.display = "block"; |
| 279 | }, | 281 | }, |
| 280 | "i3GEObufferondeItens" | 282 | "i3GEObufferondeItens" |
ferramentas/buscafotos/index.js
| @@ -146,19 +146,19 @@ i3GEOF.buscaFotos = { | @@ -146,19 +146,19 @@ i3GEOF.buscaFotos = { | ||
| 146 | ins += ' <p class="paragrafo" >'+$trad(8,i3GEOF.buscaFotos.dicionario); | 146 | ins += ' <p class="paragrafo" >'+$trad(8,i3GEOF.buscaFotos.dicionario); |
| 147 | ins += $trad(9,i3GEOF.buscaFotos.dicionario); | 147 | ins += $trad(9,i3GEOF.buscaFotos.dicionario); |
| 148 | ins += $trad(10,i3GEOF.buscaFotos.dicionario); | 148 | ins += $trad(10,i3GEOF.buscaFotos.dicionario); |
| 149 | - ins += ' <p class="paragrafo" >'+$trad(11,i3GEOF.buscaFotos.dicionario)+': <input onclick="javascript:this.select();" style="cursor:text" class=digitar type=text size=30 value="" id="i3GEObuscafotostexto" />'; | ||
| 150 | - ins += ' <p class="paragrafo" >'+$trad(12,i3GEOF.buscaFotos.dicionario)+': <input onclick="javascript:this.select();" style="cursor:text" class=digitar type=text size=10 value="2009" id="i3GEObuscafotosai" />'; | ||
| 151 | - ins += ' '+$trad(13,i3GEOF.buscaFotos.dicionario)+': <input onclick="javascript:this.select();" style="cursor:text" class=digitar type=text size=10 value="2009" id="i3GEObuscafotosaf" /><br><br>'; | 149 | + ins += ' <p class="paragrafo" >'+$trad(11,i3GEOF.buscaFotos.dicionario)+': <br><div class=styled-select><input onclick="javascript:this.select();" style="cursor:text" type=text size=30 value="" id="i3GEObuscafotostexto" /></div>'; |
| 150 | + ins += ' <br><p class="paragrafo" >'+$trad(12,i3GEOF.buscaFotos.dicionario)+': <br><div class=styled-select><input onclick="javascript:this.select();" style="cursor:text" type=text size=10 value="2009" id="i3GEObuscafotosai" /></div>'; | ||
| 151 | + ins += ' <br><p class="paragrafo" >'+$trad(13,i3GEOF.buscaFotos.dicionario)+': <br><div class=styled-select><input onclick="javascript:this.select();" style="cursor:text" type=text size=10 value="2009" id="i3GEObuscafotosaf" /></div><br><br>'; | ||
| 152 | ins += ' <input id=i3GEObuscafotosbotao1 size=20 type=button value="'+$trad(14,i3GEOF.buscaFotos.dicionario)+'" />'; | 152 | ins += ' <input id=i3GEObuscafotosbotao1 size=20 type=button value="'+$trad(14,i3GEOF.buscaFotos.dicionario)+'" />'; |
| 153 | ins += ' </div>'; | 153 | ins += ' </div>'; |
| 154 | ins += ' <div>'; | 154 | ins += ' <div>'; |
| 155 | - ins += ' <p class="paragrafo" >'+$trad(15,i3GEOF.buscaFotos.dicionario)+':'; | 155 | + ins += ' <br><p class="paragrafo" >'+$trad(15,i3GEOF.buscaFotos.dicionario)+':'; |
| 156 | ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;none;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=flickr id=i3GEObuscafotosbuscaflickr /><a href="http://www.flickr.com" target="_blank" >Flickr</a>'; | 156 | ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;none;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=flickr id=i3GEObuscafotosbuscaflickr /><a href="http://www.flickr.com" target="_blank" >Flickr</a>'; |
| 157 | ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=panoramio id=i3GEObuscafotosbuscapanoramio /><a href="http://www.panoramio.com" target="_blank" >Panoramio</a>'; | 157 | ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=panoramio id=i3GEObuscafotosbuscapanoramio /><a href="http://www.panoramio.com" target="_blank" >Panoramio</a>'; |
| 158 | ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=locr id=i3GEObuscafotosbuscalocr /><a href="http://www.locr.com" target="_blank" >Locr</a>'; | 158 | ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=locr id=i3GEObuscafotosbuscalocr /><a href="http://www.locr.com" target="_blank" >Locr</a>'; |
| 159 | ins += ' </div>'; | 159 | ins += ' </div>'; |
| 160 | ins += ' <div id="i3GEObuscafotospaginas" style="top:10px;"></div><br>'; | 160 | ins += ' <div id="i3GEObuscafotospaginas" style="top:10px;"></div><br>'; |
| 161 | - ins += ' <div style="top:0px;left:5px;display:block;width:95%;overflow:auto" id="i3GEObuscafotosresultadofotos" ></div>'; | 161 | + ins += ' <div style="top:0px;left:5px;display:block;width:95%;overflow:auto" id="i3GEObuscafotosresultadofotos" ></div><br>'; |
| 162 | ins += '</div>'; | 162 | ins += '</div>'; |
| 163 | return ins; | 163 | return ins; |
| 164 | }, | 164 | }, |
ferramentas/gradehex/index.js
| @@ -165,31 +165,31 @@ i3GEOF.gradeDeHex = { | @@ -165,31 +165,31 @@ i3GEOF.gradeDeHex = { | ||
| 165 | var ins = "<p class='paragrafo'><b>"+$trad(4,i3GEOF.gradeDeHex.dicionario)+"</b>"; | 165 | var ins = "<p class='paragrafo'><b>"+$trad(4,i3GEOF.gradeDeHex.dicionario)+"</b>"; |
| 166 | ins += "<p class='paragrafo'> "; | 166 | ins += "<p class='paragrafo'> "; |
| 167 | if($i("i3GEOgradedehexProj").checked){ | 167 | if($i("i3GEOgradedehexProj").checked){ |
| 168 | - ins += "<label>"+$trad(15,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxg' title='metros' type=text size=6 value='100000'/>"; | 168 | + ins += $trad(15,i3GEOF.gradeDeHex.dicionario); |
| 169 | + ins += "<div class=styled-select ><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxg' title='metros' type=text value='100000'/></div>"; | ||
| 169 | } | 170 | } |
| 170 | else{ | 171 | else{ |
| 171 | - ins += "<label>"+$trad(5,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxg' title='grau' type=text size=3 value='1'/>"; | ||
| 172 | - ins += "<label>"+$trad(6,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxm' title='minuto' type=text size=5 value='00'/>"; | ||
| 173 | - ins += "<label>"+$trad(7,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxs' title='segundo' type=text size=5 value='00.00'/>"; | 172 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+" - "+$trad(6,i3GEOF.gradeDeHex.dicionario)+" - "+$trad(7,i3GEOF.gradeDeHex.dicionario)+"</p>"; |
| 173 | + ins += "<div class=styled-select style='width:40px;float:left;' ><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexxg' title='grau' type=text value='1'/></div>"; | ||
| 174 | + ins += "<div class=styled-select style='width:40px;float:left;margin-left:10px;' ><input onclick='javascript:this.select();' id='i3GEOgradedehexxm' title='minuto' type=text value='00'/></div>"; | ||
| 175 | + ins += "<div class=styled-select style='width:60px;float:left;margin-left:10px;' ><input onclick='javascript:this.select();' id='i3GEOgradedehexxs' title='segundo' type=text value='00.00'/></div>"; | ||
| 174 | } | 176 | } |
| 175 | - /* | ||
| 176 | - ins += "<p class='paragrafo'>Y: "; | ||
| 177 | - ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexyg' title='grau' type=text size=3 value='1'/>"; | ||
| 178 | - ins += $trad(6,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexym' title='minuto' type=text size=5 value='00'/>"; | ||
| 179 | - ins += $trad(7,i3GEOF.gradeDeHex.dicionario)+"<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexys' title='segundo' type=text size=5 value='00.00'/>"; | ||
| 180 | - */ | ||
| 181 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t0()","i3GEOF.gradeDeHex.t2()",ins,"i3GEOF.gradeDeHex.t1()","i3GEOgradedehexresultado",true,"i3GEOF.gradeDeHex_rodape"); | 177 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t0()","i3GEOF.gradeDeHex.t2()",ins,"i3GEOF.gradeDeHex.t1()","i3GEOgradedehexresultado",true,"i3GEOF.gradeDeHex_rodape"); |
| 182 | }, | 178 | }, |
| 183 | t2: function(){ | 179 | t2: function(){ |
| 184 | var ins = "<p class='paragrafo'><b>"+$trad(8,i3GEOF.gradeDeHex.dicionario)+"</b>"; | 180 | var ins = "<p class='paragrafo'><b>"+$trad(8,i3GEOF.gradeDeHex.dicionario)+"</b>"; |
| 185 | - ins += "<p class='paragrafo'>X: "; | ||
| 186 | - ins += "<label>"+$trad(5,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixg' title='grau' type=text size=3 value='-00'/>"; | ||
| 187 | - ins += "<label>"+$trad(6,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixm' title='minuto' type=text size=5 value='00'/>"; | ||
| 188 | - ins += "<label>"+$trad(7,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixs' title='segundo' type=text size=5 value='00.00'/>"; | ||
| 189 | - ins += "<p class='paragrafo'>Y: "; | ||
| 190 | - ins += "<label>"+$trad(5,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiyg' title='grau' type=text size=3 value='-00'/>"; | ||
| 191 | - ins += "<label>"+$trad(6,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiym' title='minuto' type=text size=5 value='00'/>"; | ||
| 192 | - ins += "<label>"+$trad(7,i3GEOF.gradeDeHex.dicionario)+"</label><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiys' title='segundo' type=text size=5 value='00.00'/>"; | 181 | + ins += "<p class='paragrafo'><b>X (long):</b> "; |
| 182 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+" - "+$trad(6,i3GEOF.gradeDeHex.dicionario)+" - "+$trad(7,i3GEOF.gradeDeHex.dicionario)+"</p>"; | ||
| 183 | + ins += "<div class=styled-select style='width:40px;float:left;' ><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexixg' title='grau' type=text value='1'/></div>"; | ||
| 184 | + ins += "<div class=styled-select style='width:40px;float:left;margin-left:10px;margin-right:10px;' ><input onclick='javascript:this.select();' id='i3GEOgradedehexixm' title='minuto' type=text value='00'/></div>"; | ||
| 185 | + ins += "<div class=styled-select style='width:60px;margin-left:10px;' ><input onclick='javascript:this.select();' id='i3GEOgradedehexixs' title='segundo' type=text value='00.00'/></div></p>"; | ||
| 186 | + | ||
| 187 | + ins += "<br><p class='paragrafo'><b>Y (lat):</b> "; | ||
| 188 | + ins += $trad(5,i3GEOF.gradeDeHex.dicionario)+" - "+$trad(6,i3GEOF.gradeDeHex.dicionario)+" - "+$trad(7,i3GEOF.gradeDeHex.dicionario)+"</p>"; | ||
| 189 | + ins += "<div class=styled-select style='width:40px;float:left;' ><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexiyg' title='grau' type=text value='1'/></div>"; | ||
| 190 | + ins += "<div class=styled-select style='width:40px;float:left;margin-left:10px;' ><input onclick='javascript:this.select();' id='i3GEOgradedehexiym' title='minuto' type=text value='00'/></div>"; | ||
| 191 | + ins += "<div class=styled-select style='width:60px;float:left;margin-left:10px;' ><input onclick='javascript:this.select();' id='i3GEOgradedehexiys' title='segundo' type=text value='00.00'/></div>"; | ||
| 192 | + | ||
| 193 | g_tipoacao = "capturaponto"; | 193 | g_tipoacao = "capturaponto"; |
| 194 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t1()","i3GEOF.gradeDeHex.t3()",ins,"i3GEOF.gradeDeHex.t2()","i3GEOgradedehexresultado",true,"i3GEOF.gradeDeHex_rodape"); | 194 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t1()","i3GEOF.gradeDeHex.t3()",ins,"i3GEOF.gradeDeHex.t2()","i3GEOgradedehexresultado",true,"i3GEOF.gradeDeHex_rodape"); |
| 195 | i3GEO.eventos.cliquePerm.desativa(); | 195 | i3GEO.eventos.cliquePerm.desativa(); |
| @@ -198,10 +198,10 @@ i3GEOF.gradeDeHex = { | @@ -198,10 +198,10 @@ i3GEOF.gradeDeHex = { | ||
| 198 | }, | 198 | }, |
| 199 | t3: function(){ | 199 | t3: function(){ |
| 200 | var ins = "<p class='paragrafo'><b>"+$trad(9,i3GEOF.gradeDeHex.dicionario)+"</b>"; | 200 | var ins = "<p class='paragrafo'><b>"+$trad(9,i3GEOF.gradeDeHex.dicionario)+"</b>"; |
| 201 | - ins += "<p class='paragrafo'><label>X: </label>"; | ||
| 202 | - ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnptx' title='pontos em x' type=text size=3 value='10'/>"; | ||
| 203 | - ins += "<p class='paragrafo'><label>Y: </label>"; | ||
| 204 | - ins += "<input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnpty' title='pontos em y' type=text size=3 value='10'/>"; | 201 | + ins += "<p class='paragrafo'>X</p>"; |
| 202 | + ins += "<div class=styled-select ><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnptx' title='pontos em x' type=text value='10'/></div>"; | ||
| 203 | + ins += "<br><p class='paragrafo'>Y"; | ||
| 204 | + ins += "<div class=styled-select ><input onclick='javascript:this.select();' class=digitar id='i3GEOgradedehexnpty' title='pontos em y' type=text value='10'/></div>"; | ||
| 205 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t2()","i3GEOF.gradeDeHex.t4()",ins,"i3GEOF.gradeDeHex.t3()","i3GEOgradedehexresultado",true,"i3GEOF.gradeDeHex_rodape"); | 205 | i3GEO.util.proximoAnterior("i3GEOF.gradeDeHex.t2()","i3GEOF.gradeDeHex.t4()",ins,"i3GEOF.gradeDeHex.t3()","i3GEOgradedehexresultado",true,"i3GEOF.gradeDeHex_rodape"); |
| 206 | }, | 206 | }, |
| 207 | t4: function(){ | 207 | t4: function(){ |
ferramentas/tabela/index.js
| @@ -15,7 +15,7 @@ i3GEOF.tabela = | @@ -15,7 +15,7 @@ i3GEOF.tabela = | ||
| 15 | */ | 15 | */ |
| 16 | propJanelas : {}, | 16 | propJanelas : {}, |
| 17 | /** | 17 | /** |
| 18 | - * Template no formato mustache E preenchido na carga do javascript com o programa dependencias.php | 18 | + * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php |
| 19 | */ | 19 | */ |
| 20 | MUSTACHE : "", | 20 | MUSTACHE : "", |
| 21 | /** | 21 | /** |
| @@ -29,8 +29,6 @@ i3GEOF.tabela = | @@ -29,8 +29,6 @@ i3GEOF.tabela = | ||
| 29 | dicionario["propriedades"] = $trad('p13'); | 29 | dicionario["propriedades"] = $trad('p13'); |
| 30 | dicionario["ini"] = $inputText("", "", idjanela + 'i3GEOtabelainicio', "", 5, "1"); | 30 | dicionario["ini"] = $inputText("", "", idjanela + 'i3GEOtabelainicio', "", 5, "1"); |
| 31 | dicionario["fim"] = $inputText("", "", idjanela + 'i3GEOtabelafim', "", 5, "20"); | 31 | dicionario["fim"] = $inputText("", "", idjanela + 'i3GEOtabelafim', "", 5, "20"); |
| 32 | - dicionario["excvalori"] = "<input type=text id='" + idjanela + "i3GEOtabelaexcestat' value='' />"; | ||
| 33 | - dicionario["filtro"] = "<input type=text id='" + idjanela + "i3GEOtabelafiltro1' value='' />"; | ||
| 34 | return dicionario; | 32 | return dicionario; |
| 35 | }, | 33 | }, |
| 36 | /* | 34 | /* |
ferramentas/tabela/template_mst.html
| 1 | <div id='{{{idjanela}}}' class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'> | 1 | <div id='{{{idjanela}}}' class='yui-navset' style='top: 0px; cursor: pointer; left: 0px;'> |
| 2 | <ul class='yui-nav' style='border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;'> | 2 | <ul class='yui-nav' style='border-width: 0pt 0pt 0px; border-color: rgb(240, 240, 240); border-bottom-color: white;'> |
| 3 | <li><div id='{{{idjanela}}}i3GEOtabelaguia6' style='text-align: center; left: 0px;'> | 3 | <li><div id='{{{idjanela}}}i3GEOtabelaguia6' style='text-align: center; left: 0px;'> |
| 4 | - <a><em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' src='{{{locaplic}}}/imagens/visual/default/branco.gif'></em></a> | ||
| 5 | - </div></li> | ||
| 6 | - <li><div id='{{{idjanela}}}i3GEOtabelaguia1' style='text-align: center; left: 0px;'><a><em>{{{registros}}}</em></a></div></li> | ||
| 7 | - <li><div id='{{{idjanela}}}i3GEOtabelaguia3' style='text-align: center; left: 0px;'><a><em>{{{estatisticas}}}</em></a></div></li> | ||
| 8 | - <li><div id='{{{idjanela}}}i3GEOtabelaguia5' style='text-align: center; left: 0px;'><a><em>{{{relat}}}</em></a></div></li> | 4 | + <a><em><img class='ticPropriedades2' style='height: 14px' title='{{{propriedades}}}' |
| 5 | + src='{{{locaplic}}}/imagens/visual/default/branco.gif'></em></a> | ||
| 6 | + </div></li> | ||
| 7 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia1' style='text-align: center; left: 0px;'> | ||
| 8 | + <a><em>{{{registros}}}</em></a> | ||
| 9 | + </div></li> | ||
| 10 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia3' style='text-align: center; left: 0px;'> | ||
| 11 | + <a><em>{{{estatisticas}}}</em></a> | ||
| 12 | + </div></li> | ||
| 13 | + <li><div id='{{{idjanela}}}i3GEOtabelaguia5' style='text-align: center; left: 0px;'> | ||
| 14 | + <a><em>{{{relat}}}</em></a> | ||
| 15 | + </div></li> | ||
| 9 | </ul> | 16 | </ul> |
| 10 | </div> | 17 | </div> |
| 11 | <br> | 18 | <br> |
| @@ -13,53 +20,58 @@ | @@ -13,53 +20,58 @@ | ||
| 13 | <div id='{{{idjanela}}}i3GEOtabelaguia6obj' style='width: 99%'> | 20 | <div id='{{{idjanela}}}i3GEOtabelaguia6obj' style='width: 99%'> |
| 14 | <table summary='' class=lista2> | 21 | <table summary='' class=lista2> |
| 15 | <tr> | 22 | <tr> |
| 16 | - <td><input style='cursor: pointer; border: 0px solid white;' onclick='i3GEOF.tabela.pegaRegistros({{{idjanelaA}}})' type=checkbox id='{{{idjanela}}} | 23 | + <td><input style='cursor: pointer; border: 0px solid white;' onclick='i3GEOF.tabela.pegaRegistros({{{idjanelaA}}})' type=checkbox |
| 24 | + id='{{{idjanela}}} | ||
| 17 | i3GEOtabelatipolista' /></td> | 25 | i3GEOtabelatipolista' /></td> |
| 18 | - <td><span class=paragrafo >{{{atuatab}}}</span></td> | 26 | + <td><span class=paragrafo>{{{atuatab}}}</span></td> |
| 19 | </tr> | 27 | </tr> |
| 20 | <tr> | 28 | <tr> |
| 21 | - <td><input style='cursor: pointer; border: 0px solid white;' onclick='i3GEOF.tabela.pegaRegistros({{{idjanelaA}}})' type=checkbox id='{{{idjanela}}}i3GEOtabelalegenda' /></td> | ||
| 22 | - <td><span class=paragrafo >{{{colleg}}}</span></td> | 29 | + <td><input style='cursor: pointer; border: 0px solid white;' onclick='i3GEOF.tabela.pegaRegistros({{{idjanelaA}}})' type=checkbox |
| 30 | + id='{{{idjanela}}}i3GEOtabelalegenda' /></td> | ||
| 31 | + <td><span class=paragrafo>{{{colleg}}}</span></td> | ||
| 23 | </tr> | 32 | </tr> |
| 24 | </table> | 33 | </table> |
| 25 | </div> | 34 | </div> |
| 26 | 35 | ||
| 27 | <div id='{{{idjanela}}}i3GEOtabelaguia1obj' style='width: 99%'> | 36 | <div id='{{{idjanela}}}i3GEOtabelaguia1obj' style='width: 99%'> |
| 28 | <div id='{{{idjanela}}}i3GEOtabelacombot' style='position: relative; top: 5px; left: 0px; display: none;'></div> | 37 | <div id='{{{idjanela}}}i3GEOtabelacombot' style='position: relative; top: 5px; left: 0px; display: none;'></div> |
| 29 | - <input title='{{{sellinhas}}}' id='{{{idjanela}}}i3GEOtabelabotao2' size=25 type=button value='{{{atvsel}}}' /> | ||
| 30 | - <input title='{{{limpselmap}}}' id='{{{idjanela}}}i3GEOtabelabotao3' size=25 type=button value='{{{limpsel}}}' /> | ||
| 31 | - <input title='{{{criatemasel}}}' id='{{{idjanela}}}i3GEOtabelabotao6' size=30 type=button value='{{{criatema}}}' /> | ||
| 32 | - <input id='{{{idjanela}}}i3GEOtabelaGraficoI' type=button value='{{{grafico}}}' /> | ||
| 33 | - <input title='{{{vinctab}}}' id='{{{idjanela}}}i3GEOtabelabotaoVinculos' size=30 type=button value='{{{vinculos}}}' /> | ||
| 34 | - <div id='{{{idjanela}}}i3GEOtabelacontador' style='background-color: rgb(240, 240, 240); width: 100%; position: relative; top: 15px; left: 0px; text-align: left; height: 25px;'> | ||
| 35 | - {{{de}}} | ||
| 36 | - <img style='cursor: pointer' onclick='i3GEOF.tabela.menos({{{idjanelaA}}})' src=' | 38 | + <input title='{{{sellinhas}}}' id='{{{idjanela}}}i3GEOtabelabotao2' size=25 type=button value='{{{atvsel}}}' /> <input |
| 39 | + title='{{{limpselmap}}}' id='{{{idjanela}}}i3GEOtabelabotao3' size=25 type=button value='{{{limpsel}}}' /> <input | ||
| 40 | + title='{{{criatemasel}}}' id='{{{idjanela}}}i3GEOtabelabotao6' size=30 type=button value='{{{criatema}}}' /> <input | ||
| 41 | + id='{{{idjanela}}}i3GEOtabelaGraficoI' type=button value='{{{grafico}}}' /> <input title='{{{vinctab}}}' | ||
| 42 | + id='{{{idjanela}}}i3GEOtabelabotaoVinculos' size=30 type=button value='{{{vinculos}}}' /> | ||
| 43 | + <div id='{{{idjanela}}}i3GEOtabelacontador' | ||
| 44 | + style='background-color: rgb(240, 240, 240); width: 100%; position: relative; top: 15px; left: 0px; text-align: left; height: 25px;'> | ||
| 45 | + {{{de}}} <img style='cursor: pointer' onclick='i3GEOF.tabela.menos({{{idjanelaA}}})' src=' | ||
| 37 | {{{locaplic}}}/imagens/minus.gif' /> | 46 | {{{locaplic}}}/imagens/minus.gif' /> |
| 38 | - {{{ini}}} {{{ate}}} | ||
| 39 | - <img style='cursor: pointer' onclick='i3GEOF.tabela.mais({{{idjanelaA}}})' src='{{{locaplic}}}/imagens/plus.gif' /> | ||
| 40 | - {{{fim}}} | ||
| 41 | - <img title='{{{vertodos}}}' style='cursor: pointer; position: relative;' onclick='i3GEOF.tabela.todos({{{idjanelaA}}})' src='{{{locaplic}}}/imagens/dot.gif' /> | ||
| 42 | - <input title='{{{atuareg}}}' id='{{{idjanela}}}i3GEOtabelabotaoLista' size=25 style='position: relative;' type=button value='{{{listar}}}' /> | 47 | + {{{ini}}} {{{ate}}} <img style='cursor: pointer' onclick='i3GEOF.tabela.mais({{{idjanelaA}}})' |
| 48 | + src='{{{locaplic}}}/imagens/plus.gif' /> {{{fim}}} <img title='{{{vertodos}}}' style='cursor: pointer; position: relative;' | ||
| 49 | + onclick='i3GEOF.tabela.todos({{{idjanelaA}}})' src='{{{locaplic}}}/imagens/dot.gif' /> <input title='{{{atuareg}}}' | ||
| 50 | + id='{{{idjanela}}}i3GEOtabelabotaoLista' size=25 style='position: relative;' type=button value='{{{listar}}}' /> | ||
| 43 | </div> | 51 | </div> |
| 44 | <div id='{{{idjanela}}}i3GEOtabelaregistros' style='position: relative; top: 20px; left: 0px; text-align: left;'></div> | 52 | <div id='{{{idjanela}}}i3GEOtabelaregistros' style='position: relative; top: 20px; left: 0px; text-align: left;'></div> |
| 45 | </div> | 53 | </div> |
| 46 | 54 | ||
| 47 | -<div id='{{{idjanela}}}i3GEOtabelaguia3obj' style='display: none; width: 95%; left: 0px; padding:5px;'> | 55 | +<div id='{{{idjanela}}}i3GEOtabelaguia3obj' style='display: none; width: 95%; left: 0px; padding: 5px;'> |
| 48 | <p class='paragrafo'> | 56 | <p class='paragrafo'> |
| 49 | - <label>{{{itemcalc}}}:</label> <div class=styled-select id='{{{idjanela}}}i3GEOtabelaitensGuia3'></div> | ||
| 50 | - <br> | ||
| 51 | - <p class='paragrafo' style='position:relative;'> | ||
| 52 | - <label>{{{excluicalc}}}:</label> <div class=styled-select >{{{filtro}}}</div> | ||
| 53 | - <br> | 57 | + <label>{{{itemcalc}}}:</label> |
| 58 | + <div class=styled-select id='{{{idjanela}}}i3GEOtabelaitensGuia3'></div> | ||
| 59 | + <br> | ||
| 60 | + <p class='paragrafo' style='position: relative;'> | ||
| 61 | + <label>{{{excluicalc}}}:</label> | ||
| 62 | + <div class=styled-select> | ||
| 63 | + <input type=text id='{{{idjanela}}}i3GEOtabelafiltro1' value='' /> | ||
| 64 | + </div> | ||
| 65 | + <br> | ||
| 54 | <p class='paragrafo'> | 66 | <p class='paragrafo'> |
| 55 | <input id='{{{idjanela}}}i3GEOtabelabotao4' size=30 type=button value='{{{calc}}}' /> | 67 | <input id='{{{idjanela}}}i3GEOtabelabotao4' size=30 type=button value='{{{calc}}}' /> |
| 56 | <div id='{{{idjanela}}}i3GEOtabelaoperacoes' style='font-size: 12px; text-align: left; position: relative; top: 15px; left: 0px;'></div> | 68 | <div id='{{{idjanela}}}i3GEOtabelaoperacoes' style='font-size: 12px; text-align: left; position: relative; top: 15px; left: 0px;'></div> |
| 57 | <br> | 69 | <br> |
| 58 | - <div id='{{{idjanela}}}i3GEOtabelamen1' > | 70 | + <div id='{{{idjanela}}}i3GEOtabelamen1'> |
| 59 | <p class='paragrafo'>{{{paraqueas}}} | 71 | <p class='paragrafo'>{{{paraqueas}}} |
| 60 | </div> | 72 | </div> |
| 61 | </div> | 73 | </div> |
| 62 | -<div id='{{{idjanela}}}i3GEOtabelaguia5obj' style='width: 95%; display: none; padding-left:5px;'> | 74 | +<div id='{{{idjanela}}}i3GEOtabelaguia5obj' style='width: 95%; display: none; padding-left: 5px;'> |
| 63 | <p class='paragrafo'>{{{itensrel}}}: | 75 | <p class='paragrafo'>{{{itensrel}}}: |
| 64 | <p class='paragrafo'> | 76 | <p class='paragrafo'> |
| 65 | <div id='{{{idjanela}}}i3GEOtabelaitensrelatorio' class=digitar style='text-align: left; overflow: auto; height: 100px'></div> | 77 | <div id='{{{idjanela}}}i3GEOtabelaitensrelatorio' class=digitar style='text-align: left; overflow: auto; height: 100px'></div> |
| @@ -67,37 +79,30 @@ | @@ -67,37 +79,30 @@ | ||
| 67 | 79 | ||
| 68 | <p class='paragrafo'>{{{itensagr}}}: | 80 | <p class='paragrafo'>{{{itensagr}}}: |
| 69 | <p class='paragrafo'> | 81 | <p class='paragrafo'> |
| 70 | - <div id='{{{idjanela}}}i3GEOtabelaagrupamento' class=styled-select ></div> | 82 | + <div id='{{{idjanela}}}i3GEOtabelaagrupamento' class=styled-select></div> |
| 71 | <br> | 83 | <br> |
| 72 | 84 | ||
| 73 | <p class='paragrafo'>{{{excvalor}}} : | 85 | <p class='paragrafo'>{{{excvalor}}} : |
| 74 | <p class='paragrafo'> | 86 | <p class='paragrafo'> |
| 75 | - <div class=styled-select > | ||
| 76 | - {{{excvalori}}} | 87 | + <div class=styled-select> |
| 88 | + <input type=text id='{{{idjanela}}}i3GEOtabelaexcestat' value='' /> | ||
| 77 | </div> | 89 | </div> |
| 78 | <br> | 90 | <br> |
| 79 | 91 | ||
| 80 | <p class='paragrafo'> | 92 | <p class='paragrafo'> |
| 81 | - <input style='cursor: pointer' type=checkbox id='{{{idjanela}}}i3GEOtabelacalculaarea' /> | ||
| 82 | - {{{incarea}}} | ||
| 83 | - | ||
| 84 | - <input style='cursor: pointer' type=checkbox id='{{{idjanela}}}i3GEOtabelacalculaestat' /> | ||
| 85 | - {{{incestat}}} | ||
| 86 | - <br> | ||
| 87 | - | 93 | + <input style='cursor: pointer' type=checkbox id='{{{idjanela}}}i3GEOtabelacalculaarea' /> {{{incarea}}} <input |
| 94 | + style='cursor: pointer' type=checkbox id='{{{idjanela}}}i3GEOtabelacalculaestat' /> {{{incestat}}} <br> | ||
| 88 | <p class='paragrafo'> | 95 | <p class='paragrafo'> |
| 89 | - <input id='{{{idjanela}}}i3GEOtabelabotao7' size=30 type=button value='{{{relat}}}' /> | ||
| 90 | - <input id='{{{idjanela}}}i3GEOtabelabotao5' size=25 type=button value='{{{relattext}}}' /> | ||
| 91 | - <form method=post style='display: none' id='{{{idjanela}}}i3GEOtabelarelatorio' action='{{{locaplic}}}/ferramentas/tabela/relatorio.php' target='_blank'> | ||
| 92 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelaarearelh' name=arearel value=nao /> | ||
| 93 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelastatrelh' name=statrel value=nao /> | ||
| 94 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelatemarelh' name=temarel value='' /> | ||
| 95 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelag_sidh' name=g_sid value='' /> | ||
| 96 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelaitemagruparelh' name=itemagruparel value='' /> | ||
| 97 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelaitensrelh' name=itensrel value='' /> | ||
| 98 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelanomesrelh' name=nomesrel value='' /> | ||
| 99 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelaordemrel' name=ordemrel value='' /> | ||
| 100 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelaexcluirvalorh' name=excluirvalor value='' /> | ||
| 101 | - <input type=hidden id='{{{idjanela}}}i3GEOtabelatiporelh' name=tiporel value='' /> | 96 | + <input id='{{{idjanela}}}i3GEOtabelabotao7' size=30 type=button value='{{{relat}}}' /> <input id='{{{idjanela}}}i3GEOtabelabotao5' |
| 97 | + size=25 type=button value='{{{relattext}}}' /> | ||
| 98 | + <form method=post style='display: none' id='{{{idjanela}}}i3GEOtabelarelatorio' action='{{{locaplic}}}/ferramentas/tabela/relatorio.php' | ||
| 99 | + target='_blank'> | ||
| 100 | + <input type=hidden id='{{{idjanela}}}i3GEOtabelaarearelh' name=arearel value=nao /> <input type=hidden | ||
| 101 | + id='{{{idjanela}}}i3GEOtabelastatrelh' name=statrel value=nao /> <input type=hidden id='{{{idjanela}}}i3GEOtabelatemarelh' name=temarel | ||
| 102 | + value='' /> <input type=hidden id='{{{idjanela}}}i3GEOtabelag_sidh' name=g_sid value='' /> <input type=hidden | ||
| 103 | + id='{{{idjanela}}}i3GEOtabelaitemagruparelh' name=itemagruparel value='' /> <input type=hidden id='{{{idjanela}}}i3GEOtabelaitensrelh' | ||
| 104 | + name=itensrel value='' /> <input type=hidden id='{{{idjanela}}}i3GEOtabelanomesrelh' name=nomesrel value='' /> <input type=hidden | ||
| 105 | + id='{{{idjanela}}}i3GEOtabelaordemrel' name=ordemrel value='' /> <input type=hidden id='{{{idjanela}}}i3GEOtabelaexcluirvalorh' | ||
| 106 | + name=excluirvalor value='' /> <input type=hidden id='{{{idjanela}}}i3GEOtabelatiporelh' name=tiporel value='' /> | ||
| 102 | </form> | 107 | </form> |
| 103 | </div> | 108 | </div> |
init/index.php
| @@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
| 15 | */ | 15 | */ |
| 16 | include(dirname(__FILE__)."/../ms_configura.php"); | 16 | include(dirname(__FILE__)."/../ms_configura.php"); |
| 17 | if(!empty($_GET["customDir"])){ | 17 | if(!empty($_GET["customDir"])){ |
| 18 | - $customDir = $_GET["customDir"]; | 18 | + $customDir = strip_tags($_GET["customDir"]); |
| 19 | } | 19 | } |
| 20 | else if(empty($customDir)){ | 20 | else if(empty($customDir)){ |
| 21 | $customDir = "interface"; | 21 | $customDir = "interface"; |