thinkphp 使用标签库的步骤
<load href="__PUBLIC__/Js/prototype.js" />
<load href="__PUBLIC__/Js/mootools.js" />
<load href="__PUBLIC__/Js/Ajax/ThinkAjax.js" />
<load href="__PUBLIC__/Js/common.js" />
<load href="__PUBLIC__/Js/Util/ImageLoader.js" />
<script language="JavaScript">
<!--
//指定当前组模块URL地址?
var URL = '__URL__';
var APP??? ?=??? ?'__APP__';
var PUBLIC = '__PUBLIC__';
ThinkAjax.image = [??? ?'__PUBLIC__/images/loading2.gif', '__PUBLIC__/images/ok.gif','__PUBLIC__/images/update.gif' ]
ImageLoader.add("__PUBLIC__/images/bgline.gif","__PUBLIC__/images/bgcolor.gif","__PUBLIC__/images/titlebg.gif");
ImageLoader.startLoad();
//-->
</script>
载入标签库:
<tagLib name="html" />
<!-- 列表显示区域? -->
<div >
<html:list id="checkList"? style="list" checkbox="true" action="true" datasource="list" show="id:编号|8%,name:信息标题:edit,upload_time|toDate='y-m-d':发布日期,checkstatus|getStatus:审核是否通过" actionlist="foreverdel:删除:id,edit:编辑:id" />?
</div>
<!--? 分页显示区域 -->
<div class="page">{$page}</div>