X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-html_mail.php;h=9c963f71358a70d4921e949d4f31fcadf0f9f1a9;hb=8202991f32bfb2056e94a11746c0b5308fe4a273;hp=276cfb1f73c3c943b57828343612fd1e6714bb8e;hpb=2e715eb7f3f8ca8d259aacb4cbbddde7d9d18e01;p=mailer.git diff --git a/inc/modules/member/what-html_mail.php b/inc/modules/member/what-html_mail.php index 276cfb1f73..9c963f7135 100644 --- a/inc/modules/member/what-html_mail.php +++ b/inc/modules/member/what-html_mail.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -46,7 +46,7 @@ if (!defined('__SECURITY')) { addYouAreHereLink('member', __FILE__); if ((!isExtensionActive('html_mail')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('html_mail')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=html_mail%}'); return; } // END - if @@ -54,8 +54,8 @@ if ((!isExtensionActive('html_mail')) && (!isAdmin())) { if (isFormSent()) { // Save settings SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `html`='%s' WHERE `userid`=%s LIMIT 1", - array(postRequestParameter('html'), getMemberId()), __FILE__, __LINE__); - loadTemplate('admin_settings_saved', false, '{--MEMBER_SETTINGS_SAVED--}'); + array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__); + displayMessage('{--MEMBER_SETTINGS_SAVED--}'); } else { // Prepare it $content['html_y'] = '';