X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-del_holiday.php;h=359de0207f5c36eb69830938eee65e4852e2a4f9;hb=fd0bc034f4e10c4b0feb28e85dc302ddce919339;hp=320349d3820fbdfc3236c95e3d93471c2e7bcc97;hpb=739b680de9a1e11bb9f5f403010d91751a6ffcb4;p=mailer.git diff --git a/inc/modules/admin/what-del_holiday.php b/inc/modules/admin/what-del_holiday.php index 320349d382..359de0207f 100644 --- a/inc/modules/admin/what-del_holiday.php +++ b/inc/modules/admin/what-del_holiday.php @@ -14,8 +14,6 @@ * $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 * @@ -43,12 +41,12 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); // Shall I delete selected holidays??? if (ifPostContainsSelections()) { // Delete multiple holiday requests (for list_holiday) - $cnt = '0'; + $count = '0'; foreach (postRequestParameter('sel') as $id => $sel) { // Get the userid $result = SQL_QUERY_ESC("SELECT @@ -85,13 +83,13 @@ LIMIT 1", array(bigintval($id)), __FILE__, __LINE__); // Send email to user $message = loadEmailTemplate('member_holiday_removed', $content, $content['userid']); sendEmail($content['userid'], '{--ADMIN_HOLIDAY_REMOVED_SUBJECT--}', $message); - $cnt++; + $count++; } // END - if // Free result SQL_FREERESULT($result); } // END - foreach - loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_HOLIDAY_MULTI_DELETE', $cnt)); + loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_HOLIDAY_MULTI_DELETE', $count)); } elseif (isGetRequestParameterSet('userid')) { // Set default message $message = '{--ADMIN_HOLIDAY_SINGLE_404--}';