Commit c5c3cf4e66a88bdbee7bf6e02cb45c50da05377a
1 parent
77e2a780
Exists in
master
and in
7 other branches
--no commit message
Showing
4 changed files
with
13 additions
and
2 deletions
Show diff stats
admin/admin.db
No preview for this file type
aplicmap/dados/biomas.dbf
No preview for this file type
ferramentas/identifica/index.js
@@ -939,7 +939,6 @@ i3GEOF.identifica = { | @@ -939,7 +939,6 @@ i3GEOF.identifica = { | ||
939 | for(k=0;k<nitens;k++){ | 939 | for(k=0;k<nitens;k++){ |
940 | tip = " "; | 940 | tip = " "; |
941 | textovalor = resultados[j][k].valor; | 941 | textovalor = resultados[j][k].valor; |
942 | - | ||
943 | //insere o input para edicao | 942 | //insere o input para edicao |
944 | //se for uma regiao cadastrada, todos os campos sao editaveis | 943 | //se for uma regiao cadastrada, todos os campos sao editaveis |
945 | if(idreg != "" && (resultados[j][k].item === retorno[i].editavel || retorno[i].editavel == "todos" )){ | 944 | if(idreg != "" && (resultados[j][k].item === retorno[i].editavel || retorno[i].editavel == "todos" )){ |
@@ -960,6 +959,18 @@ i3GEOF.identifica = { | @@ -960,6 +959,18 @@ i3GEOF.identifica = { | ||
960 | } | 959 | } |
961 | filtro = "onclick=i3GEOF.identifica.filtrar('"+retorno[i].tema+"','"+resultados[j][k].item+"','"+resultados[j][k].valor+"','"+idjanela+"')"; | 960 | filtro = "onclick=i3GEOF.identifica.filtrar('"+retorno[i].tema+"','"+resultados[j][k].item+"','"+resultados[j][k].valor+"','"+idjanela+"')"; |
962 | filtro = "<img "+filtro+" style='margin-right:2px;position:relative;top:3px;width:12px;' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/view-filter.png' title='"+$trad('filtraValor',i3GEOF.identifica.dicionario)+"' />"; | 961 | filtro = "<img "+filtro+" style='margin-right:2px;position:relative;top:3px;width:12px;' src='"+i3GEO.configura.locaplic+"/imagens/oxygen/16x16/view-filter.png' title='"+$trad('filtraValor',i3GEOF.identifica.dicionario)+"' />"; |
962 | + //verifica se o texto possui tags de abertura e fechamento html | ||
963 | + try{ | ||
964 | + if(textovalor && (textovalor.search(">") >= 0 || textovalor.search("<") >= 0)){ | ||
965 | + filtro = ""; | ||
966 | + } | ||
967 | + //o mesmo problema pode ocorrer em raster, que possuem o nome da classe como valor | ||
968 | + if(resultados[j][k].alias.search(">") >= 0 || resultados[j][k].alias.search("<") >= 0){ | ||
969 | + filtro = ""; | ||
970 | + } | ||
971 | + } | ||
972 | + catch(e){} | ||
973 | + | ||
963 | if(resultados[j][k].link === ""){ | 974 | if(resultados[j][k].link === ""){ |
964 | res += "<div style='width:100%;text-align:left;background-color:"+ | 975 | res += "<div style='width:100%;text-align:left;background-color:"+ |
965 | cor+"' >"+ | 976 | cor+"' >"+ |
temas/_llocali.map
@@ -58,7 +58,7 @@ MAP | @@ -58,7 +58,7 @@ MAP | ||
58 | PROCESSING "POLYLINE_NO_CLIP=True" | 58 | PROCESSING "POLYLINE_NO_CLIP=True" |
59 | PROCESSING "LABEL_NO_CLIP=True" | 59 | PROCESSING "LABEL_NO_CLIP=True" |
60 | PROCESSING "POLYLINE_NO_CLIP=True" | 60 | PROCESSING "POLYLINE_NO_CLIP=True" |
61 | - STATUS DEFAULT | 61 | + STATUS OFF |
62 | TEMPLATE "none.htm" | 62 | TEMPLATE "none.htm" |
63 | TILEITEM "location" | 63 | TILEITEM "location" |
64 | TYPE POINT | 64 | TYPE POINT |