X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-admins_contct.php;h=9f8dd85ebffbd123914a4b55747217ba6e73df24;hb=c5173c4d66be7ec72fbf8051a2097cbb377e87a0;hp=75d8c2fd9ac8f749e721ce6b756d8f2e1d6a2089;hpb=0fe94791af05018868398d3c6c87d2b16f9557a2;p=mailer.git diff --git a/inc/modules/admin/what-admins_contct.php b/inc/modules/admin/what-admins_contct.php index 75d8c2fd9a..9f8dd85ebf 100644 --- a/inc/modules/admin/what-admins_contct.php +++ b/inc/modules/admin/what-admins_contct.php @@ -14,10 +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 * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,25 +41,25 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); +addYouAreHereLink('admin', __FILE__); if ((isFormSent()) && (isGetRequestParameterSet('admin'))) { // Send mail or message if ((isExtensionActive('msg')) && (postRequestParameter('type') == 'message')) { // Add message $message = loadEmailTemplate('admins_msg_contct_admin', postRequestParameter('text'), 0); - sendAdminMessage(getRequestParameter('admin'), getMessage('ADMINS_MSG_FROM_ADMIN'), $message); + sendAdminMessage(getRequestParameter('admin'), '{--ADMINS_MSG_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, getMessage('ADMINS_MSG_FROM_ADMIN'), $message); + sendEmail($email, '{--ADMINS_MSG_FROM_ADMIN--}', $message); } // Mail / message dropped - loadTemplate('admin_settings_saved', false, getMessage('ADMINS_ADMIN_CONTACTED')); + loadTemplate('admin_settings_saved', false, '{--ADMINS_ADMIN_CONTACTED--}'); } elseif (isGetRequestParameterSet('admin')) { // Load contact form template $content['admin'] = getRequestParameter('admin'); @@ -77,7 +76,7 @@ if ((isFormSent()) && (isGetRequestParameterSet('admin'))) { loadTemplate('admin_admins_contct_form', false, $content); } else { // Please select an admin! - loadTemplate('admin_settings_saved', false, getMessage('ADMINS_SELECT_ADMIN')); + loadTemplate('admin_settings_saved', false, '{--ADMINS_SELECT_ADMIN--}'); } // [EOF]