Commit 0a958baddf557e652e58ba4f5c8ba799e2ba4eb9
1 parent
f26fed21
Exists in
master
and in
7 other branches
correção no preview em ambientes windows
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
admin/php/editortexto.php
@@ -54,6 +54,7 @@ body { | @@ -54,6 +54,7 @@ body { | ||
54 | echo "<TEXTAREA name=texto cols=100 rows=20 style='width:500px;float:left;height:500px'>"; | 54 | echo "<TEXTAREA name=texto cols=100 rows=20 style='width:500px;float:left;height:500px'>"; |
55 | echo file_get_contents($mapfile); | 55 | echo file_get_contents($mapfile); |
56 | echo "</TEXTAREA>"; | 56 | echo "</TEXTAREA>"; |
57 | + $mapfile = str_replace("\\","/",$mapfile); | ||
57 | echo "<iframe id='mapaPreview' src='../../mashups/openlayers.php?controles=navigation,panzoombar,scaleline,mouseposition&botoes=identifica&largura=490&fundo=".$mapfile."&temas=".$mapfile."' cols=100 rows=20 style='position:relative;top:2px;overflow:hidden;width:500px;height:500px;border:1px solid gray;'>"; | 58 | echo "<iframe id='mapaPreview' src='../../mashups/openlayers.php?controles=navigation,panzoombar,scaleline,mouseposition&botoes=identifica&largura=490&fundo=".$mapfile."&temas=".$mapfile."' cols=100 rows=20 style='position:relative;top:2px;overflow:hidden;width:500px;height:500px;border:1px solid gray;'>"; |
58 | echo "</iframe>"; | 59 | echo "</iframe>"; |
59 | echo "<input type=hidden name=tipo value=gravar />"; | 60 | echo "<input type=hidden name=tipo value=gravar />"; |