Form Manager提示最近一天的提交信息

打开worpdress-form-manager\page\main.php文件,搜索一下内容或者找到185行左右,将以下代码

getLastSubmission($form['ID']);echo $sub['timestamp'];?>

替换为

getLastSubmission($form['ID']); $datah=strtotime("".$sub['timestamp']."");$edata=strtotime("now");if (($edata - $datah) > 86400){echo $sub['timestamp'];}else{echo ''.$sub['timestamp'].'';}?>

保存即可

演示如图:
Form Manager提示最近一天的提交信息

插件Form Manager简体中文包

Campbell Hoffman 制作的wordpress插件Form Manager可以说是企业站的必备插件,但目前还没有人提供简体中文的语言包

我制作了一下,提供给大家,下载之后保存到/wp-content/plugins/wordpress-form-manager/languages/内即可

百度网盘http://pan.baidu.com/s/1kzRdW

"Project-Id-Version: Form Manager 1.6.49\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/wordpress-form-manager\n"
"POT-Creation-Date: 2014-09-09 19:22:29+00:00\n"
"PO-Revision-Date: 2014-09-14 16:56+0800\n"
"Last-Translator: \n"
"Language-Team: 风晓天 \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.5.7\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: _e;__;_n;_ex;_x\n"
"X-Poedit-Basepath: .\n"
"X-Poedit-SearchPath-0: ..\n"