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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 04:52:55 EST 2010


Author: christoph
Date: 2010-12-12 01:52:55 -0800 (Sun, 12 Dec 2010)
New Revision: 7256

Modified:
   trunk/mapbender/http/php/mod_filteredGroup_Gui.php
Log:
done

Modified: trunk/mapbender/http/php/mod_filteredGroup_Gui.php
===================================================================
--- trunk/mapbender/http/php/mod_filteredGroup_Gui.php	2010-12-12 09:52:43 UTC (rev 7255)
+++ trunk/mapbender/http/php/mod_filteredGroup_Gui.php	2010-12-12 09:52:55 UTC (rev 7256)
@@ -18,15 +18,18 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
+$e_id="filteredGroup_Gui";
 require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 
 /*  
- * @security_patch irv open 
+ * @security_patch irv done
  */
-require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
 security_patch_log(__FILE__,__LINE__); 
-import_request_variables("PG"); 
-$e_id="filteredGroup_Gui";
+$postvars = explode(",", "selected_group,insert,remove,remove_gui,selected_gui");
+foreach ($postvars as $value) {
+   $$value = $_POST[$value];
+}
+
 ?>
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>



More information about the Mapbender_commits mailing list