]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-edit_user.php
Even more variables renamed and login procedure prepared for filter
[mailer.git] / inc / modules / admin / what-edit_user.php
index 3934d67c65a60a0b9fb1e9cd7ee56467feb3aee0..06b725b691dce08416b7835f1a8681f5b4492ddd 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Mitgliederprofile aendern                        *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -59,10 +64,10 @@ if ((SQL_NUMROWS($result_main) == 1) || (!REQUEST_ISSET_GET(('uid'))))
                // Output selection form with all confirmed user accounts listed
                ADD_MEMBER_SELECTION_BOX();
        }
-        elseif (REQUEST_ISSET_POST(('edit')))
+        elseif (REQUEST_ISSET_POST('edit'))
        {
                // Ok, change the account...
-               $PASS = false; $ADD = "";
+               $PASS = false; $add = "";
                if ((!REQUEST_ISSET_POST(('pass1'))) && (!REQUEST_ISSET_POST(('pass2'))))
                {
                        // Don't change the password
@@ -72,7 +77,7 @@ if ((SQL_NUMROWS($result_main) == 1) || (!REQUEST_ISSET_GET(('uid'))))
                {
                        // Change the password
                        $PASS = true;
-                       $ADD = ", password='".generateHash(REQUEST_POST('pass1'))."'";
+                       $add = ", password='".generateHash(REQUEST_POST('pass1'))."'";
                }
                if ($PASS)
                {
@@ -86,7 +91,7 @@ country='%s',
 zip=%s,
 city='%s',
 email='%s'
-".$ADD."
+".$add."
 WHERE userid=%s LIMIT 1",
  array(
        substr(REQUEST_POST('gender'), 0, 1),