[Mapbender-commits] r3863 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Apr 7 14:28:23 EDT 2009


Author: christoph
Date: 2009-04-07 14:28:23 -0400 (Tue, 07 Apr 2009)
New Revision: 3863

Modified:
   trunk/mapbender/http/php/mod_editApplication.php
Log:
use fixed width and height for select box dummy

Modified: trunk/mapbender/http/php/mod_editApplication.php
===================================================================
--- trunk/mapbender/http/php/mod_editApplication.php	2009-04-07 18:23:54 UTC (rev 3862)
+++ trunk/mapbender/http/php/mod_editApplication.php	2009-04-07 18:28:23 UTC (rev 3863)
@@ -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 "' ";
 
 			//



More information about the Mapbender_commits mailing list