svn commit: r272 - trunk/mapbender/http/frames/index.php
uli at osgeo.org
uli at osgeo.org
Mon May 15 04:40:03 EDT 2006
Author: uli
Date: 2006-05-15 08:40:03+0000
New Revision: 272
Modified:
trunk/mapbender/http/frames/index.php
Log:
get-parameter for external modules reduced to sessionID
automatic interpolation of guiID and elementID
Modified: trunk/mapbender/http/frames/index.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/frames/index.php?view=diff&rev=272&p1=trunk/mapbender/http/frames/index.php&p2=trunk/mapbender/http/frames/index.php&r1=271&r2=272
==============================================================================
--- trunk/mapbender/http/frames/index.php (original)
+++ trunk/mapbender/http/frames/index.php 2006-05-15 08:40:03+0000
@@ -26,8 +26,8 @@
$con = db_connect(DBSERVER,OWNER,PW);
db_select_db(DB,$con);
-$pattern = array('/sessionID/','/guiID/','/elementID/');
-$replacement = array(SID,"guiID=".$_REQUEST["gui_id"]);
+$pattern = '/sessionID/';
+
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
@@ -99,7 +99,7 @@
$res = db_prep_query($sql,$v,$t);
$i = 0;
while(db_fetch_row($res)){
- $replacement[3] = "elementID=".db_result($res,$i,"e_id");
+ $replacement = SID."&guiID=".$_REQUEST["gui_id"]."&elementID=".db_result($res,$i,"e_id");
echo "<".db_result($res,$i,"e_element")." ";
if(db_result($res,$i,"e_id") != ""){
echo " id='".db_result($res,$i,"e_id")."'";
More information about the Mapbender_commits
mailing list