全站插件24小时自动发货

修复ECSHOP后台管理员留言不显示日期

ECSHOP被收购后,三年时间居然没更新,令人难以置信,又发现管理员留言里的发送日期和阅读日期不能显示。

修复解决方法如下:
1.打开/admin/templates/message_view.htm文件
搜索
{$msg_arr.send_date}
修改为
{$msg_arr.sent_time}
搜索
{$msg_arr.read_date}
修改为
{$msg_arr.read_time}

2.打开/admin/message.php文件
搜索
$msg_arr['message'] = nl2br(htmlspecialchars($msg_arr['message']));
下行加入下面代码
/* 格式化时间 */
$msg_arr['sent_time'] = local_date($GLOBALS['_CFG']['time_format'], $msg_arr['sent_time']);
$msg_arr['read_time'] = local_date($GLOBALS['_CFG']['time_format'], $msg_arr['read_time']);

本文原创地址:https://www.ecshopok.com/article-80.html
版权所有 © 转载时必须以链接形式注明出处!

觉得本文对您有用,想收藏下来!方法很简单:请点击-〉
我们一直坚持白天工作、晚上熬夜更新资源,付出了巨大的精力和时间,其中的辛酸难以言述。

文章评论

暂无评论,来发表一个吧

发表 取消
充值有惊喜 ECSHOP插件网微信客服edait_cn