Code style changed, ext-user continued:
[mailer.git] / inc / modules / admin / what-edit_user.php
index 11a4f2677ec98ff66311eb1c6837e8e3ff72b3ae..a241477977f0a8bc24efae224ca7a2434bd43b6a 100644 (file)
@@ -46,7 +46,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addYouAreHereLink('admin', __FILE__);
 
 // Fix a notice
-$result_main = false;
+$result_main = FALSE;
 if (isGetRequestElementSet('userid')) {
        // Load user entry
        $result_main = SQL_QUERY_ESC("SELECT
@@ -71,17 +71,17 @@ if ((!isGetRequestElementSet('userid')) || (SQL_NUMROWS($result_main) == 1)) {
                addMemberSelectionBox();
        } elseif (isFormSent('edit')) {
                // Ok, change the account...
-               $updateUser = false; $add = '';
+               $updateUser = FALSE; $add = '';
                if ((!isPostRequestElementSet('pass1')) && (!isPostRequestElementSet('pass2'))) {
                        // Don't change the password
-                       $updateUser = true;
+                       $updateUser = TRUE;
                } elseif ((postRequestElement('pass1') == postRequestElement('pass2'))) {
                        // Change the password
-                       $updateUser = true;
+                       $updateUser = TRUE;
                        $add = ",`password`='" . generateHash(postRequestElement('pass1')) . "'";
                }
 
-               if ($updateUser === true) {
+               if ($updateUser === TRUE) {
                        // We have to add the following things: birthday and max receive mails
                        SQL_QUERY_ESC("UPDATE
        `{?_MYSQL_PREFIX?}_user_data`
@@ -122,11 +122,11 @@ LIMIT 1",
                $content = SQL_FETCHARRAY($result_main);
 
                // Load template
-               loadTemplate('admin_edit_user', false, $content);
+               loadTemplate('admin_edit_user', FALSE, $content);
        }
 } else {
        // Account does not exists!
-       loadTemplate('admin_settings_unsaved', false, '{%message,ADMIN_MEMBER_404=' . bigintval(getRequestElement('userid')) . '%}');
+       loadTemplate('admin_settings_unsaved', FALSE, '{%message,ADMIN_MEMBER_404=' . bigintval(getRequestElement('userid')) . '%}');
 }
 
 // Free the result