Commit 4690ee8b8e2e0347fd91f3d4d273436a90d5bf3d

Authored by Edmar Moretti
1 parent dc3424bb

Inclusão de opção para abrir mapfile no i3geo no editor de textos

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
admin/php/editortexto.php
@@ -16,7 +16,7 @@ @@ -16,7 +16,7 @@
16 <a href="../html/editormapfile.html" target="_self" >Voltar</a><br><br> 16 <a href="../html/editormapfile.html" target="_self" >Voltar</a><br><br>
17 <form action="editortexto.php?mapfile=<?php echo $_GET["mapfile"];?>" method=post > 17 <form action="editortexto.php?mapfile=<?php echo $_GET["mapfile"];?>" method=post >
18 18
19 -<input type=submit value="Salvar"/><input type=button value="Testar" onclick="testar()" /> (Salve antes de testar)<br><br> 19 +<input type=submit value="Salvar"/><input type=button value="Testar" onclick="testar()" /><input type=button value="Testar no i3Geo" onclick="abrirI3geo()" /> (Salve antes de testar)<br><br>
20 Edite:<br> 20 Edite:<br>
21 <?php 21 <?php
22 //evita erros removendo caracteres PHP 22 //evita erros removendo caracteres PHP
@@ -47,4 +47,7 @@ echo &quot;&lt;input type=hidden name=tipo value=gravar /&gt;&quot;; @@ -47,4 +47,7 @@ echo &quot;&lt;input type=hidden name=tipo value=gravar /&gt;&quot;;
47 function testar(){ 47 function testar(){
48 window.open("../../testamapfile.php?map=<?php echo $_GET["mapfile"]; ?>"); 48 window.open("../../testamapfile.php?map=<?php echo $_GET["mapfile"]; ?>");
49 } 49 }
  50 +function abrirI3geo(){
  51 + window.open("../../ms_criamapa.php?layers=<?php echo $_GET["mapfile"]; ?>");
  52 +}
50 </script> 53 </script>
51 \ No newline at end of file 54 \ No newline at end of file