* svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
+ * Copyright (c) 2009, 2010 by Mailer Developer Team *
* For more information visit: http://www.mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Insert text
$content['text'] = trim(secureString(postRequestParameter('text')));
+ // Load email template
+ $message = loadEmailTemplate('member_contct', $content, getRequestParameter('userid'));
+
// Send contact form out
- $message = loadEmailTemplate('member_contct', $content);
- sendEmail($content['email'], getMessage('ADMIN_CONTACT_USER_SUBJECT'), $message);
- loadTemplate('admin_settings_saved', false, getMessage('ADMIN_USER_CONTACTED'));
+ sendEmail($content['email'], '{--ADMIN_CONTACT_USER_SUBJECT--}', $message);
+
+ // Display message
+ loadTemplate('admin_settings_saved', false, '{--ADMIN_USER_CONTACTED--}');
} else {
// Load contact form template
loadTemplate('admin_contct_user_form', false, $content);
}
} else {
// Not found?
- loadTemplate('admin_settings_saved', false, getMaskedMessage('USER_ACCOUNT_404', bigintval(getRequestParameter('userid'))));
+ loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_USER_ACCOUNT_404', bigintval(getRequestParameter('userid'))));
}
} else {
// Display selection box