]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-lock_user.php
0.0.0 shall be our first version
[mailer.git] / inc / modules / admin / what-lock_user.php
index 4512a62c17331c500461ae73eb9dccba28a91cd1..b01c6d3627a6ff624e463e36230d9011a19fe25c 100644 (file)
@@ -66,7 +66,7 @@ if (isGetRequestParameterSet('userid')) {
                        // Entry updated?
                        if (!SQL_HASZEROAFFECTED()) {
                                // Send an email to the user! In later version you can optionally switch this feature off
-                               $message = loadEmailTemplate('lock-user', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
+                               $message = loadEmailTemplate('member_user_locked', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
 
                                // Send away...
                                sendEmail(bigintval(getRequestParameter('userid')), '{--ADMIN_LOCKED_SUBJECT--}', $message);
@@ -98,7 +98,7 @@ LIMIT 1",
                        // Entry updated?
                        if (!SQL_HASZEROAFFECTED()) {
                                // Send an email to the user! In later version you can optionally switch this feature off
-                               $message = loadEmailTemplate('unlock-user', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
+                               $message = loadEmailTemplate('member_user_unlocked', array('text' => postRequestParameter('reason')), bigintval(getRequestParameter('userid')));
 
                                // Send away...
                                sendEmail(bigintval(getRequestParameter('userid')), '{--ADMIN_UNLOCKED_SUBJECT--}', $message);
@@ -161,7 +161,7 @@ LIMIT 1",
                        if (!empty($message)) {
                                loadTemplate('admin_settings_unsaved', false, $message);
                        } else {
-                               loadTemplate('admin_settings_saved', false, '{--ADMIN_USER_UPDATED--}');
+                               displayMessage('{--ADMIN_USER_UPDATED--}');
                        }
                }
        } else {