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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jan 16 06:27:50 EST 2007


Author: christoph
Date: 2007-01-16 06:27:50 -0500 (Tue, 16 Jan 2007)
New Revision: 1009

Modified:
   trunk/mapbender/http/php/mod_wfs.php
Log:
added f_box and f_edit

Modified: trunk/mapbender/http/php/mod_wfs.php
===================================================================
--- trunk/mapbender/http/php/mod_wfs.php	2007-01-16 11:26:56 UTC (rev 1008)
+++ trunk/mapbender/http/php/mod_wfs.php	2007-01-16 11:27:50 UTC (rev 1009)
@@ -154,6 +154,8 @@
 			echo "wfs_conf[".$i."]['element'][".$cnt."]['element_type'] = '".$row["element_type"]."';";
 			echo "wfs_conf[".$i."]['element'][".$cnt."]['f_geom'] = '".$row["f_geom"]."';";
 			echo "wfs_conf[".$i."]['element'][".$cnt."]['f_gid'] = '".$row["f_gid"]."';";
+			echo "wfs_conf[".$i."]['element'][".$cnt."]['f_box'] = '".addslashes(str_replace(chr(13), "", str_replace(chr(10), "", $row["f_box"])))."';";
+			echo "wfs_conf[".$i."]['element'][".$cnt."]['f_edit'] = '".$row["f_edit"]."';";
 			$cnt++;
 		}
 		if($cnt == 0){die("wfs_conf data not available");}		



More information about the Mapbender_commits mailing list