X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-html_mail.php;h=9c963f71358a70d4921e949d4f31fcadf0f9f1a9;hb=f6014bce7255a915872f2f463247440c0d58f9a9;hp=f5ef2e499522194bf61b338fde0ecd7b81f09744;hpb=fe8e4c180ec67e320be98e1e8dc1f9ea612c3636;p=mailer.git diff --git a/inc/modules/member/what-html_mail.php b/inc/modules/member/what-html_mail.php index f5ef2e4995..9c963f7135 100644 --- a/inc/modules/member/what-html_mail.php +++ b/inc/modules/member/what-html_mail.php @@ -14,11 +14,10 @@ * $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 * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 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 * @@ -44,10 +43,10 @@ if (!defined('__SECURITY')) { } // Add description as navigation point -addMenuDescription('member', __FILE__); +addYouAreHereLink('member', __FILE__); if ((!isExtensionActive('html_mail')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('html_mail')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=html_mail%}'); return; } // END - if @@ -56,14 +55,8 @@ if (isFormSent()) { // Save settings SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `html`='%s' WHERE `userid`=%s LIMIT 1", array(postRequestElement('html'), getMemberId()), __FILE__, __LINE__); - loadTemplate('admin_settings_saved', false, getMessage('MEMBER_SETTINGS_SAVED')); + displayMessage('{--MEMBER_SETTINGS_SAVED--}'); } else { - // Load template for changing settings - if (!fetchUserData(getMemberId())) { - // Something really bad happened - debug_report_bug('No user account ' . getMemberId() . ' found.'); - } // END - if - // Prepare it $content['html_y'] = ''; $content['html_n'] = '';