Home > php教程 > php手册 > body text

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

WBOY
Release: 2016-06-06 20:09:44
Original
1071 people have browsed it

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'));

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!