[Mapbender-commits] r7983 - branches/2.7/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jul 20 10:18:57 EDT 2011


Author: marc
Date: 2011-07-20 07:18:57 -0700 (Wed, 20 Jul 2011)
New Revision: 7983

Modified:
   branches/2.7/http/php/createImageFromText.php
   branches/2.7/http/php/mod_wfs_conf_interface.js
Log:
#841

Modified: branches/2.7/http/php/createImageFromText.php
===================================================================
--- branches/2.7/http/php/createImageFromText.php	2011-07-20 14:07:09 UTC (rev 7982)
+++ branches/2.7/http/php/createImageFromText.php	2011-07-20 14:18:57 UTC (rev 7983)
@@ -30,7 +30,7 @@
 $white = imagecolorallocate($im, 255, 255, 255);
 $black = imagecolorallocate($im, 0, 0, 0);
 imagestring($im, 2, $text_x, $text_y, $text, $black);
-$im = imagerotate($im, $angle, -1);
+$im = imagerotate($im, $angle, 0);
 
 Header("Content-type:image/png");
 imagepng($im);

Modified: branches/2.7/http/php/mod_wfs_conf_interface.js
===================================================================
--- branches/2.7/http/php/mod_wfs_conf_interface.js	2011-07-20 14:07:09 UTC (rev 7982)
+++ branches/2.7/http/php/mod_wfs_conf_interface.js	2011-07-20 14:18:57 UTC (rev 7983)
@@ -544,7 +544,7 @@
 				html += ">";
 				break;
 			case "textarea":
-				html += "<input type='button' value='Set' \" />";
+				html += "<input type='button' value='Set' />";
 				html += "<div name='helptext' class='helptext'>";
 				html += "<strong>Helptext<em></em>:</strong>";
 				html += "<textarea cols='15' rows='1'></textarea><br />";
@@ -552,7 +552,7 @@
 				html += "</div>";
 				break;
 			case "htmlTemplate":
-				html += "<input type='button' value='Set' \" />";
+				html += "<input type='button' value='Set' />";
 				html += "<div name='helptext' class='helptext htmltemplate'>";
 				html += "<strong>HTML Template<em></em>:</strong>";
 				html += "<select>";



More information about the Mapbender_commits mailing list