svn commit: r785 - trunk/mapbender/http/print/printPDF_b.conf
astrid_emde at osgeo.org
astrid_emde at osgeo.org
Tue Oct 10 03:52:41 EDT 2006
Author: astrid_emde
Date: 2006-10-10 07:52:41+0000
New Revision: 785
Modified:
trunk/mapbender/http/print/printPDF_b.conf
Log:
if CHARSET utf8 the comments and wms- and layer-title are decoded
Modified: trunk/mapbender/http/print/printPDF_b.conf
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/print/printPDF_b.conf?view=diff&rev=785&p1=trunk/mapbender/http/print/printPDF_b.conf&p2=trunk/mapbender/http/print/printPDF_b.conf&r1=784&r2=785
==============================================================================
--- trunk/mapbender/http/print/printPDF_b.conf (original)
+++ trunk/mapbender/http/print/printPDF_b.conf 2006-10-10 07:52:41+0000
@@ -38,6 +38,15 @@
$unlink = true;
# labeling
+if(CHARSET=="UTF-8"){
+ $new_comment1 = utf8_decode($_REQUEST["comment1"]);
+ $new_comment2 = utf8_decode($_REQUEST["comment2"]);
+}
+else{
+ $new_comment1 = $_REQUEST["comment1"];
+ $new_comment2 = $_REQUEST["comment2"];
+}
+
$text1 = "Druckansicht";
$text2 = "- Mapbender -";
$text3 = "";
@@ -46,8 +55,8 @@
$text6 = "Notizen:";
$text7 = "";
-$text8 = $_REQUEST["comment1"];
-$text9 = $_REQUEST["comment2"];
+$text8 = $new_comment1;
+$text9 = $new_comment2;
$text10 = "";
More information about the Mapbender_commits
mailing list