svn commit: r232 - trunk/mapbender/http/php/mod_filteredGui_filteredUser.php

uli at osgeo.org uli at osgeo.org
Thu May 11 03:35:33 EDT 2006


Author: uli
Date: 2006-05-11 07:35:33+0000
New Revision: 232

Modified:
   trunk/mapbender/http/php/mod_filteredGui_filteredUser.php   (contents, props changed)

Log:
keywords added
header modified

Modified: trunk/mapbender/http/php/mod_filteredGui_filteredUser.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/php/mod_filteredGui_filteredUser.php?view=diff&rev=232&p1=trunk/mapbender/http/php/mod_filteredGui_filteredUser.php&p2=trunk/mapbender/http/php/mod_filteredGui_filteredUser.php&r1=231&r2=232
==============================================================================
--- trunk/mapbender/http/php/mod_filteredGui_filteredUser.php	(original)
+++ trunk/mapbender/http/php/mod_filteredGui_filteredUser.php	2006-05-11 07:35:33+0000
@@ -1,5 +1,5 @@
 <?php
-# $Id: mod_filteredGui_filteredUser.php,v 1.15 2006/03/09 11:11:35 uli_rothstein Exp $
+# $Id$
 # $Head$
 # Copyright (C) 2002 CCGIS 
 #
@@ -17,14 +17,13 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-
-session_start();
 import_request_variables("PG");
-require_once("../php/mb_validateSession.php");
 require_once("../../conf/mapbender.conf");
-$con = db_connect($DBSERVER,$OWNER,$PW);
+$con = db_connect(DBSERVER,OWNER,PW);
 db_select_db(DB,$con);
-$gui_id = $_SESSION["mb_user_gui"];
+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">
 <html>
@@ -155,7 +154,7 @@
 
 /*INSERT HTML*/
 
-echo "<form name='form1' action='" . $PHP_SELF . "?".SID."&e_id_css=".$_REQUEST["e_id_css"]."' method='post'>";
+echo "<form name='form1' action='" . $self ."' method='post'>";
 /*insert guis in selectbox*************************************************************************************/
 echo "<div class='text1'>GUI: </div>";
 echo "<select style='background:#ffffff' class='select1' name='selected_gui' onChange='submit()' size='10'>";




More information about the Mapbender_commits mailing list