发表时间:2015-04-10 09:15:25作者:zhao人气:更新时间:2026-02-18 19:30:23
选择“HTML 邮件”保存

保存失败(0-纯文本邮件,1-HTML邮件)

解决办法:编辑/admin/mail_template.php,将$_POST[‘is_html’]修改为$_POST[‘mail_type’]
$type = intval($_POST['mail_type']);
$tpl_id = intval($_POST['tpl']);
$sql = "UPDATE " .$ecs->table('mail_templates'). " SET ".
"template_subject = '" .str_replace('''', ''', $subject). "', ".
"template_content = '" .str_replace('''', ''', $content). "', ".
"is_html = '$type', ".
"last_modify = '" .gmtime(). "' ".
"WHERE template_id='$tpl_id'";
网友评论