[Mapbender-commits] r3821 - branches/2.6/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Mar 27 05:25:53 EDT 2009
Author: verenadiewald
Date: 2009-03-27 05:25:53 -0400 (Fri, 27 Mar 2009)
New Revision: 3821
Modified:
branches/2.6/http/javascripts/mod_digitize_tab.php
Log:
use Mapbender charset for digitize window
Modified: branches/2.6/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.6/http/javascripts/mod_digitize_tab.php 2009-03-27 09:22:48 UTC (rev 3820)
+++ branches/2.6/http/javascripts/mod_digitize_tab.php 2009-03-27 09:25:53 UTC (rev 3821)
@@ -1480,7 +1480,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>";
@@ -1563,13 +1563,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