Commit adab474eb6eba2b21c31de2bd5344e00b56eeddb

Authored by Edmar Moretti
1 parent a57def9c

--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 74 {
75 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 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 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 80 if (isset($map) && $map != "")
... ... @@ -94,7 +94,7 @@ if (isset($map) &amp;&amp; $map != &quot;&quot;)
94 94 {
95 95 $temp = explode(".",$arq);
96 96 if($temp[1] == "map")
97   - verifica($arq);
  97 + verifica($arq,$solegenda);
98 98 else
99 99 {echo "<br>Arquivo <i>$map</i> não é válido. <br>";}
100 100 }
... ...