X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admins_contct.php;h=1674350b7ebf57e5368f33661cc5c641e5ff13cf;hb=34b1f5b69205b08c760d6dcc87ef6a2d1c291261;hp=9f8dd85ebffbd123914a4b55747217ba6e73df24;hpb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d;p=mailer.git diff --git a/inc/modules/admin/what-admins_contct.php b/inc/modules/admin/what-admins_contct.php index 9f8dd85ebf..1674350b7e 100644 --- a/inc/modules/admin/what-admins_contct.php +++ b/inc/modules/admin/what-admins_contct.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 * @@ -48,18 +48,18 @@ if ((isFormSent()) && (isGetRequestParameterSet('admin'))) { if ((isExtensionActive('msg')) && (postRequestParameter('type') == 'message')) { // Add message $message = loadEmailTemplate('admins_msg_contct_admin', postRequestParameter('text'), 0); - sendAdminMessage(getRequestParameter('admin'), '{--ADMINS_MSG_FROM_ADMIN--}', $message); + sendAdminMessage(getRequestParameter('admin'), '{--ADMIN_ADMINS_MESSAGE_FROM_ADMIN--}', $message); } else { // Load admin's email address $email = getAdminEmail(bigintval(getRequestParameter('admin'))); // Load email template and send the mail to the admin $message = loadEmailTemplate('admins_mail_contct_admin', postRequestParameter('text'), 0); - sendEmail($email, '{--ADMINS_MSG_FROM_ADMIN--}', $message); + sendEmail($email, '{--ADMIN_ADMINS_MESSAGE_FROM_ADMIN--}', $message); } // Mail / message dropped - loadTemplate('admin_settings_saved', false, '{--ADMINS_ADMIN_CONTACTED--}'); + displayMessage('{--ADMIN_ADMINS_ADMIN_CONTACTED--}'); } elseif (isGetRequestParameterSet('admin')) { // Load contact form template $content['admin'] = getRequestParameter('admin'); @@ -76,7 +76,7 @@ if ((isFormSent()) && (isGetRequestParameterSet('admin'))) { loadTemplate('admin_admins_contct_form', false, $content); } else { // Please select an admin! - loadTemplate('admin_settings_saved', false, '{--ADMINS_SELECT_ADMIN--}'); + displayMessage('{--ADMIN_ADMINS_SELECT_ADMIN--}'); } // [EOF]