Home >php教程 >php手册 >phpcmsv9会员中心修改以审核的稿件

phpcmsv9会员中心修改以审核的稿件

WBOY
WBOYOriginal
2016-06-06 20:09:441129browse

php爱好者?源码集中交流基地,php源码分享,专注于php开发,专注于php教程探析 修改模板文件\phpcms\templates\default\member\content_published . html 找到{if$info[status]==99}{L('pass')}{elseif ! $info[flag]}{L('verify_content')}{else}{L('edit')

php爱好者?源码集中交流基地,php源码分享,专注于php开发,专注于php教程探析

修改模板文件\phpcms\templates\default\member\content_published.html

找到{if$info[status]==99}{L('pass')}{elseif!$info[flag]}{L('verify_content')}{else}{L('edit')}{/if}

修改为{L('edit')}{if$info[status]==99}{L('pass')}{elseif!$info[flag]}{L('verify_content')}{/if}

即是把“编辑”链接提出判断语句。$info[status]==99意思是“已审核”3=已通过,2=退稿,1=待审核,0=草稿

2.修改模块文件\phpcms\modules\member\content.php

屏蔽掉语句if($r['status']==99)showmessage(L('has_been_verified'));

经过以上两个步骤,前台已经可能再次修改已通过审核的稿件了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP最佳实践(译)Next article:Gitlist 安装与配置