Commit d2b37dd001e33668eee4fb909845846e4857a862
1 parent
9372abe2
Exists in
master
and in
7 other branches
--no commit message
Showing
5 changed files
with
14 additions
and
10 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/js/editormapfile.js
... | ... | @@ -243,7 +243,7 @@ function montaNosRaiz(redesenha) |
243 | 243 | conteudo += " <img style=\"position:relative;cursor:pointer;top:2px\" onclick=\"testarMapfile('"+$mapfiles[i].codigo+"')\" title='testar!' src=\"../imagens/41.png\" />" |
244 | 244 | conteudo += " <img width=20px style=\"position:relative;cursor:pointer;top:2px\" onclick=\"javascript:window.open('../../ms_criamapa.php?layers="+$mapfiles[i].codigo+"')\" title='abrir no i3Geo' src=\"../../imagens/i3geo2.jpg\" />" |
245 | 245 | |
246 | - conteudo += "<b> <span>"+$mapfiles[i].codigo+" <span style=color:gray >"+$mapfiles[i].nome+"</span></span>" | |
246 | + conteudo += "<b> <span>"+$mapfiles[i].codigo+" <span style=color:gray id='idNome_"+$mapfiles[i].codigo+"'>"+$mapfiles[i].nome+"</span></span>" | |
247 | 247 | if($mapfiles[i].imagem != "" && $i("mostraMini").checked == true){ |
248 | 248 | conteudo += "</b><br><img src='../../temas/miniaturas/"+$mapfiles[i].imagem+"'/>"; |
249 | 249 | } | ... | ... |
admin/js/listatemas.js
... | ... | @@ -6,10 +6,14 @@ function montaEditorTema(dados) |
6 | 6 | { |
7 | 7 | function on_editorCheckBoxChange(p_oEvent) |
8 | 8 | { |
9 | - var ins = ""; | |
9 | + var ins = "",temp; | |
10 | 10 | if(p_oEvent.newValue.get("value") == "OK") |
11 | 11 | { |
12 | 12 | gravaDadosTema(dados[0].id_tema); |
13 | + temp = $i("idNome_"+dados[0].codigo_tema); | |
14 | + if(temp){ | |
15 | + temp.innerHTML = $i("nome_tema").value; | |
16 | + } | |
13 | 17 | } |
14 | 18 | else |
15 | 19 | { | ... | ... |
admin/php/editortexto.php
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | </head> |
14 | 14 | <body> |
15 | 15 | <a href="http://mapserver.org/mapfile/index.html#mapfile" target="_new" >Documentação do Mapserver</a><br><br> |
16 | -<a href="../html/editormapfile.html" target="_new" >Voltar</a><br><br> | |
16 | +<a href="../html/editormapfile.html" target="_self" >Voltar</a><br><br> | |
17 | 17 | <form action="editortexto.php?mapfile=<?php echo $_GET["mapfile"];?>" method=post > |
18 | 18 | |
19 | 19 | <input type=submit value="Salvar"/><input type=button value="Testar" onclick="testar()" /> (Salve antes de testar)<br><br> | ... | ... |
temas/acidmap.map
... | ... | @@ -5,23 +5,23 @@ MAP |
5 | 5 | CONNECTION "http://localhost:8080/geoserver/wms?VALUE_COLUMN=VALOR&SERVICE=AMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image/png&EXCEPTIONS=application/vnd.ogc.se_inimage&TILED=true&TRANSPARENT=FALSE&VALUE_COLUMN=value&SIMPLIFY_METHOD=1&SIMPLIFY_SIZE=400&INTERVALS[]=10,20,45,70,100&INTERVALS_COLORS[]=0xffffff00,0xffb2,0xff00b2,0xffff00b2,0xff0000b2&RENDERER_TYPE=2&INTERPOLATION_STRATEGY=2&RADIUS=32" |
6 | 6 | CONNECTIONTYPE WMS |
7 | 7 | METADATA |
8 | - "wms_srs" "EPSG:4326" | |
9 | 8 | "tipooriginal" "" |
9 | + "wms_srs" "EPSG:4326" | |
10 | 10 | "wms_exceptions_format" "application/vnd.ogc.se_xml" |
11 | 11 | "CLASSE" "SIM" |
12 | - "wfs" "nao" | |
13 | 12 | "permitekmz" "nao" |
14 | - "wms_force_separate_request" "1" | |
13 | + "wfs" "nao" | |
15 | 14 | "TEXTO" "NAO" |
16 | - "formatosinfo" "text/plain,application/vnd.ogc.gml,text/html" | |
15 | + "wms_force_separate_request" "1" | |
17 | 16 | "wms_name" "i3geo:locali" |
17 | + "formatosinfo" "text/plain,application/vnd.ogc.gml,text/html" | |
18 | 18 | "nomeoriginal" "i3geo:locali" |
19 | 19 | "permitedownload" "sim" |
20 | - "wms_format" "image/png" | |
21 | 20 | "wms_formatlist" "image/png,application/atom xml,application/atom xml,application/openlayers,application/pdf,application/rss xml,application/rss xml,application/vnd.google-earth.kml,application/vnd.google-earth.kml xml,application/vnd.google-earth.kml xml,application/vnd.google-earth.kmz,application/vnd.google-earth.kmz xml,application/vnd.google-earth.kmz xml,atom,image/geotiff,image/geotiff8,image/gif,image/jpeg,image/png8,image/svg,image/svg xml,image/svg xml,image/tiff,image/tiff8,kml,kmz,openlayers,rss" |
22 | - "permiteogc" "sim" | |
21 | + "wms_format" "image/png" | |
23 | 22 | "permitekml" "sim" |
24 | - "tema" "Acid Mapsx" | |
23 | + "permiteogc" "sim" | |
24 | + "tema" "Acid Maps" | |
25 | 25 | "wms_server_version" "1.1.1" |
26 | 26 | "wms_style" "" |
27 | 27 | END | ... | ... |