Commit adab474eb6eba2b21c31de2bd5344e00b56eeddb
1 parent
a57def9c
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
testamapfile.php
@@ -74,7 +74,7 @@ if ($tipo == "") | @@ -74,7 +74,7 @@ if ($tipo == "") | ||
74 | { | 74 | { |
75 | echo '<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"></head><script>function roda(){window.location.href = "?map="+document.getElementById("nomemap").value;}</script><body >'; | 75 | echo '<html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"></head><script>function roda(){window.location.href = "?map="+document.getElementById("nomemap").value;}</script><body >'; |
76 | echo '<form action="testamapfile.php" method="post" id=f >'; | 76 | echo '<form action="testamapfile.php" method="post" id=f >'; |
77 | - echo 'Nome do arquivo map existente no diretório i3geo/temas (complete com "testamapfile.php?map=todos" na URL para testar todos de uma só vez):<br><br><input id=nomemap class=digitar type="file" size=20 ><input id=map type="hidden" value="" name="map"><input type="button" onclick="roda()" class=executar value="Testar" size=10 name="submit">'; | 77 | + echo 'Nome do arquivo map existente no diretório i3geo/temas. Exemplo para uso manual da URL: testamapfile.php?map=biomashp (utilize "testamapfile.php?map=todos" na URL para testar todos de uma só vez):<br><br><input id=nomemap class=digitar type="file" size=20 ><input id=map type="hidden" value="" name="map"><input type="button" onclick="roda()" class=executar value="Testar" size=10 name="submit">'; |
78 | echo '<br>Mostra apenas a legenda? <input type=radio name=solegenda value=sim />sim <input type=radio name=solegenda value=nao CHECKED /> não<br></form></body></html>'; | 78 | echo '<br>Mostra apenas a legenda? <input type=radio name=solegenda value=sim />sim <input type=radio name=solegenda value=nao CHECKED /> não<br></form></body></html>'; |
79 | } | 79 | } |
80 | if (isset($map) && $map != "") | 80 | if (isset($map) && $map != "") |
@@ -94,7 +94,7 @@ if (isset($map) && $map != "") | @@ -94,7 +94,7 @@ if (isset($map) && $map != "") | ||
94 | { | 94 | { |
95 | $temp = explode(".",$arq); | 95 | $temp = explode(".",$arq); |
96 | if($temp[1] == "map") | 96 | if($temp[1] == "map") |
97 | - verifica($arq); | 97 | + verifica($arq,$solegenda); |
98 | else | 98 | else |
99 | {echo "<br>Arquivo <i>$map</i> não é válido. <br>";} | 99 | {echo "<br>Arquivo <i>$map</i> não é válido. <br>";} |
100 | } | 100 | } |