X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-html_mail.php;h=93d835e7b7d230ba3c1660b2d7070555b6e89bbe;hb=00790481119eefa7a54a8dda1cb191fdf4f29226;hp=c00badbd45d26989eb9c9fb3f41f08fbb77f409b;hpb=db0c6702086eea2c44d0aae1702dc2e77a0afc4e;p=mailer.git diff --git a/inc/modules/member/what-html_mail.php b/inc/modules/member/what-html_mail.php index c00badbd45..93d835e7b7 100644 --- a/inc/modules/member/what-html_mail.php +++ b/inc/modules/member/what-html_mail.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * 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 * @@ -37,7 +37,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif (!isMember()) { redirectToIndexMemberOnlyModule(); } @@ -46,7 +46,7 @@ if (!defined('__SECURITY')) { addYouAreHereLink('member', __FILE__); if ((!isExtensionActive('html_mail')) && (!isAdmin())) { - displayMessage(generateExtensionInactiveNotInstalledMessage('html_mail')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=html_mail%}'); return; } // END - if @@ -54,7 +54,7 @@ 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__); + array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__); displayMessage('{--MEMBER_SETTINGS_SAVED--}'); } else { // Prepare it @@ -63,7 +63,7 @@ if (isFormSent()) { $content['html_' . strtolower(getUserData('html'))] = ' checked="checked"'; // Load main template - loadTemplate('member_html_mail_settings', false, $content); + loadTemplate('member_html_mail_settings', FALSE, $content); } // [EOF]