[Mapbender-commits] r4056 - branches/2.6/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Jun 19 10:54:09 EDT 2009


Author: christoph
Date: 2009-06-19 10:54:09 -0400 (Fri, 19 Jun 2009)
New Revision: 4056

Modified:
   branches/2.6/http/php/mod_editApplication.php
Log:


Modified: branches/2.6/http/php/mod_editApplication.php
===================================================================
--- branches/2.6/http/php/mod_editApplication.php	2009-06-19 14:53:39 UTC (rev 4055)
+++ branches/2.6/http/php/mod_editApplication.php	2009-06-19 14:54:09 UTC (rev 4056)
@@ -193,13 +193,18 @@
 			echo " style = '";
 			if(db_result($res,$i,"e_left") != "" && db_result($res,$i,"e_top") != ""){
 				echo "position:absolute;";
-				echo "left:".db_result($res,$i,"e_left").";";
-				echo "top:".db_result($res,$i,"e_top").";";
+				echo "left:".db_result($res,$i,"e_left")."px;";
+				echo "top:".db_result($res,$i,"e_top")."px;";
 			}
 			if(db_result($res,$i,"e_width") != "" && db_result($res,$i,"e_height") != ""){
-				echo "width:".db_result($res,$i,"e_width").";";
-				echo "height:".db_result($res,$i,"e_height").";";
+				echo "width:".db_result($res,$i,"e_width")."px;";
+				echo "height:".db_result($res,$i,"e_height")."px;";
 			}
+			else {
+				echo "width:15px;";
+				echo "height:15px;";
+			}
+			
 			echo "' ";
 
 			//
@@ -249,4 +254,4 @@
 }
 ?>
 </div></body>
-</html>
\ No newline at end of file
+</html>



More information about the Mapbender_commits mailing list