[Mapbender-commits] r7278 - trunk/mapbender/http/php
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sun Dec 12 05:40:59 EST 2010
Author: apour
Date: 2010-12-12 02:40:59 -0800 (Sun, 12 Dec 2010)
New Revision: 7278
Modified:
trunk/mapbender/http/php/mod_editUser.php
Log:
done
Modified: trunk/mapbender/http/php/mod_editUser.php
===================================================================
--- trunk/mapbender/http/php/mod_editUser.php 2010-12-12 10:40:30 UTC (rev 7277)
+++ trunk/mapbender/http/php/mod_editUser.php 2010-12-12 10:40:59 UTC (rev 7278)
@@ -18,14 +18,22 @@
# 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="editUser";
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="editUser";
+//security_patch_log(__FILE__,__LINE__);
+//import_request_variables("PG");
+
+$postvars = explode(",", "selected_user,name,firstname,lastname,academic_title,password,password_plain,v_password,description,email,phone,facsimile,street,housenumber,delivery_point,postal_code,city,organization,department,position,country,owner_name,owner_id,login_count,resolution,action");
+foreach ($postvars as $value) {
+ $$value = $_POST[$value];
+}
+
+
+
require_once(dirname(__FILE__)."/../classes/class_user.php");
include "../../lib/editUser.php";
More information about the Mapbender_commits
mailing list