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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Aug 15 05:19:18 EDT 2008


Author: christoph
Date: 2008-08-15 05:19:18 -0400 (Fri, 15 Aug 2008)
New Revision: 2813

Modified:
   trunk/mapbender/http/php/mod_meetingPoint.php
Log:
merged w/ 2.5 branch

Modified: trunk/mapbender/http/php/mod_meetingPoint.php
===================================================================
--- trunk/mapbender/http/php/mod_meetingPoint.php	2008-08-15 09:15:43 UTC (rev 2812)
+++ trunk/mapbender/http/php/mod_meetingPoint.php	2008-08-15 09:19:18 UTC (rev 2813)
@@ -26,25 +26,12 @@
 <title>meetingPoint</title>
 <?php
 include '../include/dyn_css.php';
-
-$sql = "SELECT DISTINCT e_target FROM gui_element WHERE e_id = '".$_REQUEST["e_id_css"]."' AND fkey_gui_id = $1";
-$v = array($gui_id);
-$t = array('s');
-
-$res = db_prep_query($sql, $v, $t);
-$cnt = 0;
-while($row = db_fetch_array($res)){    
-	$e_target[$cnt] = $row["e_target"];
-	$cnt++;
-}
-
-
 ?>
 <script language='JavaScript'>
 <!--
 <?php
 include('../include/dyn_js.php');
-echo "var mod_meetingPoint_target = '".$e_target."';";
+echo "var mod_meetingPoint_target = '" . $_REQUEST["e_target"] . "';";
 echo "var meetingPoint_write_to = 'meetingPoint';";
 ?>
 try{
@@ -301,4 +288,4 @@
 <br>
 </form>
 </body>
-</html>
+</html>
\ No newline at end of file



More information about the Mapbender_commits mailing list