Home > php教程 > php手册 > Auth认证在模板网页中控制按钮显示与不显示

Auth认证在模板网页中控制按钮显示与不显示

WBOY
Release: 2016-06-07 11:35:37
Original
1566 people have browsed it

Auth认证在模板中控制按钮显示,自己定义了一个标签,使用很方便。
使用方法:
1、在系统配置中引入标签,//自定义标签<br>     'TAGLIB_BUILD_IN' => 'Cx,Html,Common\Tag\Auth', //加载自定义标签2、在模板中使用  <br> 方法一:<auth>显示按钮<else></else>不显示按钮</auth><br> 方法二:<auth>显示按钮<else></else>不显示按钮</auth><br>   

附件 Auth.class.rar ( 896 B 下载:110 次 )

AD:真正免费,域名+虚机+企业邮箱=0元

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