svn commit: r326 - trunk/mapbender/http/php/mod_editElementVars.php
uli at osgeo.org
uli at osgeo.org
Fri May 19 11:53:45 EDT 2006
Author: uli
Date: 2006-05-19 15:53:45+0000
New Revision: 326
Modified:
trunk/mapbender/http/php/mod_editElementVars.php
Log:
db_prep_query included
Modified: trunk/mapbender/http/php/mod_editElementVars.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editElementVars.php?view=diff&rev=326&p1=trunk/mapbender/http/php/mod_editElementVars.php&p2=trunk/mapbender/http/php/mod_editElementVars.php&r1=325&r2=326
==============================================================================
--- trunk/mapbender/http/php/mod_editElementVars.php (original)
+++ trunk/mapbender/http/php/mod_editElementVars.php 2006-05-19 15:53:45+0000
@@ -23,7 +23,7 @@
require_once("../../conf/mapbender.conf");
$con = db_connect($DBSERVER,$OWNER,$PW);
db_select_db(DB,$con);
-
+$sParams = SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
@@ -164,7 +164,7 @@
<body>
<?php
- echo "<form name='form1' action='" . $PHP_SELF . "?".SID."' method='POST'>\n";
+ echo "<form name='form1' action='" . $PHP_SELF . "?".$sParams."' method='POST'>\n";
$fkey_gui_id = $_REQUEST["fkey_gui_id"];
$fkey_e_id = $_REQUEST["fkey_e_id"];
@@ -180,7 +180,7 @@
echo "<input type='button' class='' name='' value='save' onclick='thisSave()'> \n";
echo "<input type='button' class='' name='' value='delete' onclick='thisDelete()'> \n";
- $href = "self.location.href='mod_editElements.php?".SID."&guiList1=".$fkey_gui_id."&guiList2=".$fkey_gui_id."'";
+ $href = "self.location.href='mod_editElements.php?".$sParams."&guiList1=".$fkey_gui_id."&guiList2=".$fkey_gui_id."'";
echo "<input type='button' class='' name='' value='return' onclick=\"".$href."\"> \n";
echo "</div>\n";
More information about the Mapbender_commits
mailing list