hook|钩子

标签名称:hook

功能说明:系统常用参数钩子,如:交友参数、分类等;

适用范围:全局

调用语法:<!--{hook mod='' type='' item='' value='' name='' text='' maxnum='' trnum='' width='' css=''}-->

标签参数:

参数名 数据类型 是否必须 描述 可选类型
mod string Yes 钩子访问模块 var-交友参数;height-身高;weight-体重;age-年龄;
year-年;month-月;day-日...
type string No 标签输出类型 text-文本;multi-多项文本;
select-下拉选择框;checkbox-多选框
item string No 访问交友参数
mod='var'有效
交友参数名,请查看后台管理->系统设置->其他设置->交友参数,参数名;
value string No 当前值 ~
name string No select,checkbox等名称 ~
text string No 提示文字 ~
maxnum int No 最多可选数量
type='checkbox'
~
trnum int No 每行显示个数
type='checkbox' 有效
~
width string No Table宽度
type='checkbox' 有效
~
css string No Table样式名
type='checkbox' 有效
~