svn commit: r307 - trunk/mapbender/http/php/mod_editGuiWms.php
uli at osgeo.org
uli at osgeo.org
Tue May 16 06:00:57 EDT 2006
Author: uli
Date: 2006-05-16 10:00:57+0000
New Revision: 307
Modified:
trunk/mapbender/http/php/mod_editGuiWms.php
Log:
$self for permission validation included
Modified: trunk/mapbender/http/php/mod_editGuiWms.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_editGuiWms.php?view=diff&rev=307&p1=trunk/mapbender/http/php/mod_editGuiWms.php&p2=trunk/mapbender/http/php/mod_editGuiWms.php&r1=306&r2=307
==============================================================================
--- trunk/mapbender/http/php/mod_editGuiWms.php (original)
+++ trunk/mapbender/http/php/mod_editGuiWms.php 2006-05-16 10:00:57+0000
@@ -23,6 +23,7 @@
db_select_db(DB,$con);
import_request_variables("PG");
require_once("../php/mb_validatePermission.php");
+$self = $PHP_SELF . "?".SID."&guiID=".$_REQUEST["guiID"]."&elementID=".$_REQUEST["elementID"];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
@@ -279,7 +280,7 @@
}
}
-echo "<form name='form1' action='" . $PHP_SELF . "?".SID."' method='post'>";
+echo "<form name='form1' action='" . $self ."' method='post'>";
echo "<table cellpadding='3' cellspacing='3' border='0'>";
echo "<tr>";
More information about the Mapbender_commits
mailing list