* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
LIMIT 1", array(getMemberId()), __FILE__, __LINE__);
if ((SQL_NUMROWS($result1) == 1) || (SQL_NUMROWS($result2) == 1)) {
LIMIT 1", array(getMemberId()), __FILE__, __LINE__);
if ((SQL_NUMROWS($result1) == 1) || (SQL_NUMROWS($result2) == 1)) {
$content = merge_array($content, SQL_FETCHARRAY($result1));
$content = merge_array($content, SQL_FETCHARRAY($result2));
$content = merge_array($content, SQL_FETCHARRAY($result1));
$content = merge_array($content, SQL_FETCHARRAY($result2));
- loadTemplate('admin_settings_saved', false, getMaskedMessage('MEMBER_HOLIDAY_ORDER', generateDateTime($stamp, 1)));
+ displayMessage('{%message,MEMBER_HOLIDAY_ORDER', generateDateTime($stamp, '1') . '%}');
$content['end_day'] = bigintval(postRequestParameter('end_day'));
$content['end_month'] = $GLOBALS['month_descr'][postRequestParameter('end_month')];
$content['end_year'] = bigintval(postRequestParameter('end_year'));
$content['end_day'] = bigintval(postRequestParameter('end_day'));
$content['end_month'] = $GLOBALS['month_descr'][postRequestParameter('end_month')];
$content['end_year'] = bigintval(postRequestParameter('end_year'));
createNewTask('{--ADMIN_HOLIDAY_SUBJECT--}', $message, 'HOLIDAY_REQUEST', getMemberId());
// Display message
createNewTask('{--ADMIN_HOLIDAY_SUBJECT--}', $message, 'HOLIDAY_REQUEST', getMemberId());
// Display message
sendAdminNotification('{--ADMIN_HOLIDAY_DEAC_SUBJECT--}', 'admin_holiday_deactivated', $content, getMemberId());
// Display message to user
sendAdminNotification('{--ADMIN_HOLIDAY_DEAC_SUBJECT--}', 'admin_holiday_deactivated', $content, getMemberId());
// Display message to user
// Check for lock
if (($content['holiday_activated'] + getConfig('holiday_lock')) < time()) {
// User can deactivate his holiday request
// Check for lock
if (($content['holiday_activated'] + getConfig('holiday_lock')) < time()) {
// User can deactivate his holiday request
case 'Y': // Display deactivation form
// Load starting and ending date
$result = SQL_QUERY_ESC("SELECT
case 'Y': // Display deactivation form
// Load starting and ending date
$result = SQL_QUERY_ESC("SELECT