Commit dc7441f945af4c4ceeafd76fe1c787808efea135
1 parent
ed066754
Exists in
master
and in
7 other branches
Correção na opção de impressão em PDF
Showing
57 changed files
with
2 additions
and
8 deletions
Show diff stats
admin/admin.db
No preview for this file type
ferramentas/imprimir/a4lpaisagempdf.php
@@ -39,10 +39,7 @@ $nomes = nomeRandomico(); | @@ -39,10 +39,7 @@ $nomes = nomeRandomico(); | ||
39 | //substitui a string de conexão com o banco em cada layer se for necessário | 39 | //substitui a string de conexão com o banco em cada layer se for necessário |
40 | // | 40 | // |
41 | $map = ms_newMapObj($map_file); | 41 | $map = ms_newMapObj($map_file); |
42 | -$temp = str_replace(".map","xxx.map",$map_file); | ||
43 | -$map->save($temp); | ||
44 | -$map = ms_newMapObj($temp); | ||
45 | -restauraCon($temp,$postgis_mapa); | 42 | +substituiConObj($map,$postgis_mapa); |
46 | if($map->getmetadata("interface") == "googlemaps"){ | 43 | if($map->getmetadata("interface") == "googlemaps"){ |
47 | $proj4 = pegaProjecaoDefault("proj4"); | 44 | $proj4 = pegaProjecaoDefault("proj4"); |
48 | $map->setProjection($proj4); | 45 | $map->setProjection($proj4); |
@@ -83,10 +80,7 @@ foreach ($temas as $tema) | @@ -83,10 +80,7 @@ foreach ($temas as $tema) | ||
83 | } | 80 | } |
84 | } | 81 | } |
85 | } | 82 | } |
86 | -$map->save($temp); | ||
87 | -removeLinha("classeNula",$temp); | ||
88 | -$map = ms_newMapObj($temp); | ||
89 | -substituiCon($temp,$postgis_mapa); | 83 | + |
90 | $o = $map->outputformat; | 84 | $o = $map->outputformat; |
91 | if($mapexten != ""){ | 85 | if($mapexten != ""){ |
92 | $ext = explode(" ",$mapexten); | 86 | $ext = explode(" ",$mapexten); |
pacotes/yui290/build/container/container_compacto.js
100644 → 100755
pacotes/yui290/build/container/container_core_compacto.js
100644 → 100755
pacotes/yui290/build/utilities/utilities_compacto.js
100644 → 100755