]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-sub_points.php
Extension 'ext-coupon' moved to branch, SQLs improved:
[mailer.git] / inc / modules / admin / what-sub_points.php
index eb6f7e4ab2a1ca0425071db2b10385c292caf8bd..da7bed7cce1d32e78f7f39a4c72c5609b63b64e3 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -74,7 +74,7 @@ if (getRequestParameter('userid') == 'all') {
                SQL_FREERESULT($result_main);
 
                // Output message
-               loadTemplate('admin_settings_saved', false, '{--ADMIN_ALL_POINTS_SUBTRACTED--}');
+               displayMessage('{--ADMIN_ALL_POINTS_SUBTRACTED--}');
        } else {
                // Display form add points
                loadTemplate('admin_sub_points_all');
@@ -100,7 +100,7 @@ if (getRequestParameter('userid') == 'all') {
                        sendEmail($content['email'], '{--ADMIN_SUB_SUBJECT--}', $message);
 
                        // Output message
-                       loadTemplate('admin_settings_saved', false, '{--ADMIN_POINTS_SUBTRACTED--}');
+                       displayMessage('{--ADMIN_POINTS_SUBTRACTED--}');
                } else {
                        // Prepare content
                        $content['userid'] = bigintval(getRequestParameter('userid'));
@@ -109,7 +109,7 @@ if (getRequestParameter('userid') == 'all') {
                        loadTemplate('admin_sub_points', false, $content);
                }
        } else {
-               // User not found!
+               // User not found
                loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))));
        }
 } else {