X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-add_points.php;h=b33752ae4b438d3bef600075b73d5f78e304e12b;hb=1410e014d23f244e73d3a7916a61c2473416bab9;hp=93a1923a90de2050e126e932a05666810e3d35e4;hpb=d74c32ab676919eb5d8483e941f1087179af4b49;p=mailer.git diff --git a/inc/modules/admin/what-add_points.php b/inc/modules/admin/what-add_points.php index 93a1923a90..b33752ae4b 100644 --- a/inc/modules/admin/what-add_points.php +++ b/inc/modules/admin/what-add_points.php @@ -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 * @@ -82,7 +82,7 @@ if (getRequestParameter('userid') == 'all') { SQL_FREERESULT($result_main); // Output message - loadTemplate('admin_settings_saved', false, '{--ADMIN_ALL_POINTS_ADDED--}'); + displayMessage('{--ADMIN_ALL_POINTS_ADDED--}'); } else { // Display form add points loadTemplate('admin_add_points_all'); @@ -107,7 +107,7 @@ if (getRequestParameter('userid') == 'all') { $message = loadEmailTemplate('add-points', $content, bigintval(getRequestParameter('userid'))); sendEmail(bigintval(getRequestParameter('userid')), '{--ADMIN_ADD_SUBJECT--}', $message); - loadTemplate('admin_settings_saved', false, '{--ADMIN_POINTS_ADDED--}'); + displayMessage('{--ADMIN_POINTS_ADDED--}'); } else { // Prepare content $content['userid'] = bigintval(getRequestParameter('userid')); @@ -116,7 +116,7 @@ if (getRequestParameter('userid') == 'all') { loadTemplate('admin_add_points', false, $content); } } else { - // User not found! + // User not found loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid')))); } } else {