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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Sun Dec 12 05:21:16 EST 2010


Author: apour
Date: 2010-12-12 02:21:16 -0800 (Sun, 12 Dec 2010)
New Revision: 7271

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

Modified: trunk/mapbender/http/php/mod_filteredUser_Group.php
===================================================================
--- trunk/mapbender/http/php/mod_filteredUser_Group.php	2010-12-12 10:18:12 UTC (rev 7270)
+++ trunk/mapbender/http/php/mod_filteredUser_Group.php	2010-12-12 10:21:16 UTC (rev 7271)
@@ -17,15 +17,20 @@
 # 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="filteredUser_Group";
 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="filteredUser_Group";
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+$postvars = explode(",", "filter1,selected_user,insert,remove,remove_group,selected_group");
+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