[Mapbender-commits] r3822 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Mar 27 05:29:43 EDT 2009
Author: verenadiewald
Date: 2009-03-27 05:29:42 -0400 (Fri, 27 Mar 2009)
New Revision: 3822
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
use Mapbender charset for digitize window
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-03-27 09:25:53 UTC (rev 3821)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-03-27 09:29:42 UTC (rev 3822)
@@ -1487,7 +1487,7 @@
function showWfsKml (geometryIndex) {
wfsKmlWindow = open("", "wfsattributes", "width="+wfsWindowWidth+", height="+wfsWindowHeight+", resizable, dependent=yes, scrollbars=yes");
wfsKmlWindow.document.open("text/html");
- wfsKmlWindow.document.writeln("<html><head></head><body><div id='linkToKml'></div><div id='elementForm'></div></body></html>");
+ wfsKmlWindow.document.writeln("<html><head><meta http-equiv='Content-Type' content='text/html; charset=<?php echo CHARSET;?>'></head><body><div id='linkToKml'></div><div id='elementForm'></div></body></html>");
wfsKmlWindow.document.close();
str = "<form id = 'wmsKmlForm' onsubmit='return false;'><table>";
@@ -1570,13 +1570,13 @@
str += "<div id='elementForm'>\n</div>";
if (defaultIndex != -1) {
- wfsWindow.document.writeln("<html><head><style type='text/css'>"+wfsConf[defaultIndex]['g_style']+"</style></head><body></body></html>");
+ wfsWindow.document.writeln("<html><head><meta http-equiv='Content-Type' content='text/html; charset=<?php echo CHARSET;?>'><style type='text/css'>"+wfsConf[defaultIndex]['g_style']+"</style></head><body></body></html>");
wfsWindow.document.write(str);
wfsWindow.document.close();
wfsWindow.document.getElementById("elementForm").innerHTML = buildElementForm(defaultIndex, geometryIndex);
}
else {
- wfsWindow.document.writeln("<html><head><style type='text/css'></style></head><body></body></html>");
+ wfsWindow.document.writeln("<html><head><meta http-equiv='Content-Type' content='text/html; charset=<?php echo CHARSET;?>'><style type='text/css'></style></head><body></body></html>");
wfsWindow.document.write(str);
wfsWindow.document.close();
}
More information about the Mapbender_commits
mailing list