X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-sub_points.php;h=da7bed7cce1d32e78f7f39a4c72c5609b63b64e3;hb=5c4d360166de238420eec3e5f4e694befb09ab5d;hp=b7c6c86e88cc67a09da74412c1c5d7671d6ad2ad;hpb=8fba2c387c8d589a4dd63ae1f1fc3ca8de8c95ed;p=mailer.git diff --git a/inc/modules/admin/what-sub_points.php b/inc/modules/admin/what-sub_points.php index b7c6c86e88..da7bed7cce 100644 --- a/inc/modules/admin/what-sub_points.php +++ b/inc/modules/admin/what-sub_points.php @@ -14,11 +14,9 @@ * $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 - 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 * @@ -43,7 +41,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if (getRequestParameter('userid') == 'all') { // Is the form sent? @@ -76,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'); @@ -102,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')); @@ -111,8 +109,8 @@ if (getRequestParameter('userid') == 'all') { loadTemplate('admin_sub_points', false, $content); } } else { - // User not found! - loadTemplate('admin_settings_saved', false, '
' . getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid'))) . '
'); + // User not found + loadTemplate('admin_settings_unsaved', false, getMaskedMessage('ADMIN_MEMBER_404', bigintval(getRequestParameter('userid')))); } } else { // Output selection form with all confirmed user accounts listed