[Mapbender-commits] r7282 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Dec 12 05:43:56 EST 2010
Author: apour
Date: 2010-12-12 02:43:56 -0800 (Sun, 12 Dec 2010)
New Revision: 7282
Modified:
trunk/mapbender/http/php/mod_editGroup.php
Log:
done
Modified: trunk/mapbender/http/php/mod_editGroup.php
===================================================================
--- trunk/mapbender/http/php/mod_editGroup.php 2010-12-12 10:43:25 UTC (rev 7281)
+++ trunk/mapbender/http/php/mod_editGroup.php 2010-12-12 10:43:56 UTC (rev 7282)
@@ -17,14 +17,21 @@
# 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="editGroup";
require_once(dirname(__FILE__)."/../php/mb_validatePermission.php");
/*
- * @security_patch irv open
+ * @security_patch irv done
*/
-security_patch_log(__FILE__,__LINE__);
-import_request_variables("PG");
-$e_id="editGroup";
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+
+$postvars = explode(",", "selected_group,name,title,owner_name,owner_id,description,address,postcode,city,stateorprovince,country,voicetelephone,facsimiletelephone,email,logo_path,action");
+foreach ($postvars as $value) {
+ $$value = $_POST[$value];
+}
+
+
require_once(dirname(__FILE__)."/../classes/class_user.php");
require_once(dirname(__FILE__)."/../classes/class_group.php");
$myGroup = false;
More information about the Mapbender_commits
mailing list